Asterisk - The Open Source Telephony Project
18.5.0
|
Go to the source code of this file.
Data Structures | |
struct | tzhead |
Macros | |
#define | DAYSPERLYEAR 366 |
#define | DAYSPERNYEAR 365 |
#define | DAYSPERWEEK 7 |
#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 |
#define | MONSPERYEAR 12 |
#define | SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) |
#define | SECSPERHOUR (SECSPERMIN * MINSPERHOUR) |
#define | SECSPERMIN 60 |
#define | TM_APRIL 3 |
#define | TM_AUGUST 7 |
#define | TM_DECEMBER 11 |
#define | TM_FEBRUARY 1 |
#define | TM_FRIDAY 5 |
#define | TM_JANUARY 0 |
#define | TM_JULY 6 |
#define | TM_JUNE 5 |
#define | TM_MARCH 2 |
#define | TM_MAY 4 |
#define | TM_MONDAY 1 |
#define | TM_NOVEMBER 10 |
#define | TM_OCTOBER 9 |
#define | TM_SATURDAY 6 |
#define | TM_SEPTEMBER 8 |
#define | TM_SUNDAY 0 |
#define | TM_THURSDAY 4 |
#define | TM_TUESDAY 2 |
#define | TM_WEDNESDAY 3 |
#define | TM_YEAR_BASE 1900 |
#define | TZ_MAGIC "TZif" |
#define | TZ_MAX_CHARS 50 /* Maximum number of abbreviation characters */ |
#define | TZ_MAX_LEAPS 50 /* Maximum number of leap second corrections */ |
#define | TZ_MAX_TIMES 1200 |
#define | TZ_MAX_TYPES 256 /* Limited by what (unsigned char)'s can hold */ |
#define | TZDEFAULT "localtime" |
#define | TZDEFRULES "posixrules" |
#define | TZDIR "/usr/share/zoneinfo" |
Variables | |
static char | tzfilehid [] = "@(#)tzfile.h 8.1" |
#define DAYSPERNYEAR 365 |
#define DAYSPERWEEK 7 |
#define EPOCH_WDAY TM_THURSDAY |
#define EPOCH_YEAR 1970 |
Definition at line 165 of file tzfile.h.
Referenced by time2sub(), timesub(), and tzparse().
#define HOURSPERDAY 24 |
Definition at line 134 of file tzfile.h.
Referenced by getsecs(), and time2sub().
#define isleap | ( | y | ) | (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0)) |
Definition at line 168 of file tzfile.h.
Referenced by time2sub(), timesub(), transtime(), and tzparse().
#define MINSPERHOUR 60 |
Definition at line 133 of file tzfile.h.
Referenced by getsecs(), and time2sub().
#define MONSPERYEAR 12 |
Definition at line 140 of file tzfile.h.
Referenced by getrule(), and time2sub().
#define SECSPERDAY ((long) SECSPERHOUR * HOURSPERDAY) |
Definition at line 139 of file tzfile.h.
Referenced by timesub(), transtime(), and tzparse().
#define SECSPERHOUR (SECSPERMIN * MINSPERHOUR) |
#define SECSPERMIN 60 |
Definition at line 132 of file tzfile.h.
Referenced by getsecs(), time2sub(), and timesub().
#define TM_YEAR_BASE 1900 |
Definition at line 163 of file tzfile.h.
Referenced by time2sub(), and timesub().
#define TZ_MAX_CHARS 50 /* Maximum number of abbreviation characters */ |
#define TZ_MAX_LEAPS 50 /* Maximum number of leap second corrections */ |
#define TZ_MAX_TIMES 1200 |
#define TZ_MAX_TYPES 256 /* Limited by what (unsigned char)'s can hold */ |
#define TZDEFAULT "localtime" |
Definition at line 41 of file tzfile.h.
Referenced by common_startup(), and tzload().
#define TZDEFRULES "posixrules" |
Definition at line 45 of file tzfile.h.
Referenced by add_notify(), and tzparse().
#define TZDIR "/usr/share/zoneinfo" |
Definition at line 36 of file tzfile.h.
Referenced by add_notify(), common_startup(), and tzload().