Go to the source code of this file.
Data Structures | |
struct | tzhead |
Defines | |
#define | TZDEFAULT "localtime" |
#define | TZDEFRULES "posixrules" |
#define | TZ_MAGIC "TZif" |
#define | TZ_MAX_TIMES 1200 |
#define | TZ_MAX_TYPES 256 |
#define | TZ_MAX_CHARS 50 |
#define | TZ_MAX_LEAPS 50 |
#define | SECSPERMIN 60 |
#define | MINSPERHOUR 60 |
#define | HOURSPERDAY 24 |
#define | DAYSPERWEEK 7 |
#define | DAYSPERNYEAR 365 |
#define | DAYSPERLYEAR 366 |
#define | SECSPERHOUR (SECSPERMIN * MINSPERHOUR) |
#define | SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) |
#define | MONSPERYEAR 12 |
#define | TM_SUNDAY 0 |
#define | TM_MONDAY 1 |
#define | TM_TUESDAY 2 |
#define | TM_WEDNESDAY 3 |
#define | TM_THURSDAY 4 |
#define | TM_FRIDAY 5 |
#define | TM_SATURDAY 6 |
#define | TM_JANUARY 0 |
#define | TM_FEBRUARY 1 |
#define | TM_MARCH 2 |
#define | TM_APRIL 3 |
#define | TM_MAY 4 |
#define | TM_JUNE 5 |
#define | TM_JULY 6 |
#define | TM_AUGUST 7 |
#define | TM_SEPTEMBER 8 |
#define | TM_OCTOBER 9 |
#define | TM_NOVEMBER 10 |
#define | TM_DECEMBER 11 |
#define | TM_YEAR_BASE 1900 |
#define | EPOCH_YEAR 1970 |
#define | EPOCH_WDAY TM_THURSDAY |
#define | isleap(y) (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) |
#define | isleap_sum(a, b) isleap((a) % 400 + (b) % 400) |
#define DAYSPERLYEAR 366 |
#define DAYSPERNYEAR 365 |
#define DAYSPERWEEK 7 |
Definition at line 99 of file tzfile.h.
Referenced by _fmt(), getrule(), getsecs(), stringrule(), timesub(), and transtime().
#define EPOCH_WDAY TM_THURSDAY |
#define EPOCH_YEAR 1970 |
#define HOURSPERDAY 24 |
#define isleap | ( | y | ) | (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) |
#define isleap_sum | ( | a, | ||
b | ||||
) | isleap((a) % 400 + (b) % 400) |
#define MINSPERHOUR 60 |
Definition at line 97 of file tzfile.h.
Referenced by gethms(), getsecs(), stringrule(), and stringzone().
#define MONSPERYEAR 12 |
#define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) |
Definition at line 103 of file tzfile.h.
Referenced by inleap(), rpytime(), and transtime().
#define SECSPERHOUR (SECSPERMIN * MINSPERHOUR) |
#define SECSPERMIN 60 |
Definition at line 96 of file tzfile.h.
Referenced by gethms(), stringrule(), stringzone(), and timesub().
#define TM_FEBRUARY 1 |
Definition at line 115 of file tzfile.h.
Referenced by rpytime(), and stringrule().
#define TM_YEAR_BASE 1900 |
#define TZ_MAGIC "TZif" |
Definition at line 31 of file tzfile.h.
Referenced by writezone().
#define TZ_MAX_CHARS 50 |
#define TZ_MAX_LEAPS 50 |
#define TZ_MAX_TIMES 1200 |
#define TZ_MAX_TYPES 256 |
#define TZDEFAULT "localtime" |