MySQL 9.1.0
Source Code Documentation
tzfile.h File Reference

Go to the source code of this file.

Classes

struct  tzhead
 

Macros

#define TZDIR   "/usr/share/zoneinfo" /* Time zone object file directory */
 
#define TZ_MAGIC   "TZif"
 
#define TZ_MAX_TIMES   370
 
#define TZ_MAX_TYPES   20 /* Maximum number of local time types */
 
#define TZ_MAX_CHARS   50 /* Maximum number of abbreviation characters */
 
#define TZ_MAX_LEAPS   50 /* Maximum number of leap second corrections */
 
#define TZ_MAX_REV_RANGES   (TZ_MAX_TIMES + TZ_MAX_LEAPS + 2)
 
#define TM_YEAR_BASE   1900
 
#define EPOCH_YEAR   1970
 
#define isleap(y)   (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0))
 

Macro Definition Documentation

◆ EPOCH_YEAR

#define EPOCH_YEAR   1970

◆ isleap

#define isleap (   y)    (((y) % 4) == 0 && (((y) % 100) != 0 || ((y) % 400) == 0))

◆ TM_YEAR_BASE

#define TM_YEAR_BASE   1900

◆ TZ_MAGIC

#define TZ_MAGIC   "TZif"

◆ TZ_MAX_CHARS

#define TZ_MAX_CHARS   50 /* Maximum number of abbreviation characters */

◆ TZ_MAX_LEAPS

#define TZ_MAX_LEAPS   50 /* Maximum number of leap second corrections */

◆ TZ_MAX_REV_RANGES

#define TZ_MAX_REV_RANGES   (TZ_MAX_TIMES + TZ_MAX_LEAPS + 2)

◆ TZ_MAX_TIMES

#define TZ_MAX_TIMES   370

◆ TZ_MAX_TYPES

#define TZ_MAX_TYPES   20 /* Maximum number of local time types */

◆ TZDIR

#define TZDIR   "/usr/share/zoneinfo" /* Time zone object file directory */