Home
last modified time | relevance | path

Searched refs:tzfmt (Results 1 – 19 of 19) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeZone.java478 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local
484 result = tzfmt.format(Style.GENERIC_LOCATION, this, date, timeType); in _getDisplayName()
487 result = tzfmt.format(Style.GENERIC_LONG, this, date, timeType); in _getDisplayName()
490 result = tzfmt.format(Style.GENERIC_SHORT, this, date, timeType); in _getDisplayName()
501tzfmt.formatOffsetShortLocalizedGMT(offset) : tzfmt.formatOffsetLocalizedGMT(offset); in _getDisplayName()
506 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local
510 result = tzfmt.formatOffsetLocalizedGMT(offset); in _getDisplayName()
513 result = tzfmt.formatOffsetISO8601Basic(offset, false, false, false); in _getDisplayName()
536 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local
539tzfmt.formatOffsetLocalizedGMT(offset) : tzfmt.formatOffsetShortLocalizedGMT(offset); in _getDisplayName()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZone.java542 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()
565tzfmt.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
603tzfmt.formatOffsetLocalizedGMT(offset) : tzfmt.formatOffsetShortLocalizedGMT(offset); in _getDisplayName()
/external/icu/icu4c/source/i18n/
Dsmpdtfmt.cpp1683 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 …]
Dtimezone.cpp1206 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 …]
Dtzfmt.cpp481 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()
DMakefile.in99 tzfmt.o compactdecimalformat.o gender.o region.o scriptset.o \
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp821 …LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(Locale(DATA[i].locale), status)); in TestParse() local
828 TimeZone* tz = tzfmt->parse(DATA[i].style, DATA[i].text, pos, DATA[i].parseOptions, &ttype); in TestParse()
1105 …LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(Locale(DATA[i].locale), status)); in TestFormat() local
1115 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormat()
1196 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(loc, status)); in TestFormatTZDBNames() local
1206 tzfmt->adoptTimeZoneNames(tzdbNames); in TestFormatTZDBNames()
1212 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormatTZDBNames()
1248 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(Locale("en"), status)); in TestFormatCustomZone() local
1249 if (tzfmt.isNull()) { in TestFormatCustomZone()
1256 tzfmt->format(UTZFMT_STYLE_SPECIFIC_LONG, tz, now, tzstr, NULL); in TestFormatCustomZone()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java661 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()
DDateFormatTest.java676 TimeZoneFormat tzfmt = univ.getTimeZoneFormat().cloneAsThawed(); in TestGenericTime() local
677 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)); in TestGenericTime()
678 tzfmt.freeze(); in TestGenericTime()
679 univ.setTimeZoneFormat(tzfmt); in TestGenericTime()
681 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime()
3296 TimeZoneFormat tzfmt = fmt.getTimeZoneFormat().cloneAsThawed(); in expect() local
3297 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)).freeze(); in expect()
3298 fmt.setTimeZoneFormat(tzfmt); in expect()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java664 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()
DDateFormatTest.java679 TimeZoneFormat tzfmt = univ.getTimeZoneFormat().cloneAsThawed(); in TestGenericTime() local
680 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)); in TestGenericTime()
681 tzfmt.freeze(); in TestGenericTime()
682 univ.setTimeZoneFormat(tzfmt); in TestGenericTime()
684 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime()
3299 TimeZoneFormat tzfmt = fmt.getTimeZoneFormat().cloneAsThawed(); in expect() local
3300 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)).freeze(); in expect()
3301 fmt.setTimeZoneFormat(tzfmt); in expect()
/external/icu/icu4c/source/test/hdrtst/
Dcxxfiles.txt107 tzfmt.h
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DFormatHandler.java2448 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(ULocale.ENGLISH).cloneAsThawed(); in getTestObjects() local
2449 tzfmt.setGMTPattern(CUSTOM_GMT_PATTERN); in getTestObjects()
2451 return new Object[] {tzfmt}; in getTestObjects()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatHandler.java2445 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(ULocale.ENGLISH).cloneAsThawed(); in getTestObjects() local
2446 tzfmt.setGMTPattern(CUSTOM_GMT_PATTERN); in getTestObjects()
2448 return new Object[] {tzfmt}; in getTestObjects()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DSimpleDateFormat.java3959 public void setTimeZoneFormat(TimeZoneFormat tzfmt) { in setTimeZoneFormat() argument
3960 if (tzfmt.isFrozen()) { in setTimeZoneFormat()
3962 tzFormat = tzfmt; in setTimeZoneFormat()
3965 tzFormat = tzfmt.cloneAsThawed().freeze(); in setTimeZoneFormat()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DSimpleDateFormat.java3933 public void setTimeZoneFormat(TimeZoneFormat tzfmt) { in setTimeZoneFormat() argument
3934 if (tzfmt.isFrozen()) { in setTimeZoneFormat()
3936 tzFormat = tzfmt; in setTimeZoneFormat()
3939 tzFormat = tzfmt.cloneAsThawed().freeze(); in setTimeZoneFormat()
/external/skia/third_party/icu/
Dicu.gni726 "$_src/i18n/tzfmt.cpp",
811 "$_src/i18n/unicode/tzfmt.h",
/external/icu/icu4c/source/test/depstest/
Ddependencies.txt978 tzfmt.o tzgnames.o tznames.o tznames_impl.o
/external/skqp/third_party/icu/
Dicu.gni628 "../externals/icu/source/i18n/tzfmt.cpp",