/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | TimeZone.java | 507 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local 513 result = tzfmt.format(Style.GENERIC_LOCATION, this, date, timeType); in _getDisplayName() 516 result = tzfmt.format(Style.GENERIC_LONG, this, date, timeType); in _getDisplayName() 519 result = tzfmt.format(Style.GENERIC_SHORT, this, date, timeType); in _getDisplayName() 530 … tzfmt.formatOffsetShortLocalizedGMT(offset) : tzfmt.formatOffsetLocalizedGMT(offset); in _getDisplayName() 535 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local 539 result = tzfmt.formatOffsetLocalizedGMT(offset); in _getDisplayName() 542 result = tzfmt.formatOffsetISO8601Basic(offset, false, false, false); in _getDisplayName() 565 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local 568 … tzfmt.formatOffsetLocalizedGMT(offset) : tzfmt.formatOffsetShortLocalizedGMT(offset); in _getDisplayName()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeZone.java | 542 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local 548 result = tzfmt.format(Style.GENERIC_LOCATION, this, date, timeType); in _getDisplayName() 551 result = tzfmt.format(Style.GENERIC_LONG, this, date, timeType); in _getDisplayName() 554 result = tzfmt.format(Style.GENERIC_SHORT, this, date, timeType); in _getDisplayName() 565 … tzfmt.formatOffsetShortLocalizedGMT(offset) : tzfmt.formatOffsetLocalizedGMT(offset); in _getDisplayName() 570 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local 574 result = tzfmt.formatOffsetLocalizedGMT(offset); in _getDisplayName() 577 result = tzfmt.formatOffsetISO8601Basic(offset, false, false, false); in _getDisplayName() 600 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local 603 … tzfmt.formatOffsetLocalizedGMT(offset) : tzfmt.formatOffsetShortLocalizedGMT(offset); in _getDisplayName()
|
/third_party/icu/icu4c/source/i18n/ |
D | smpdtfmt.cpp | 1760 const TimeZoneFormat *tzfmt = tzFormat(status); in subFormat() local 1765 tzfmt->format(UTZFMT_STYLE_SPECIFIC_SHORT, tz, date, zoneString); in subFormat() 1769 tzfmt->format(UTZFMT_STYLE_SPECIFIC_LONG, tz, date, zoneString); in subFormat() 1776 tzfmt->format(UTZFMT_STYLE_ISO_BASIC_LOCAL_FULL, tz, date, zoneString); in subFormat() 1779 tzfmt->format(UTZFMT_STYLE_ISO_EXTENDED_FULL, tz, date, zoneString); in subFormat() 1782 tzfmt->format(UTZFMT_STYLE_LOCALIZED_GMT, tz, date, zoneString); in subFormat() 1788 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, tz, date, zoneString); in subFormat() 1792 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, tz, date, zoneString); in subFormat() 1799 tzfmt->format(UTZFMT_STYLE_ZONE_ID_SHORT, tz, date, zoneString); in subFormat() 1802 tzfmt->format(UTZFMT_STYLE_ZONE_ID, tz, date, zoneString); in subFormat() [all …]
|
D | timezone.cpp | 1230 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1238 tzfmt->format(UTZFMT_STYLE_GENERIC_LOCATION, *this, date, result, &timeType); in getDisplayName() 1241 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, *this, date, result, &timeType); in getDisplayName() 1244 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, *this, date, result, &timeType); in getDisplayName() 1255 tzfmt->formatOffsetShortLocalizedGMT(offset, result, status); in getDisplayName() 1257 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1261 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1269 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1272 tzfmt->formatOffsetISO8601Basic(offset, FALSE, FALSE, FALSE, result, status); in getDisplayName() 1301 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local [all …]
|
D | tzfmt.cpp | 487 TimeZoneFormat* tzfmt = (TimeZoneFormat*)&other; in operator ==() local 490 fLocale == tzfmt->fLocale in operator ==() 491 && fGMTPattern == tzfmt->fGMTPattern in operator ==() 492 && fGMTZeroFormat == tzfmt->fGMTZeroFormat in operator ==() 493 && *fTimeZoneNames == *tzfmt->fTimeZoneNames; in operator ==() 496 isEqual = fGMTOffsetPatterns[i] == tzfmt->fGMTOffsetPatterns[i]; in operator ==() 499 isEqual = fGMTOffsetDigits[i] == tzfmt->fGMTOffsetDigits[i]; in operator ==() 515 TimeZoneFormat* tzfmt = new TimeZoneFormat(locale, status); in createInstance() local 517 return tzfmt; in createInstance() 519 delete tzfmt; in createInstance()
|
D | sources.txt | 191 tzfmt.cpp
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | smpdtfmt.cpp | 1683 const TimeZoneFormat *tzfmt = tzFormat(status); in subFormat() local 1688 tzfmt->format(UTZFMT_STYLE_SPECIFIC_SHORT, tz, date, zoneString); in subFormat() 1692 tzfmt->format(UTZFMT_STYLE_SPECIFIC_LONG, tz, date, zoneString); in subFormat() 1699 tzfmt->format(UTZFMT_STYLE_ISO_BASIC_LOCAL_FULL, tz, date, zoneString); in subFormat() 1702 tzfmt->format(UTZFMT_STYLE_ISO_EXTENDED_FULL, tz, date, zoneString); in subFormat() 1705 tzfmt->format(UTZFMT_STYLE_LOCALIZED_GMT, tz, date, zoneString); in subFormat() 1711 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, tz, date, zoneString); in subFormat() 1715 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, tz, date, zoneString); in subFormat() 1722 tzfmt->format(UTZFMT_STYLE_ZONE_ID_SHORT, tz, date, zoneString); in subFormat() 1725 tzfmt->format(UTZFMT_STYLE_ZONE_ID, tz, date, zoneString); in subFormat() [all …]
|
D | timezone.cpp | 1206 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1214 tzfmt->format(UTZFMT_STYLE_GENERIC_LOCATION, *this, date, result, &timeType); in getDisplayName() 1217 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, *this, date, result, &timeType); in getDisplayName() 1220 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, *this, date, result, &timeType); in getDisplayName() 1231 tzfmt->formatOffsetShortLocalizedGMT(offset, result, status); in getDisplayName() 1233 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1237 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1245 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1248 tzfmt->formatOffsetISO8601Basic(offset, FALSE, FALSE, FALSE, result, status); in getDisplayName() 1277 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local [all …]
|
D | tzfmt.cpp | 481 TimeZoneFormat* tzfmt = (TimeZoneFormat*)&other; in operator ==() local 484 fLocale == tzfmt->fLocale in operator ==() 485 && fGMTPattern == tzfmt->fGMTPattern in operator ==() 486 && fGMTZeroFormat == tzfmt->fGMTZeroFormat in operator ==() 487 && *fTimeZoneNames == *tzfmt->fTimeZoneNames; in operator ==() 490 isEqual = fGMTOffsetPatterns[i] == tzfmt->fGMTOffsetPatterns[i]; in operator ==() 493 isEqual = fGMTOffsetDigits[i] == tzfmt->fGMTOffsetDigits[i]; in operator ==() 509 TimeZoneFormat* tzfmt = new TimeZoneFormat(locale, status); in createInstance() local 511 return tzfmt; in createInstance() 513 delete tzfmt; in createInstance()
|
D | Makefile.in | 99 tzfmt.o compactdecimalformat.o gender.o region.o scriptset.o \
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | smpdtfmt.cpp | 1760 const TimeZoneFormat *tzfmt = tzFormat(status); in subFormat() local 1765 tzfmt->format(UTZFMT_STYLE_SPECIFIC_SHORT, tz, date, zoneString); in subFormat() 1769 tzfmt->format(UTZFMT_STYLE_SPECIFIC_LONG, tz, date, zoneString); in subFormat() 1776 tzfmt->format(UTZFMT_STYLE_ISO_BASIC_LOCAL_FULL, tz, date, zoneString); in subFormat() 1779 tzfmt->format(UTZFMT_STYLE_ISO_EXTENDED_FULL, tz, date, zoneString); in subFormat() 1782 tzfmt->format(UTZFMT_STYLE_LOCALIZED_GMT, tz, date, zoneString); in subFormat() 1788 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, tz, date, zoneString); in subFormat() 1792 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, tz, date, zoneString); in subFormat() 1799 tzfmt->format(UTZFMT_STYLE_ZONE_ID_SHORT, tz, date, zoneString); in subFormat() 1802 tzfmt->format(UTZFMT_STYLE_ZONE_ID, tz, date, zoneString); in subFormat() [all …]
|
D | timezone.cpp | 1230 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1238 tzfmt->format(UTZFMT_STYLE_GENERIC_LOCATION, *this, date, result, &timeType); in getDisplayName() 1241 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, *this, date, result, &timeType); in getDisplayName() 1244 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, *this, date, result, &timeType); in getDisplayName() 1255 tzfmt->formatOffsetShortLocalizedGMT(offset, result, status); in getDisplayName() 1257 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1261 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1269 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1272 tzfmt->formatOffsetISO8601Basic(offset, FALSE, FALSE, FALSE, result, status); in getDisplayName() 1301 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local [all …]
|
D | tzfmt.cpp | 487 TimeZoneFormat* tzfmt = (TimeZoneFormat*)&other; in operator ==() local 490 fLocale == tzfmt->fLocale in operator ==() 491 && fGMTPattern == tzfmt->fGMTPattern in operator ==() 492 && fGMTZeroFormat == tzfmt->fGMTZeroFormat in operator ==() 493 && *fTimeZoneNames == *tzfmt->fTimeZoneNames; in operator ==() 496 isEqual = fGMTOffsetPatterns[i] == tzfmt->fGMTOffsetPatterns[i]; in operator ==() 499 isEqual = fGMTOffsetDigits[i] == tzfmt->fGMTOffsetDigits[i]; in operator ==() 515 TimeZoneFormat* tzfmt = new TimeZoneFormat(locale, status); in createInstance() local 517 return tzfmt; in createInstance() 519 delete tzfmt; in createInstance()
|
D | sources.txt | 191 tzfmt.cpp
|
/third_party/node/deps/icu-small/source/i18n/ |
D | smpdtfmt.cpp | 1779 const TimeZoneFormat *tzfmt = tzFormat(status); in subFormat() local 1784 tzfmt->format(UTZFMT_STYLE_SPECIFIC_SHORT, tz, date, zoneString); in subFormat() 1788 tzfmt->format(UTZFMT_STYLE_SPECIFIC_LONG, tz, date, zoneString); in subFormat() 1795 tzfmt->format(UTZFMT_STYLE_ISO_BASIC_LOCAL_FULL, tz, date, zoneString); in subFormat() 1798 tzfmt->format(UTZFMT_STYLE_ISO_EXTENDED_FULL, tz, date, zoneString); in subFormat() 1801 tzfmt->format(UTZFMT_STYLE_LOCALIZED_GMT, tz, date, zoneString); in subFormat() 1807 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, tz, date, zoneString); in subFormat() 1811 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, tz, date, zoneString); in subFormat() 1818 tzfmt->format(UTZFMT_STYLE_ZONE_ID_SHORT, tz, date, zoneString); in subFormat() 1821 tzfmt->format(UTZFMT_STYLE_ZONE_ID, tz, date, zoneString); in subFormat() [all …]
|
D | timezone.cpp | 1249 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1257 tzfmt->format(UTZFMT_STYLE_GENERIC_LOCATION, *this, date, result, &timeType); in getDisplayName() 1260 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, *this, date, result, &timeType); in getDisplayName() 1263 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, *this, date, result, &timeType); in getDisplayName() 1274 tzfmt->formatOffsetShortLocalizedGMT(offset, result, status); in getDisplayName() 1276 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1280 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1288 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1291 tzfmt->formatOffsetISO8601Basic(offset, FALSE, FALSE, FALSE, result, status); in getDisplayName() 1320 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local [all …]
|
D | tzfmt.cpp | 487 TimeZoneFormat* tzfmt = (TimeZoneFormat*)&other; in operator ==() local 490 fLocale == tzfmt->fLocale in operator ==() 491 && fGMTPattern == tzfmt->fGMTPattern in operator ==() 492 && fGMTZeroFormat == tzfmt->fGMTZeroFormat in operator ==() 493 && *fTimeZoneNames == *tzfmt->fTimeZoneNames; in operator ==() 496 isEqual = fGMTOffsetPatterns[i] == tzfmt->fGMTOffsetPatterns[i]; in operator ==() 499 isEqual = fGMTOffsetDigits[i] == tzfmt->fGMTOffsetDigits[i]; in operator ==() 515 TimeZoneFormat* tzfmt = new TimeZoneFormat(locale, status); in createInstance() local 517 return tzfmt; in createInstance() 519 delete tzfmt; in createInstance()
|
/third_party/icu/icu4c/source/test/intltest/ |
D | tzfmttst.cpp | 861 …LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(Locale(DATA[i].locale), status)); in TestParse() local 868 TimeZone* tz = tzfmt->parse(DATA[i].style, DATA[i].text, pos, DATA[i].parseOptions, &ttype); in TestParse() 1145 …LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(Locale(DATA[i].locale), status)); in TestFormat() local 1155 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormat() 1236 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(loc, status)); in TestFormatTZDBNames() local 1246 tzfmt->adoptTimeZoneNames(tzdbNames); in TestFormatTZDBNames() 1252 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormatTZDBNames() 1288 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(Locale("en"), status)); in TestFormatCustomZone() local 1289 if (tzfmt.isNull()) { in TestFormatCustomZone() 1296 tzfmt->format(UTZFMT_STYLE_SPECIFIC_LONG, tz, now, tzstr, NULL); in TestFormatCustomZone()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 664 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(loc); in TestParse() local 667 TimeZone tz = tzfmt.parse(style, text, pos, options, timeType); in TestParse() 959 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(uloc); in TestFormat() local 960 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 970 tzfmt = TimeZoneFormat.getInstance(loc); in TestFormat() 971 out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 1047 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(loc).cloneAsThawed(); in TestFormatTZDBNames() local 1049 tzfmt.setTimeZoneNames(tzdbNames); in TestFormatTZDBNames() 1053 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormatTZDBNames()
|
D | DateFormatTest.java | 680 TimeZoneFormat tzfmt = univ.getTimeZoneFormat().cloneAsThawed(); in TestGenericTime() local 681 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)); in TestGenericTime() 682 tzfmt.freeze(); in TestGenericTime() 683 univ.setTimeZoneFormat(tzfmt); in TestGenericTime() 685 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime() 3300 TimeZoneFormat tzfmt = fmt.getTimeZoneFormat().cloneAsThawed(); in expect() local 3301 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)).freeze(); in expect() 3302 fmt.setTimeZoneFormat(tzfmt); in expect()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 661 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(loc); in TestParse() local 664 TimeZone tz = tzfmt.parse(style, text, pos, options, timeType); in TestParse() 956 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(uloc); in TestFormat() local 957 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 967 tzfmt = TimeZoneFormat.getInstance(loc); in TestFormat() 968 out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 1044 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(loc).cloneAsThawed(); in TestFormatTZDBNames() local 1046 tzfmt.setTimeZoneNames(tzdbNames); in TestFormatTZDBNames() 1050 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormatTZDBNames()
|
D | DateFormatTest.java | 677 TimeZoneFormat tzfmt = univ.getTimeZoneFormat().cloneAsThawed(); in TestGenericTime() local 678 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)); in TestGenericTime() 679 tzfmt.freeze(); in TestGenericTime() 680 univ.setTimeZoneFormat(tzfmt); in TestGenericTime() 682 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime() 3384 TimeZoneFormat tzfmt = fmt.getTimeZoneFormat().cloneAsThawed(); in expect() local 3385 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)).freeze(); in expect() 3386 fmt.setTimeZoneFormat(tzfmt); in expect()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/ |
D | FormatHandler.java | 2510 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(ULocale.ENGLISH).cloneAsThawed(); in getTestObjects() local 2511 tzfmt.setGMTPattern(CUSTOM_GMT_PATTERN); in getTestObjects() 2513 return new Object[] {tzfmt}; in getTestObjects()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatHandler.java | 2523 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(ULocale.ENGLISH).cloneAsThawed(); in getTestObjects() local 2524 tzfmt.setGMTPattern(CUSTOM_GMT_PATTERN); in getTestObjects() 2526 return new Object[] {tzfmt}; in getTestObjects()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 4024 public void setTimeZoneFormat(TimeZoneFormat tzfmt) { in setTimeZoneFormat() argument 4025 if (tzfmt.isFrozen()) { in setTimeZoneFormat() 4027 tzFormat = tzfmt; in setTimeZoneFormat() 4030 tzFormat = tzfmt.cloneAsThawed().freeze(); in setTimeZoneFormat()
|