Home
last modified time | relevance | path

Searched refs:TIMEZONE_KEY (Results 1 - 10 of 10) sorted by relevance

/base/time/time_service/interfaces/kits/c/src/
H A Dtime_service.c20 const char * const TIMEZONE_KEY = "persist.time.timezone"; variable
24 int ret = GetParameter(TIMEZONE_KEY, "", timeZone, len); in OH_TimeService_GetTimeZone()
/base/time/time_service/services/time/src/
H A Dtime_zone_info.cpp27 constexpr const char *TIMEZONE_KEY = "persist.time.timezone"; member
45 if (GetParameter(TIMEZONE_KEY, "", value, CONFIG_LEN) < TIMEZONE_OK) { in Init()
75 auto errNo = SetParameter(TIMEZONE_KEY, timezoneId.c_str()); in SetTimezone()
/base/time/time_service/framework/cj/src/
H A Dsystem_date_time.cpp28 const std::string TIMEZONE_KEY = "persist.time.timezone"; member
158 timezone = OHOS::system::GetParameter(TIMEZONE_KEY, "Asia/Shanghai"); in GetTimezone()
/base/global/i18n/interfaces/native/inner_api/zone/include/
H A Dzone_util.h174 static const char *TIMEZONE_KEY; member in OHOS::Global::I18n::ZoneUtil
/base/global/i18n/frameworks/zone/src/
H A Dzone_util.cpp40 const char *ZoneUtil::TIMEZONE_KEY = "persist.time.timezone"; member in ZoneUtil
241 std::string systemTimezone = ReadSystemParameter(TIMEZONE_KEY, SYS_PARAM_LEN); in LookupTimezoneByCountryAndNITZ()
258 std::string systemTimezone = ReadSystemParameter(TIMEZONE_KEY, SYS_PARAM_LEN); in LookupTimezoneByNITZ()
/base/global/i18n/frameworks/intl/include/
H A Ddate_time_format.h116 static const char *TIMEZONE_KEY; member in OHOS::Global::I18n::DateTimeFormat
H A Di18n_timezone.h57 static const char *TIMEZONE_KEY; member in OHOS::Global::I18n::I18nTimeZone
/base/global/i18n/frameworks/intl/src/
H A Di18n_timezone.cpp51 const char *I18nTimeZone::TIMEZONE_KEY = "persist.time.timezone"; member in OHOS::Global::I18n::I18nTimeZone
603 std::string systemTimezone = ReadSystemParameter(TIMEZONE_KEY, SYS_PARAM_LEN); in I18nTimeZone()
H A Ddate_time_format.cpp25 const char *DateTimeFormat::TIMEZONE_KEY = "persist.time.timezone"; member in OHOS::Global::I18n::DateTimeFormat
558 std::string systemTimezone = ReadSystemParameter(TIMEZONE_KEY, SYS_PARAM_LEN); in GetSystemTimezone()
/base/time/time_service/framework/js/napi/system_date_time/src/
H A Dnapi_system_date_time.cpp35 const std::string TIMEZONE_KEY = "persist.time.timezone"; member
524 timezone = system::GetParameter(TIMEZONE_KEY, "Asia/Shanghai"); in GetTimezone()

Completed in 8 milliseconds