mbgtools-lx
4.2.8
|
Data Structures | |
struct | TZDL |
Time zone / daylight saving parameters. More... | |
Macros | |
#define | _mbg_swab_tzdl(_p) |
#define | DL_AUTO_FLAG 0x8000 |
A flag indicating automatic computation of DST. More... | |
#define | DEFAULT_TZDL_AUTO_YEAR ( (int16_t) ( 2007L | DL_AUTO_FLAG ) ) |
#define | DEFAULt_TZDL_OFFS_DL 3600L |
usually DST is +1 hour More... | |
#define | DEFAULT_TZDL_TM_ON_OFF_NO_DST { DEFAULT_TZDL_AUTO_YEAR, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 } |
#define | TZ_INFO_UTC "UTC (Universal Time, Coordinated)" |
#define | DEFAULT_TZDL_NAMES_UTC { "UTC ", "UTC " } |
#define | DEFAULT_TZDL_UTC |
#define | DEFAULT_TZDL_TM_ON_CET_CEST { DEFAULT_TZDL_AUTO_YEAR, 3, 25, 0, 0, 2, 0, 0, 0L, 0L, 0 } |
An initializer for TZDL::tm_on according to the rules for Central Europe. More... | |
#define | DEFAULT_TZDL_TM_OFF_CET_CEST { DEFAULT_TZDL_AUTO_YEAR, 10, 25, 0, 0, 3, 0, 0, 0L, 0L, 0 } |
An initializer for TZDL::tm_off according to the rules for Central Europe. More... | |
#define | TZ_INFO_CET_CEST_EN "CET/CEST (Central Europe)" |
#define | TZ_INFO_CET_CEST_DE "MEZ/MESZ (Mitteleuropa)" |
#define | DEFAULT_TZDL_NAMES_CET_CEST_EN { "CET ", "CEST " } |
#define | DEFAULT_TZDL_NAMES_CET_CEST_DE { "MEZ ", "MESZ " } |
#define | DEFAULT_TZDL_OFFS_CET 3600L |
#define | DEFAULT_TZDL_CET_CEST_EN |
#define | DEFAULT_TZDL_CET_CEST_DE |
#define | DEFAULT_TZDL_TM_ON_EET_EEST { DEFAULT_TZDL_AUTO_YEAR, 3, 25, 0, 0, 3, 0, 0, 0L, 0L, 0 } |
#define | DEFAULT_TZDL_TM_OFF_EET_EEST { DEFAULT_TZDL_AUTO_YEAR, 10, 25, 0, 0, 4, 0, 0, 0L, 0L, 0 } |
#define | TZ_INFO_EET_EEST_EN "EET/EEST (East Europe)" |
#define | TZ_INFO_EET_EEST_DE "OEZ/OEST (Osteuropa)" |
#define | DEFAULT_TZDL_NAMES_EET_EEST_EN { "EET ", "EEST " } |
#define | DEFAULT_TZDL_NAMES_EET_EEST_DE { "OEZ ", "OESZ " } |
#define | DEFAULT_TZDL_OFFS_EET 7200L |
#define | DEFAULT_TZDL_EET_EEST_EN |
#define | DEFAULT_TZDL_EET_EEST_DE |
Typedefs | |
typedef char | TZ_NAME[6] |
The name of a time zone. More... | |
Example:
For automatic daylight saving enable/disable in Central Europe, the variables are to be set as shown below:
#define _mbg_swab_tzdl | ( | _p | ) |
Definition at line 2950 of file gpsdefs.h.
Referenced by mbg_get_gps_tzdl(), mbg_set_gps_tzdl(), mbgextio_get_tzdl(), and mbgextio_set_tzdl().
#define DEFAULT_TZDL_AUTO_YEAR ( (int16_t) ( 2007L | DL_AUTO_FLAG ) ) |
#define DEFAULT_TZDL_CET_CEST_DE |
#define DEFAULT_TZDL_CET_CEST_EN |
#define DEFAULT_TZDL_EET_EEST_DE |
#define DEFAULT_TZDL_EET_EEST_EN |
#define DEFAULT_TZDL_NAMES_CET_CEST_DE { "MEZ ", "MESZ " } |
#define DEFAULT_TZDL_NAMES_CET_CEST_EN { "CET ", "CEST " } |
#define DEFAULT_TZDL_NAMES_EET_EEST_DE { "OEZ ", "OESZ " } |
#define DEFAULT_TZDL_NAMES_EET_EEST_EN { "EET ", "EEST " } |
#define DEFAULt_TZDL_OFFS_DL 3600L |
#define DEFAULT_TZDL_TM_OFF_CET_CEST { DEFAULT_TZDL_AUTO_YEAR, 10, 25, 0, 0, 3, 0, 0, 0L, 0L, 0 } |
An initializer for TZDL::tm_off according to the rules for Central Europe.
#define DEFAULT_TZDL_TM_OFF_EET_EEST { DEFAULT_TZDL_AUTO_YEAR, 10, 25, 0, 0, 4, 0, 0, 0L, 0L, 0 } |
#define DEFAULT_TZDL_TM_ON_CET_CEST { DEFAULT_TZDL_AUTO_YEAR, 3, 25, 0, 0, 2, 0, 0, 0L, 0L, 0 } |
An initializer for TZDL::tm_on according to the rules for Central Europe.
#define DEFAULT_TZDL_TM_ON_EET_EEST { DEFAULT_TZDL_AUTO_YEAR, 3, 25, 0, 0, 3, 0, 0, 0L, 0L, 0 } |
#define DEFAULT_TZDL_TM_ON_OFF_NO_DST { DEFAULT_TZDL_AUTO_YEAR, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 } |
An initializer for TZDL::tm_on and TZDL::tm_off for time zones which do not observe DST.
#define DEFAULT_TZDL_UTC |
#define DL_AUTO_FLAG 0x8000 |
A flag indicating automatic computation of DST.
If this flag is or'ed to the year numbers in TZDL::tm_on and TZDL::tm_off then daylight saving is computed automatically year by year.