Data Structures | |
struct | transitiondate |
Defines | |
#define | IS_LEAP_YEAR(year) ( (year & 3) == 0 ) |
#define | DAY_MILLISEC (24L * 60L * 60L * 1000L) |
Functions | |
int | _isindst (tm *tb) |
Variables | |
int | _daylight = 1 |
Used to control daylight conversions. | |
long | _dstbias = -1 * 60L * 60L |
Difference between standard and daylight savings time in seconds. | |
long | _timezone = 5L * 60L * 60L |
Defines your local timezone. |
#define IS_LEAP_YEAR | ( | year | ) | ( (year & 3) == 0 ) |
#define DAY_MILLISEC (24L * 60L * 60L * 1000L) |
int _isindst | ( | tm * | tb | ) |
References _daylight, transitiondate::ms, _tm::tm_hour, _tm::tm_min, _tm::tm_sec, _tm::tm_yday, _tm::tm_year, transitiondate::yd, and transitiondate::yr.
Referenced by localtime_r().