Home
last modified time | relevance | path

Searched refs:cityID (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-global.md20 | ohos.i18n | TimeZone | static getTimezoneFromCity(cityID: string): TimeZone; | 新增 |
21 | ohos.i18n | TimeZone | static getCityDisplayName(cityID: string, locale: string): string; | 新增 |
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Di18n_timezone.h50 static std::string GetCityDisplayName(std::string &cityID, std::string &locale);
95 static std::string FindCityDisplayNameFromXml(std::string &cityID, std::string &locale);
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/
H A Djs-apidiff-global.md20 | ohos.i18n | TimeZone | static getTimezoneFromCity(cityID: string): TimeZone; | Added|
21 | ohos.i18n | TimeZone | static getCityDisplayName(cityID: string, locale: string): string; | Added|
/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Di18n_timezone.cpp844 std::string I18nTimeZone::FindCityDisplayNameFromXml(std::string &cityID, std::string &locale) in FindCityDisplayNameFromXml() argument
879 … if (!xmlNodeIsNull && strcmp(cityID.c_str(), reinterpret_cast<const char *>(contents[0])) == 0) { in FindCityDisplayNameFromXml()
1018 std::string I18nTimeZone::GetCityDisplayName(std::string &cityID, std::string &localeStr) in GetCityDisplayName() argument
1023 if (availableZoneCityIDs.find(cityID) == availableZoneCityIDs.end()) { in GetCityDisplayName()
1024 HILOG_ERROR_I18N("%{public}s is not supported cityID.", cityID.c_str()); in GetCityDisplayName()
1029 std::string displayName = FindCityDisplayNameFromXml(cityID, requestLocaleStr); in GetCityDisplayName()
/ohos5.0/base/global/i18n/interfaces/js/kits/src/
H A Di18n_timezone_addon.cpp233 std::string cityID = VariableConvertor::GetString(env, argv[0], code); in GetCityDisplayName() local
241 std::string name = I18nTimeZone::GetCityDisplayName(cityID, locale); in GetCityDisplayName()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-localization-kit/
H A Djs-apis-i18n.md1745 static getCityDisplayName(cityID: string, locale: string): string
1757 | cityID | string | 是 | 时区城市ID。 |
1774 static getTimezoneFromCity(cityID: string): TimeZone
1786 | cityID | string | 是 | 时区城市ID。 |
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-global.md43 |新增|NA|类名:TimeZone;<br>方法or属性:static getCityDisplayName(cityID: string, locale: string): string;|@o…
44 |新增|NA|类名:TimeZone;<br>方法or属性:static getTimezoneFromCity(cityID: string): TimeZone;|@ohos.i18n.d.ts|
/ohos5.0/docs/en/application-dev/reference/apis-localization-kit/
H A Djs-apis-i18n.md1745 static getCityDisplayName(cityID: string, locale: string): string
1757 | cityID | string | Yes | Time zone city ID.|
1774 static getTimezoneFromCity(cityID: string): TimeZone
1786 | cityID | string | Yes | Time zone city ID.|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-global.md43 |Added|NA|Class name: TimeZone;<br>Method or attribute name: static getCityDisplayName(cityID: stri…
44 |Added|NA|Class name: TimeZone;<br>Method or attribute name: static getTimezoneFromCity(cityID: str…