#pragma once #ifdef __cplusplus extern "C" { #endif #include /** * Set the timezone * @param[in] name human-readable name * @param[in] code the technical code (from timezones.csv) */ void tt_timezone_set(const char* name, const char* code); /** * Get the name of the timezone */ const char* tt_timezone_get_name(); /** * Get the code of the timezone (see timezones.csv) */ const char* tt_timezone_get_code(); /** @return true when clocks should be shown as a 24 hours one instead of 12 hours */ bool tt_timezone_is_format_24_hour(); /** Set whether clocks should be shown as a 24 hours instead of 12 hours * @param[in] show24Hour */ void tt_timezone_set_format_24_hour(bool show24Hour); #ifdef __cplusplus } #endif