CUBRID Engine  latest
timezone_lib_common.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  tz_country
 
struct  tz_offset_rule
 
struct  tz_timezone
 
struct  tz_ds_change_on
 
struct  tz_ds_rule
 
struct  tz_ds_ruleset
 
struct  tz_name
 
struct  tz_leap_sec
 
struct  tz_windows_iana_map
 
struct  tz_data
 

Macros

#define TZ_COUNTRY_CODE_LEN   2
 
#define TZ_COUNTRY_CODE_SIZE   3
 
#define TZ_COUNTRY_NAME_SIZE   50
 
#define TZ_DS_RULESET_NAME_SIZE   16
 
#define TZ_GENERIC_NAME_SIZE   40
 
#define TZ_MAX_FORMAT_SIZE   32
 
#define TZ_WINDOWS_ZONE_NAME_SIZE   70
 
#define TZ_CHECKSUM_SIZE   32
 

Typedefs

typedef struct tz_country TZ_COUNTRY
 
typedef enum tz_until_flag TZ_UNTIL_FLAG
 
typedef enum ds_type DS_TYPE
 
typedef struct tz_offset_rule TZ_OFFSET_RULE
 
typedef struct tz_timezone TZ_TIMEZONE
 
typedef struct tz_ds_change_on TZ_DS_CHANGE_ON
 
typedef struct tz_ds_rule TZ_DS_RULE
 
typedef struct tz_ds_ruleset TZ_DS_RULESET
 
typedef struct tz_name TZ_NAME
 
typedef struct tz_leap_sec TZ_LEAP_SEC
 
typedef struct tz_windows_iana_map TZ_WINDOWS_IANA_MAP
 
typedef struct tz_data TZ_DATA
 

Enumerations

enum  TZ_DS_TYPE { TZ_DS_TYPE_FIXED = 0, TZ_DS_TYPE_VAR_SMALLER, TZ_DS_TYPE_VAR_GREATER }
 
enum  TZ_TIME_TYPE { TZ_TIME_TYPE_LOCAL_STD = 0, TZ_TIME_TYPE_LOCAL_WALL, TZ_TIME_TYPE_UTC }
 
enum  TZ_GEN_TYPE { TZ_GEN_TYPE_NEW = 0, TZ_GEN_TYPE_UPDATE, TZ_GEN_TYPE_EXTEND }
 
enum  tz_until_flag { UNTIL_INFINITE = 0, UNTIL_EXPLICIT = 1 }
 
enum  ds_type { DS_TYPE_FIXED = 0, DS_TYPE_RULESET_ID = 1 }
 

Macro Definition Documentation

#define TZ_CHECKSUM_SIZE   32
#define TZ_COUNTRY_CODE_LEN   2

Definition at line 26 of file timezone_lib_common.h.

Referenced by tzc_load_countries().

#define TZ_COUNTRY_CODE_SIZE   3

Definition at line 27 of file timezone_lib_common.h.

Referenced by tzc_summary().

#define TZ_COUNTRY_NAME_SIZE   50

Definition at line 28 of file timezone_lib_common.h.

#define TZ_DS_RULESET_NAME_SIZE   16

Definition at line 29 of file timezone_lib_common.h.

Referenced by tzc_add_offset_rule().

#define TZ_GENERIC_NAME_SIZE   40

Definition at line 30 of file timezone_lib_common.h.

Referenced by sysprm_final().

#define TZ_MAX_FORMAT_SIZE   32
#define TZ_WINDOWS_ZONE_NAME_SIZE   70

Definition at line 32 of file timezone_lib_common.h.

Referenced by tzc_summary().

Typedef Documentation

typedef enum ds_type DS_TYPE

Definition at line 106 of file timezone_lib_common.h.

typedef struct tz_country TZ_COUNTRY

Definition at line 87 of file timezone_lib_common.h.

typedef struct tz_data TZ_DATA

Definition at line 197 of file timezone_lib_common.h.

Definition at line 138 of file timezone_lib_common.h.

typedef struct tz_ds_rule TZ_DS_RULE

Definition at line 147 of file timezone_lib_common.h.

typedef struct tz_ds_ruleset TZ_DS_RULESET

Definition at line 160 of file timezone_lib_common.h.

typedef struct tz_leap_sec TZ_LEAP_SEC

Definition at line 179 of file timezone_lib_common.h.

typedef struct tz_name TZ_NAME

Definition at line 171 of file timezone_lib_common.h.

Definition at line 108 of file timezone_lib_common.h.

typedef struct tz_timezone TZ_TIMEZONE

Definition at line 129 of file timezone_lib_common.h.

Definition at line 99 of file timezone_lib_common.h.

Definition at line 189 of file timezone_lib_common.h.

Enumeration Type Documentation

enum ds_type
Enumerator
DS_TYPE_FIXED 
DS_TYPE_RULESET_ID 

Definition at line 101 of file timezone_lib_common.h.

enum TZ_DS_TYPE
Enumerator
TZ_DS_TYPE_FIXED 
TZ_DS_TYPE_VAR_SMALLER 
TZ_DS_TYPE_VAR_GREATER 

Definition at line 42 of file timezone_lib_common.h.

Enumerator
TZ_GEN_TYPE_NEW 
TZ_GEN_TYPE_UPDATE 
TZ_GEN_TYPE_EXTEND 

Definition at line 79 of file timezone_lib_common.h.

Enumerator
TZ_TIME_TYPE_LOCAL_STD 
TZ_TIME_TYPE_LOCAL_WALL 
TZ_TIME_TYPE_UTC 

Definition at line 55 of file timezone_lib_common.h.

Enumerator
UNTIL_INFINITE 
UNTIL_EXPLICIT 

Definition at line 94 of file timezone_lib_common.h.