Home
last modified time | relevance | path

Searched refs:isDST (Results 1 - 7 of 7) sorted by relevance

/base/global/i18n/frameworks/intl/test/fuzztest/timezone_fuzzer/
H A Dtimezone_fuzzer.cpp33 bool isDST = (data[0] % 2 == 1); in DoSomethingInterestingWithMyAPI() local
34 I18nTimeZone timezone(text, isDST); in DoSomethingInterestingWithMyAPI()
43 timezone.GetDisplayName(isDST); in DoSomethingInterestingWithMyAPI()
45 timezone.GetDisplayName(text, isDST); in DoSomethingInterestingWithMyAPI()
46 I18nTimeZone::CreateInstance(text, isDST); in DoSomethingInterestingWithMyAPI()
/base/global/i18n/interfaces/js/kits/include/
H A Di18n_timezone_addon.h50 static int32_t GetParameter(napi_env env, napi_value *argv, std::string &localeStr, bool &isDST);
52 static int32_t GetFirstParameter(napi_env env, napi_value value, std::string &localeStr, bool &isDST);
/base/global/i18n/interfaces/js/kits/src/
H A Di18n_timezone_addon.cpp376 bool isDST = false; in GetTimeZoneDisplayName() local
377 int32_t parameterStatus = GetParameter(env, argv, locale, isDST); in GetTimeZoneDisplayName()
388 result = obj->timezone_->GetDisplayName(isDST); in GetTimeZoneDisplayName()
390 result = obj->timezone_->GetDisplayName(locale, isDST); in GetTimeZoneDisplayName()
495 int32_t I18nTimeZoneAddon::GetParameter(napi_env env, napi_value *argv, std::string &localeStr, bool &isDST) in GetParameter() argument
505 status = napi_get_value_bool(env, argv[1], &isDST); in GetParameter()
518 return GetFirstParameter(env, argv[0], localeStr, isDST); in GetParameter()
539 int32_t I18nTimeZoneAddon::GetFirstParameter(napi_env env, napi_value value, std::string &localeStr, bool &isDST) in GetFirstParameter() argument
553 status = napi_get_value_bool(env, value, &isDST); in GetFirstParameter()
/base/global/i18n/frameworks/intl/include/
H A Di18n_timezone.h43 std::string GetDisplayName(bool isDST);
45 std::string GetDisplayName(std::string localeStr, bool isDST);
/base/global/i18n/interfaces/native/inner_api/zone/include/
H A Dzone_util.h33 int32_t isDST; member
/base/global/i18n/frameworks/zone/src/
H A Dzone_util.cpp273 if (result.timezoneId.length() == 0 && nitzData.isDST >= 0) { in LookupTimezoneByNITZ()
470 (nitzData.isDST < 0 || nitzData.isDST == (dstOffset != 0))) { in Match()
/base/global/i18n/frameworks/intl/src/
H A Di18n_timezone.cpp694 std::string I18nTimeZone::GetDisplayName(bool isDST) in GetDisplayName() argument
697 return GetDisplayName(localeStr, isDST); in GetDisplayName()
706 std::string localeStr, bool isDST) in GetDisplayName()
721 timezone->getDisplayName((UBool)isDST, style, locale, name); in GetDisplayName()
705 GetDisplayName( std::string localeStr, bool isDST) GetDisplayName() argument

Completed in 7 milliseconds