|
PebbleOS
|
Data Structures | |
| struct | TimezoneDSTRule |
| Transition between standard time and DST. More... | |
Enumerations | |
| enum | DSTRuleFlags { TIMEZONE_FLAG_DAY_DECREMENT = 1 << 0 , TIMEZONE_FLAG_STANDARD_TIME = 1 << 1 , TIMEZONE_FLAG_UTC_TIME = 1 << 2 } |
| Flags of a TimezoneDSTRule. More... | |
Functions | |
| int | timezone_database_get_region_count (void) |
| Get the number of regions in the database. | |
| bool | timezone_database_load_region_info (uint16_t region_id, TimezoneInfo *tz_info) |
| Load the timezone information of a region. | |
| bool | timezone_database_load_region_name (uint16_t region_id, char *region_name) |
| Load the name of a region. | |
| bool | timezone_database_load_dst_rule (uint8_t dst_id, TimezoneDSTRule *start, TimezoneDSTRule *end) |
| Load the pair of DST rules of a DST id. | |
| int | timezone_database_find_region_by_name (const char *region_name, int region_name_length) |
| Find a region by name. | |