Quick Links: |
#include <baltzo_windowstimezoneutil.h>
Static Public Member Functions | |
static int | getZoneinfoId (const char **result, const char *windowsTimeZoneId) |
static int | getWindowsTimeZoneId (const char **result, const char *zoneinfoId) |
This struct
provides a namespace for utility functions that convert Zoneinfo time-zone identifiers both to and Windows time-zone identifiers.
See Component baltzo_windowstimezoneutil
static int baltzo::WindowsTimeZoneUtil::getZoneinfoId | ( | const char ** | result, | |
const char * | windowsTimeZoneId | |||
) | [static] |
Load into the specified result
the address of a 0 terminated C-string containing the default Zoneinfo time-zone identifier for the specified windowsTimeZoneId
. Return 0 on success, and non-zero value with no other effect otherwise. The returned address is valid for the life-time of the process.
static int baltzo::WindowsTimeZoneUtil::getWindowsTimeZoneId | ( | const char ** | result, | |
const char * | zoneinfoId | |||
) | [static] |
Load into the specified result
the address of a 0 terminated C-string containing the Windows time-zone identifier for the specified zoneinfoId
. Return 0 on success, and non-zero value with no other effect otherwise. The returned address is valid for the life-time of the process.