Typedefs | |
typedef __peak_tz * | peak_tz |
Opaque time zone pointer type. | |
Functions | |
peak_tz | peak_tz_create (const char *tz_name) |
Create a time zone object with a name. | |
peak_tz | peak_tz_create_system (void) |
Create a time zone object with current system settings. | |
const char * | peak_tz_get_name (peak_tz tz) |
Get time zone's name. | |
const char * | peak_tz_get_abbreviation (peak_tz tz, time_t t) |
Get time zone's abbreviation at the specified date. | |
time_t | peak_tz_get_gmt_offset (peak_tz tz, time_t t) |
Get time zone's GMT offset at a specified date. | |
int | peak_tz_is_dst (peak_tz tz, time_t t) |
Returns whether or not a time zone is in daylight savings time at a specified date. |
|
Create a time zone object with a name.
|
|
Create a time zone object with current system settings.
|
|
Get time zone's abbreviation at the specified date.
|
|
Get time zone's GMT offset at a specified date.
|
|
Get time zone's name.
|
|
Returns whether or not a time zone is in daylight savings time at a specified date.
|