Home
last modified time | relevance | path

Searched refs:i18nTimeZone (Results 1 – 2 of 2) sorted by relevance

/base/global/i18n/frameworks/intl/test/unittest/
Dintl_test.cpp2170 I18nTimeZone *i18nTimeZone = new I18nTimeZone(timezoneId, true); variable
2171 int32_t offset = i18nTimeZone->GetOffset(1684742124645);
2173 int32_t rawOffset = i18nTimeZone->GetRawOffset();
2175 std::string tzId = i18nTimeZone->GetID();
2177 std::string displayName = i18nTimeZone->GetDisplayName();
2179 std::string displayName2 = i18nTimeZone->GetDisplayName(true);
2182 std::string displayNameCn = i18nTimeZone->GetDisplayName(zhCn);
2184 std::string displayName4 = i18nTimeZone->GetDisplayName("zh-CN", true);
2188 std::string cityDisplayName = i18nTimeZone->GetCityDisplayName(cityId, localeId);
2204 delete i18nTimeZone;
/base/global/i18n/frameworks/intl/src/
Di18n_timezone.cpp636 std::unique_ptr<I18nTimeZone> i18nTimeZone = std::make_unique<I18nTimeZone>(id, isZoneID); in CreateInstance() local
637 if (i18nTimeZone->GetTimeZone() == nullptr) { in CreateInstance()
640 return i18nTimeZone; in CreateInstance()