Home
last modified time | relevance | path

Searched +full:start +full:- +full:year (Results 1 – 25 of 179) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_subr.c2 * CDDL HEADER START
55 * - years since 1980
56 * - months/days/hours/minutes/seconds, local TZ
63 * two DOS/Windows-based systems that use different
67 * all conversion tables - AND keeping them current ...
74 * Macros/Definitons required to convert between DOS-style and
75 * UNIX-style time recording.
76 * DOS year zero is 1980.
90 #define YEN "\xc2\xa5" /* Yen Sign UTF-8 character */
91 #define LRO "\xe2\x80\xad" /* Left-To-Right Override UTF-8 character */
[all …]
/illumos-gate/usr/src/man/man1/
H A Dcal.116 .\" Standard for Information Technology -- Portable Operating System
18 .\" Copyright (C) 2001-2004 by the Institute of Electrical and Electronics
49 cal \- display a calendar
53 \fBcal\fR [ [\fImonth\fR] \fIyear\fR]
59 \fIyear\fR operand is specified, a calendar for that year is written. If no
77 \fB\fIyear\fR\fR
80 Specify the year for which the calendar is displayed, represented as a decimal
81 integer from \fB1\fR to \fB9999\fR. The default is the current year.
142 were skipped to make up for lack of leap year adjustments. To see this
154 The command \fBcal 83\fR refers to the year 83, not 1983.
[all …]
H A Dtroff.18 troff \- typeset or format documents
12 \fBtroff\fR [\fB-a\fR] [\fB-f\fR] [\fB-F\fR\fIdir\fR] [\fB-i\fR] [\fB-m\fR\fIname\fR] [\fB-n\fR\fIN…
13 [\fB-s\fR\fIN\fR] [\fB-T\fR\fIdest\fR] [\fB-u\fR\fIN\fR] [\fB-z\fR] [\fIfilename\fR]...
37 \fB\fB-a\fR\fR
48 \fB\fB-f\fR\fR
58 \fB\fB-F\fR\fIdir\fR\fR
68 \fB\fB-i\fR\fR
77 \fB\fB-m\fR\fIname\fR\fR
91 \fB\fB-n\fR\fIN\fR\fR
100 \fB\fB-o\fR\fIlist\fR\fR
[all …]
/illumos-gate/usr/src/data/zoneinfo/
H A Dantarctica4 # 2009-05-17 by Arthur David Olson.
6 # From Paul Eggert (1999-11-15):
7 # To keep things manageable, we list only locations occupied year-round; see
8 # COMNAP - Stations and Bases
11 # Summary of the Peri-Antarctic Islands (1998-07-23)
16 # FORMAT is '-00' and STDOFF is 0 for locations while uninhabited.
18 # Argentina - year-round bases
19 # Belgrano II, Confin Coast, -770227-0343737, since 1972-02-05
20 # Carlini, Potter Cove, King George Island, -6414-0602320, since 1982-01
21 # Esperanza, Hope Bay, -6323-05659, since 1952-12-17
[all …]
H A Dasia4 # 2009-05-17 by Arthur David Olson.
11 # From Paul Eggert (2019-07-11):
30 # Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94.
64 # Technical Support (including a page from the Official Airline Guide -
70 # Rule NAME FROM TO - IN ON AT SAVE LETTER/S
71 Rule EUAsia 1981 max - Mar lastSun 1:00u 1:00 S
72 Rule EUAsia 1979 1995 - Sep lastSun 1:00u 0 -
73 Rule EUAsia 1996 max - Oct lastSun 1:00u 0 -
74 Rule E-EurAsia 1981 max - Mar lastSun 0:00 1:00 -
75 Rule E-EurAsia 1979 1995 - Sep lastSun 0:00 0 -
[all …]
/illumos-gate/usr/src/cmd/acct/lib/
H A Dpnpsplit.c2 * CDDL HEADER START
43 * validate that hours and minutes of prime/non-prime read in
45 * Time is expected in the form and range of 0000-2400.
49 static int holidays[NHOLIDAYS]; /* holidays file day-of-year table */
78 * split interval of length etime, starting at start into prime/nonprime
83 pnpsplit(long start, ulong_t etime, long result[2]) in pnpsplit() argument
95 tcur = start; in pnpsplit()
96 tend = start + etime; in pnpsplit()
106 result[NONPRIME] += tend-tcur; in pnpsplit()
116 for (; hp->h_sec >= 0; hp++) { in pnpsplit()
[all …]
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Ddate.c2 * CDDL HEADER START
61 exit(-1); in ADM_Process_date()
65 if (strcasecmp(argv[2], "-s") != 0) { in ADM_Process_date()
68 exit(-1); in ADM_Process_date()
78 if (strcasecmp(argv[2], "-s") == 0) { in ADM_Process_date()
116 exit(-1); in ADM_Get_Date()
123 tp = gmtime((time_t *)&dateInfo->current_datetime); in ADM_Get_Date()
142 exit(-1); in ADM_Set_Date()
149 exit(-1); in ADM_Set_Date()
152 /* Correct month to be 0 - 11. Why does firmware want this? */ in ADM_Set_Date()
[all …]
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dgetdate.y10 * For further information, read the top-level Openvision
11 * copyright which is contained in the top-level MIT Kerberos
58 /* The following block of alloca-related preprocessor directives is here
59 solely to allow compilation by non GNU-C compilers of the C parser
197 ** Daylight-savings mode: on, off, or not yet known.
204 ** Meridian: am, pm, or 24-hour style.
300 yyTimezone = - ($4 % 100 + ($4 / 100) * 60);
314 yyTimezone = - ($6 % 100 + ($6 / 100) * 60);
357 /* ISO 8601 format. yyyy-mm-dd. */
359 yyMonth = -$2;
[all …]
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_subr.c2 * CDDL HEADER START
61 static time_t hs_date_to_gmtime(int year, int mon, int day, int gmtoff);
67 * Table used in logging non-fatal errors which should be recorded
75 uchar_t n_printf_args; /* if err_text printf-like, # addtl args */
79 "does not conform to the ISO-9660 specification:",
84 "does not conform to the ISO-9660 specification:",
89 "does not conform to the ISO-9660 specification:",
99 "does not conform to the ISO-9660 specification:",
146 {-1, NULL }
152 * Parse the short 'directory-format' date into a Unix timeval.
[all …]
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dmdate-sh2 # Get modification time of a file or directory and pretty-print it.
4 scriptversion=2004-12-08.12
21 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
29 # bugs to <bug-automake@gnu.org> or send patches to
30 # <automake-patches@gnu.org>.
34 echo "$0: No file. Try \`$0 --help' for more information." 1>&2
37 -h | --h*)
39 Usage: mdate-sh [--help] [--version] FILE
41 Pretty-print the modification time of FILE.
43 Report bugs to <bug-automake@gnu.org>.
[all …]
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_misc.c2 * CDDL HEADER START
68 if ((unix_time->tv_sec == 0) && (unix_time->tv_nsec == 0)) in smb_time_unix_to_nt()
71 nt_time = unix_time->tv_sec; in smb_time_unix_to_nt()
73 nt_time += unix_time->tv_nsec / 100; in smb_time_unix_to_nt()
84 if ((nt_time == 0) || (nt_time == -1)) { in smb_time_nt_to_unix()
85 unix_time->tv_sec = 0; in smb_time_nt_to_unix()
86 unix_time->tv_nsec = 0; in smb_time_nt_to_unix()
94 * both directions as 0:0 (unix-to-nt, nt-to-unix). in smb_time_nt_to_unix()
97 unix_time->tv_sec = 0; in smb_time_nt_to_unix()
98 unix_time->tv_nsec = 100; in smb_time_nt_to_unix()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_glue.c2 * Copyright (c) 2004 Poul-Henning Kamp
26 * $FreeBSD: head/sys/kern/subr_unit.c 255057 2013-08-30 07:37:45Z kib $
38 /* This file is dual-licensed; see usr/src/contrib/bhyve/LICENSE */
85 (*si)->func((*si)->data); in sysinit()
94 cpuset_all_but(&cpuset, CPU->cpu_id); in invalidate_cache_all()
112 ASSERT(curthread->t_preempt == 0); in vtophys()
156 kmem_free(i->vpi_vaddr, PAGE_SIZE); in vmm_ptp_hash_valdtor()
174 cmn_err(CE_PANIC, "!vmm_ptp_check: hash not empty: %p", i->vpi_vaddr); in vmm_ptp_check()
187 * The logic in VT-d uses both kernel-virtual and direct-mapped addresses when
189 * pages it allocates, we keep the kernel-virtual addresses to those pages in a
[all …]
/illumos-gate/usr/src/cmd/backup/lib/
H A Dgetdate.y63 ** Daylight-savings mode: on, off, or not yet known.
70 ** Meridian: am, pm, or 24-hour style.
161 yyTimezone = - ($4 % 100 + ($4 / 100) * 60);
175 yyTimezone = - ($6 % 100 + ($6 / 100) * 60);
233 yyRelSeconds = -yyRelSeconds;
234 yyRelMonth = -yyRelMonth;
328 { "year", tMONTH_UNIT, 12 },
341 /* Assorted relative-time words. */
344 { "yesterday", tMINUTE_UNIT, -1 * 24 * 60 },
347 { "last", tUNUMBER, -1 },
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodds1337.c2 * CDDL HEADER START
83 static int instance = -1;
124 0, /* refcnt - reference cnt always set to 0 */
125 todds1337_getinfo, /* getinfo - Maybe requred */
131 &ds1337_cbops, /* cb_ops - ds1337 does not need this(?) */
244 if (instance != -1) { in todds1337_attach()
257 instance = -1; in todds1337_attach()
265 instance = -1; in todds1337_attach()
269 statep->dip = dip; in todds1337_attach()
271 if (i2c_client_register(dip, &statep->ds1337_i2c_hdl) != I2C_SUCCESS) { in todds1337_attach()
[all …]
H A Dtodm5819.c2 * CDDL HEADER START
125 * The loadable-module _info(9E) entry point
136 * Assumes that the year in the clock chip is valid.
165 DPRINTF("todm5819_get: century=%d year=%d dom=%d hrs=%d\n", in todm5819_get()
183 * year retrieved from the rtc's century and year fields. in rtc_to_tod()
185 tod.tod_year = rtc->rtc_year + (rtc->rtc_century * 100) - 1900; in rtc_to_tod()
186 tod.tod_month = rtc->rtc_mon; in rtc_to_tod()
187 tod.tod_day = rtc->rtc_dom; in rtc_to_tod()
188 tod.tod_dow = rtc->rtc_dow; in rtc_to_tod()
189 tod.tod_hour = rtc->rtc_hrs; in rtc_to_tod()
[all …]
H A Dtodm5819p_rmc.c2 * CDDL HEADER START
122 * The loadable-module _info(9E) entry point
133 * Assumes that the year in the clock chip is valid.
152 * coded routine fails we will look for a -1 for a failure. in todm5819p_rmc_get()
154 if (ret == -1) in todm5819p_rmc_get()
197 * tod_year is base 1900 so this code needs to adjust the true year in rtc_to_tod()
198 * retrieved from the rtc's century and year fields. in rtc_to_tod()
200 tod.tod_year = rtc->rtc_year + (rtc->rtc_century * 100) - 1900; in rtc_to_tod()
201 tod.tod_month = rtc->rtc_mon; in rtc_to_tod()
202 tod.tod_day = rtc->rtc_dom; in rtc_to_tod()
[all …]
H A Dtodbq4802.c2 * CDDL HEADER START
148 * The loadable-module _info(9E) entry point
158 * Assumes that the year in the clock chip is valid.
171 DPRINTF("todbq4802_get: century=%d year=%d dom=%d hrs=%d min=%d" in todbq4802_get()
177 * year retrieved from the rtc's century and year fields. in todbq4802_get()
179 tod.tod_year = rtc.rtc_year + (rtc.rtc_century * 100) - 1900; in todbq4802_get()
193 * Once every second, the user-accessible clock/calendar
195 * real-time counters. To prevent reading data in transition,
199 * UTI bit is 1, updates to user-accessible clock locations are
207 * second the user-accessible registers with the correct time.
[all …]
/illumos-gate/usr/src/cmd/cal/
H A Dcal.c2 * CDDL HEADER START
49 #define YEAR "\n\n\n\t\t\t\t%u\n\n" macro
96 argc -= optind; in main()
115 m = thetime->tm_mon + 1; in main()
116 y = thetime->tm_year + 1900; in main()
139 * specified month and year. in main()
141 (void) printf(dcgettext(NULL, TITLE, LC_TIME), months[m-1], y); in main()
149 * print out complete year in main()
159 * specified year. in main()
161 (void) printf(dcgettext(NULL, YEAR, LC_TIME), y); in main()
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Dfuncs.c2 * CDDL HEADER START
47 #define YEAR 1900 macro
55 n = n*10 + (**ptr - '0'); in num()
69 * NOTE: there should not be more than a year separation in the in days_btwn()
80 * In case of d2==29 ,d1==28 and m1==m2==Feb and year is not in days_btwn()
81 * a leap year, this function should return the days till the in days_btwn()
86 for (p = 1; ! isleap(y2+YEAR+p); p++) in days_btwn()
88 return (p*365 + d2-d1-1); in days_btwn()
90 return (d2-d1-1); in days_btwn()
93 days = (days_in_mon(m1, y1)-d1) + (d2-1); in days_btwn()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dctime.c2 * CDDL HEADER START
36 * seconds (0-59)
37 * minutes (0-59)
38 * hours (0-23)
39 * day of month (1-31)
40 * month (0-11)
41 * year-1970
42 * weekday (0-6, Sun is 0)
43 * day of the year
54 * undergone by daylight time in 1974-1975.
[all …]
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c2 * CDDL HEADER START
23 * Copyright (c) 1987-2000 by Sun Microsystems, Inc.
58 invalid_inter = gettext("invalid date/time format -"); in do_invalid()
63 * .func local_to_gm - local time to gm time.
72 * correction is applied - it is assumed that if we can produce
78 * a year when time occurs twice (in the fall) and one local hour a
79 * year when time never occurs (in the spring).
84 * .arg tme - ptr to struct tm (see time.h) containing local time.
85 * .ret time_t - seconds since epoch of equivalent GMT.
108 secs = lsecs - gsecs; in local_to_gm()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dcvrt_spd_data.c2 * CDDL HEADER START
79 * bytes 0 - 63 are presented as is
80 * bytes 64 - 71 (JEDEC code) are compressed into 2 bytes, matching the
82 * bytes 72 - 92 are copied as is (to bytes 66 - 86)
83 * byte 93 year of manufacture is expanded to a 2 byte (big endian)
84 * field which includes the century (to bytes 87 - 88)
85 * bytes 94 - 127 are copied as is (to bytes 89 - 122)
93 * 0 - success
94 * NZ - error code
101 ushort_t year; in cvrt_dim_data() local
[all …]
/illumos-gate/usr/src/man/man8/
H A Dzic.89 zic \- time zone compiler
12 \fBzic\fR [\fB--\fR\fIversion\fR] [\fB--\fR\fIhelp\fR] [\fB-v\fR] [\fB-b\fR {\fIslim\fR|\fIfat\fR} …
13 [\fB-l\fR \fIlocaltime\fR] [\fB-L\fR \fIleapseconds\fR] [\fB-p\fR \fIposixrules\fR]
14 …[\fB-r\fR [\fB@\fP\fIlo\fP][\fB/@\fP\fIhi\fP]] [\fB-R\fR \fB@\fP\fIhi\fP] [\fB-t\fR \fIlocaltime-l…
52 .q "\-" ,
56 .B "\-\-version"
59 .B \-\-help
62 .BI "\-b " bloat
63 Output backward-compatibility data as specified by
71 the 64-bit generated data.
[all …]
/illumos-gate/usr/src/man/man5/
H A Dholidays.58 holidays \- prime/nonprime table for the accounting system
19 Holidays and weekends are considered non-prime time hours.
29 non-comment line defines the current year and the start time of prime and
30 non-prime time hours, in the form of:
44 The remaining non-comment lines define the holidays in the form of:
58 The \fB/etc/acct/holidays\fR file must be updated every year.
71 * Curr Prime Non-Prime
72 * Year Start Start
/illumos-gate/usr/src/uts/i86pc/io/
H A Dtodpc_subr.c2 * CDDL HEADER START
73 * Machine-dependent clock routines.
107 if (fadt->DayAlarm) { in pc_tod_set_rtc_offsets()
108 pc_rtc_offset.day_alrm = fadt->DayAlarm; in pc_tod_set_rtc_offsets()
112 if (fadt->MonthAlarm) { in pc_tod_set_rtc_offsets()
113 pc_rtc_offset.mon_alrm = fadt->MonthAlarm; in pc_tod_set_rtc_offsets()
117 if (fadt->Century) { in pc_tod_set_rtc_offsets()
118 pc_rtc_offset.century = fadt->Century; in pc_tod_set_rtc_offsets()
134 todinfo_t tod = utc_to_tod(ts.tv_sec - ggmtl()); in todpc_set()
143 * rtc bytes are in binary-coded decimal, so we have to convert. in todpc_set()
[all …]

12345678