Searched refs:week (Results 1 - 7 of 7) sorted by relevance
/freebsd-10.0-release/lib/libcalendar/ |
H A D | Makefile | 13 calendar.3 week.3 calendar.3 weekday.3
|
H A D | calendar.h | 41 int week(int _nd, int *_year);
|
H A D | calendar.c | 228 * Compute the week number from the number of days since March 1st year 0. 230 * week of a year includes at least four days of that year it is week 1, 231 * otherwise it gets the number of the last week of the previous year. 233 * part of the week. 236 week(int nd, int *y) function 239 int fw; /* 1st day of week 1 of previous, this and 247 /* return the first day of week 1 of year y */ 260 * If more than 3 days of this week are in the preceding year, the 261 * next week i [all...] |
/freebsd-10.0-release/contrib/ntp/libparse/ |
H A D | clk_trimtsip.c | 104 u_short t_week; /* GPS week */ 105 u_short t_weekleap; /* GPS week of next/last week */ 106 u_short t_dayleap; /* day in week */ 253 int week = getshort((unsigned char *)&mb(4)); local 267 if (week < 990) { 268 week += 1024; 280 gpstolfp((unsigned short)week, (unsigned short)0, 353 t->t_weekleap = getshort((unsigned char *)&mb(20)); /* week no of leap correction */ 357 t->t_dayleap = getshort((unsigned char *)&mb(22)); /* day in week o [all...] |
/freebsd-10.0-release/contrib/dialog/ |
H A D | calendar.c | 37 /* two more lines: titles for day-of-week and month/year boxes */ 223 int week; local 248 week = (current->tm_yday + 6 + mday - current->tm_mday) / 7; 256 ++week);
|
/freebsd-10.0-release/contrib/tzcode/zic/ |
H A D | zic.c | 1853 register int week; local 1856 week = 1 + rp->r_dayofmonth / DAYSPERWEEK; 1857 if ((week - 1) * DAYSPERWEEK + 1 != rp->r_dayofmonth) 1861 week = 5; 1863 week = 1 + rp->r_dayofmonth / DAYSPERWEEK; 1864 if (week * DAYSPERWEEK - 1 != rp->r_dayofmonth) 1869 rp->r_month + 1, week, rp->r_wday);
|
/freebsd-10.0-release/usr.bin/ncal/ |
H A D | ncal.c | 116 /* Table used to print day of month and week numbers */ 122 /* Table used to print day of year and week numbers */ 162 static int flag_weeks; /* user wants number of week */ 651 /* Day of the week names. */ 771 int firstm; /* first day of first week of month */ 800 * Set firstm to the day number of monday of the first week of 848 ds + week(j, &i)*dw, dw); 862 int firsts; /* sunday of first week of month */ 913 * Set firsts to the day number of sunday of the first week of 920 * line index: i, each line is one week [all...] |
Completed in 195 milliseconds