![]() |
BSB Developer Docs
|
Timezone-related utility functions. More...
#include <utz/utz.h>#include <datetime/datetime.h>Go to the source code of this file.
Data Structures | |
| struct | TzutilTzInfo |
| struct | TzutilTzInfoList |
Macros | |
| #define | TZUTIL_MAX_ABBR_LEN 7 |
Functions | |
| TzutilTzInfoList | tzutil_compile_zone_list (const DateTime *dt) |
| Create a list of available time zones sorted by offset from UTC. | |
| void | tzutil_info_list_free (const TzutilTzInfoList *list) |
| bool | tzutil_get_info_by_name (const char *name, const DateTime *dt, TzutilTzInfo *out) |
| void | tzutil_get_abbr (const TzutilTzInfo *info, char *buf, size_t buf_size) |
| Get timezone abbreviation. | |
Timezone-related utility functions.
| TzutilTzInfoList tzutil_compile_zone_list | ( | const DateTime * | dt | ) |
Create a list of available time zones sorted by offset from UTC.
| [in] | dt | timestamp to get timezone offsets for. |