23 #define TZDIR "/usr/local/etc/zoneinfo"
27 #define TZDEFAULT "localtime"
31 #define TZDEFRULES "posixrules"
38 #define TZ_MAGIC "TZif"
100 #define TZ_MAX_TIMES 2000
105 #define TZ_MAX_TYPES 256
109 #define TZ_MAX_CHARS 50
114 #define TZ_MAX_LEAPS 50
117 #define SECSPERMIN 60
118 #define MINSPERHOUR 60
119 #define HOURSPERDAY 24
120 #define DAYSPERWEEK 7
121 #define DAYSPERNYEAR 365
122 #define DAYSPERLYEAR 366
123 #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
124 #define SECSPERDAY ((int_fast32_t) SECSPERHOUR * HOURSPERDAY)
125 #define MONSPERYEAR 12
130 #define TM_WEDNESDAY 3
131 #define TM_THURSDAY 4
133 #define TM_SATURDAY 6
136 #define TM_FEBRUARY 1
143 #define TM_SEPTEMBER 8
145 #define TM_NOVEMBER 10
146 #define TM_DECEMBER 11
148 #define TM_YEAR_BASE 1900
150 #define EPOCH_YEAR 1970
151 #define EPOCH_WDAY TM_THURSDAY
153 #define isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0))
167 #define isleap_sum(a, b) isleap((a) % 400 + (b) % 400)
char tzh_timecnt[4]
Definition: db/tzfile.h:47
char tzh_magic[4]
Definition: db/tzfile.h:41
char tzh_leapcnt[4]
Definition: db/tzfile.h:46
Definition: db/tzfile.h:40
char tzh_typecnt[4]
Definition: db/tzfile.h:48
char tzh_version[1]
Definition: db/tzfile.h:42
char tzh_charcnt[4]
Definition: db/tzfile.h:49
char tzh_ttisstdcnt[4]
Definition: db/tzfile.h:45
char tzh_reserved[15]
Definition: db/tzfile.h:43
char tzh_ttisgmtcnt[4]
Definition: db/tzfile.h:44