Lines Matching full:calendar

2  * ntp_calendar.h - definitions for the calendar time-of-day routine
11 /* gregorian calendar date */
12 struct calendar { struct
22 typedef struct calendar TCivilDate; argument
23 typedef struct calendar const TcCivilDate;
25 /* ISO week calendar date */
116 extern char * ntpcal_iso8601std(char*, size_t, struct calendar const*);
117 extern void caljulian (uint32_t, struct calendar *);
118 extern uint32_t caltontp (const struct calendar *);
133 ntpcal_get_build_date(struct calendar * /* jd */);
206 * Convert ELAPSED years/months/days of gregorian calendar to elapsed
219 * Convert ELAPSED years/months/days of gregorian calendar to elapsed
236 * Convert the date part of a 'struct calendar' (that is, year, month,
240 ntpcal_date_to_rd(const struct calendar * /* jt */);
243 * Given the number of elapsed days in the calendar era, split this
267 * calendar'. Return 0 if the year is regular year, !0 if the year is
271 ntpcal_rd_to_date(struct calendar * /* jt */, int32_t /* rd */);
283 * a 'struct calendar'. Return excessive days.
286 ntpcal_daysec_to_date(struct calendar * /* jt */, int32_t /* secs */);
289 * Take the time part of a 'struct calendar' and return the seconds
293 ntpcal_date_to_daysec(const struct calendar *);
319 * convert a RataDie to the RataDie of start of the calendar month.
326 ntpcal_daysplit_to_date(struct calendar * /* jt */,
334 ntpcal_time_to_date(struct calendar * /* jd */, const vint64 * /* ts */);
341 ntpcal_ntp64_to_date(struct calendar * /* jd */, const vint64 * /* ntp */);
344 ntpcal_ntp_to_date(struct calendar * /* jd */, uint32_t /* ntp */,
348 ntpcal_date_to_ntp64(const struct calendar * /* jd */);
351 ntpcal_date_to_ntp(const struct calendar * /* jd */);
354 ntpcal_date_to_time(const struct calendar * /* jd */);
357 * ISO week-calendar conversions
439 * Gregorian calendar. (So 0001-01-01 is day number 1; this is the Rata
466 * Days in a normal 4 year leap year calendar cycle (1461).
471 * Days in a normal 100 year leap year calendar (36524). We lose a
478 * The Gregorian calendar is based on a 400 year cycle. This is the
490 * Is a Greogorian calendar year a leap year? The obvious solution is to