Searched refs:month (Results 1 - 25 of 121) sorted by relevance

12345

/freebsd-10-stable/crypto/heimdal/doc/
H A Dmdate-sh35 # The month is at least the fourth argument
41 # Find the month. Next argument is day, followed by the year or time.
42 month=
43 until test $month
47 Jan) month=January; nummonth=1;;
48 Feb) month=February; nummonth=2;;
49 Mar) month=March; nummonth=3;;
50 Apr) month=April; nummonth=4;;
51 May) month=May; nummonth=5;;
52 Jun) month
[all...]
/freebsd-10-stable/lib/libc/stdtime/
H A Dtimelocal.h44 const char *month[12]; member in struct:lc_time_T
/freebsd-10-stable/contrib/tzdata/
H A Dleapseconds.awk76 month = $5
84 m = monthnum[month] - 1
89 month = monthabbr[m]
92 printf "Leap\t%s\t%s\t%s\t%s\tS\n", year, month, day, sign
/freebsd-10-stable/usr.bin/calendar/
H A Devents.c41 event_add(int year, int month, int day, char *date, int var, char *txt, argument
49 * - Copy the machine readable day and month
56 e->month = month;
68 addtodate(e, year, month, day);
108 month, day);
H A Ddates.c49 int month; /* 01 .. 12 */ member in struct:cal_month
62 struct cal_month *month; /* points back */ member in struct:cal_day
70 /* 1-based month, 0-based days, cumulative */
75 /* 1-based month, individual */
127 if (pm->month == m)
136 pm->month = m;
156 pd->month = pm;
184 /* Same year, same month. Easy! */
190 * Same year, different month.
206 * Different year, different month
444 addtodate(struct event *e, int year, int month, int day) argument
[all...]
H A Dparsedata.c43 static int checkmonth(char *s, size_t *len, size_t *offset, const char **month);
50 static int wdayom (int day, int offset, int month, int year);
89 char *month, int *imonth, char *dayofmonth, int *idayofmonth,
99 *month = '\0';
177 /* Assume month number only */
180 strcpy(month, getmonthname(*imonth));
207 /* Check if there is a month-string in the date */
210 /* p2 is the non-month part */
214 strcpy(month, getmonthname(offset));
240 /* Check if there is an every-day or every-month i
88 determinestyle(char *date, int *flags, char *month, int *imonth, char *dayofmonth, int *idayofmonth, char *dayofweek, int *idayofweek, char *modifieroffset, char *modifierindex, char *specialday, char *year, int *iyear) argument
339 debug_determinestyle(int dateonly, char *date, int flags, char *month, int imonth, char *dayofmonth, int idayofmonth, char *dayofweek, int idayofweek, char *modifieroffset, char *modifierindex, char *specialday, char *year, int iyear) argument
384 wdayom(int day, int offset, int month, int year) argument
435 char month[100], dayofmonth[100], dayofweek[100], modifieroffset[100]; local
875 checkmonth(char *s, size_t *len, size_t *offset, const char **month) argument
[all...]
H A Dcalendar.h125 int month; member in struct:event
149 extern struct fixs nmonths[13]; /* short national month names */
187 void addtodate(struct event *e, int year, int month, int day);
/freebsd-10-stable/contrib/ntp/ntpd/
H A Drefclock_heath.c79 * dd/mm/yr = day, month, year
278 int month, day; local
304 &pp->minute, &pp->second, &dsec, a, &month, &day,
331 month = tm_time_p->tm_mon + 1;
358 if (month < 1 || month > 12 || day < 1) {
363 if (day > day1tab[month - 1]) {
367 for (i = 0; i < month - 1; i++)
370 if (day > day2tab[month - 1]) {
374 for (i = 0; i < month
[all...]
H A Drefclock_hpgps.c262 int month, day, lastday; local
416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second,
463 if (month < 1 || month > 12 || day < 1) {
470 if (day > day1tab[month - 1]) {
474 for (i = 0; i < month - 1; i++) day += day1tab[i];
478 if (day > day2tab[month - 1]) {
482 for (i = 0; i < month - 1; i++) day += day2tab[i];
543 * Better would be to use :GPSTime? to find the month,
547 if ((month
[all...]
H A Drefclock_hopfser.c220 int day, month; /* ddd conversion */ local
253 &month,
265 (month < 1) || (month > 12) ||
274 pp->day = ymd2yd(pp->year,month,day);
291 month,
H A Dcheck_y2k.c413 ct.month = 1;
520 || ot.month != 1
527 (int)ot.year, (int)ot.month, (int)ot.monthday );
534 || ot.month != 2
541 (int)ot.year, (int)ot.month, (int)ot.monthday );
546 int m; /* expected month */
555 || ot.month != m
562 (int)ot.year, (int)ot.month, (int)ot.monthday );
586 ot.month = ot.monthday = 1; /* unused, but set anyway JIC */
607 || ot.month !
[all...]
H A Drefclock_chronolog.c63 int day; /* day-of-month */
64 int month; /* month-of-year */ member in struct:chronolog_unit
219 if (sscanf(pp->a_lastcode, "Y %d/%d/%d", &up->year,&up->month,&up->day))
246 local.tm_mon = up->month-1;
276 pp->day = ymd2yd(year+1900,month,day);
H A Drefclock_jjy.c183 int year, month, day, hour, minute, second, msecond ; member in struct:jjyunit
420 #define JJY_CLOCKSTATS_MESSAGE_SSCANF_INVALID_DATE "# Invalid date : rc=%d year=%d month=%d day=%d"
422 #define JJY_CLOCKSTATS_MESSAGE_SSCANF_INVALID_DATETIME "# Invalid time : rc=%d year=%d month=%d day=%d hour=%d minute=%d second=%d"
1017 pp->day = ymd2yd( up->year, up->month, up->day ) ;
1055 up->year, up->month, up->day,
1221 &up->year, &up->month, &up->day ) ;
1224 || up->month < 1 || 12 < up->month
1228 rc, up->year, up->month, up->day ) ;
1515 &up->year, &up->month,
[all...]
/freebsd-10-stable/usr.bin/chpass/
H A Dutil.c88 int day, month, year; local
102 month = atoi(t);
108 month = mp - months + 1;
119 if (day < 1 || day > 31 || month < 1 || month > 12)
129 lt->tm_mon = month - 1;
/freebsd-10-stable/contrib/ntp/scripts/monitoring/
H A Dtimelocal.pl9 ;# of any months we've seen before. If we know the start time of the month,
10 ;# we can always calculate any time within the month. The start times
16 ;# the month cache, of course, it doesn't call it at all.
62 $month = $_[4];
70 while ($diff = $month - $g[4]) {
/freebsd-10-stable/contrib/wpa/src/utils/
H A Dos_win32.c50 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
57 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
64 tm.tm_mon = month - 1;
102 tm->month = tm2->tm_mon + 1;
H A Dos_internal.c44 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
49 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
56 tm.tm_mon = month - 1;
79 tm->month = tm2->tm_mon + 1;
H A Dos_unix.c63 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument
70 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 ||
77 tm.tm_mon = month - 1;
115 tm->month = tm2->tm_mon + 1;
/freebsd-10-stable/contrib/ntp/libntp/
H A Dcaltontp.c16 * (that is, not zero) it will be used instead of month and day-of-month;
45 REQUIRE(jt->month <= 13); /* permit month 0..13! */
55 * useable value and avoid all calculations involving month
56 * and day-of-month. Do a full evaluation otherwise.
/freebsd-10-stable/contrib/dialog/
H A Dcalendar.c31 #define MON_WIDE 4 /* width of a month-name */
34 #define HDR_HIGH 1 /* height of cells with month/year */
37 /* two more lines: titles for day-of-week and month/year boxes */
150 int month = current->tm_mon + offset; local
153 while (month < 0) {
154 month += 12;
157 while (month >= 12) {
158 month -= 12;
161 result = nominal[month];
162 if (month
295 int month; local
387 dialog_calendar(const char *title, const char *subtitle, int height, int width, int day, int month, int year) argument
[all...]
/freebsd-10-stable/contrib/ntp/parseutil/
H A Dtestdcf.c58 long month; member in struct:clocktime
249 clock_time->month = ext_bf(buffer, DCF_MO0);
250 clock_time->month = TIMES10(clock_time->month) + ext_bf(buffer, DCF_MO);
421 clock_time.month = 0;
462 clock_time.month = 0;
492 (int)clock_time.hour, (int)clock_time.minute, (int)i, (int)clock_time.day, (int)clock_time.month,
/freebsd-10-stable/tools/tools/prstats/
H A Dprstats.pl56 [ 7, 30, 0 ], # One week to one month
73 my $month;
82 ($month, $day, $hour, $minute, $second, $year) =
87 defined($month = $MONTH{$month})
88 or die("Invalid month: $month\n");
89 return mktime($second, $minute, $hour, $day, $month - 1, $year - 1900);
344 graph_open_prs(&DATFILE, "month.png", $NOW - (86400 * 30) + 1, $NOW,
345 "Open FreeBSD problem reports (month vie
[all...]
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Dtime.c141 char wday[4], month[4];
183 month,
198 exploded_time.tm_mon = find_matching_string(month, 12, apr_month_snames);
139 char wday[4], month[4]; local
/freebsd-10-stable/contrib/ntp/libparse/
H A Dclk_sel240x.c145 clock_time->month = ptime.tm_mon + 1;
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/time/
H A Dt_strptime.c332 ATF_TC(month); variable
334 ATF_TC_HEAD(month, tc)
338 "Checks strptime(3) month name conversions [bB]");
341 ATF_TC_BODY(month, tc)
479 ATF_TP_ADD_TC(tp, month);

Completed in 531 milliseconds

12345