/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | TimeZone.java | 483 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local 489 result = tzfmt.format(Style.GENERIC_LOCATION, this, date, timeType); in _getDisplayName() 492 result = tzfmt.format(Style.GENERIC_LONG, this, date, timeType); in _getDisplayName() 495 result = tzfmt.format(Style.GENERIC_SHORT, this, date, timeType); in _getDisplayName() 506 … tzfmt.formatOffsetShortLocalizedGMT(offset) : tzfmt.formatOffsetLocalizedGMT(offset); in _getDisplayName() 511 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local 515 result = tzfmt.formatOffsetLocalizedGMT(offset); in _getDisplayName() 518 result = tzfmt.formatOffsetISO8601Basic(offset, false, false, false); in _getDisplayName() 541 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(locale); in _getDisplayName() local 544 … tzfmt.formatOffsetLocalizedGMT(offset) : tzfmt.formatOffsetShortLocalizedGMT(offset); in _getDisplayName()
|
/external/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()
|
/external/icu/icu4c/source/i18n/ |
D | timezone.cpp | 1203 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1211 tzfmt->format(UTZFMT_STYLE_GENERIC_LOCATION, *this, date, result, &timeType); in getDisplayName() 1214 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, *this, date, result, &timeType); in getDisplayName() 1217 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, *this, date, result, &timeType); in getDisplayName() 1228 tzfmt->formatOffsetShortLocalizedGMT(offset, result, status); in getDisplayName() 1230 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1234 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local 1242 tzfmt->formatOffsetLocalizedGMT(offset, result, status); in getDisplayName() 1245 tzfmt->formatOffsetISO8601Basic(offset, FALSE, FALSE, FALSE, result, status); in getDisplayName() 1274 LocalPointer<TimeZoneFormat> tzfmt(TimeZoneFormat::createInstance(locale, status)); in getDisplayName() local [all …]
|
D | tzfmt.cpp | 475 TimeZoneFormat* tzfmt = (TimeZoneFormat*)&other; in operator ==() local 478 fLocale == tzfmt->fLocale in operator ==() 479 && fGMTPattern == tzfmt->fGMTPattern in operator ==() 480 && fGMTZeroFormat == tzfmt->fGMTZeroFormat in operator ==() 481 && *fTimeZoneNames == *tzfmt->fTimeZoneNames; in operator ==() 484 isEqual = fGMTOffsetPatterns[i] == tzfmt->fGMTOffsetPatterns[i]; in operator ==() 487 isEqual = fGMTOffsetDigits[i] == tzfmt->fGMTOffsetDigits[i]; in operator ==() 503 TimeZoneFormat* tzfmt = new TimeZoneFormat(locale, status); in createInstance() local 505 return tzfmt; in createInstance() 507 delete tzfmt; in createInstance()
|
D | Android.mk | 180 tzfmt.cpp \
|
D | Makefile.in | 96 tzfmt.o compactdecimalformat.o gender.o region.o scriptset.o identifier_info.o \
|
D | smpdtfmt.cpp | 3808 TimeZoneFormat *tzfmt = TimeZoneFormat::createInstance(fLocale, status); in tzFormat() local 3813 const_cast<SimpleDateFormat *>(this)->fTimeZoneFormat = tzfmt; in tzFormat()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 641 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(loc); in TestParse() local 644 TimeZone tz = tzfmt.parse(style, text, pos, options, timeType); in TestParse() 933 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(uloc); in TestFormat() local 934 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 944 tzfmt = TimeZoneFormat.getInstance(loc); in TestFormat() 945 out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 1020 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(loc).cloneAsThawed(); in TestFormatTZDBNames() local 1022 tzfmt.setTimeZoneNames(tzdbNames); in TestFormatTZDBNames() 1026 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormatTZDBNames()
|
D | DateFormatTest.java | 665 TimeZoneFormat tzfmt = univ.getTimeZoneFormat().cloneAsThawed(); in TestGenericTime() local 666 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)); in TestGenericTime() 667 tzfmt.freeze(); in TestGenericTime() 668 univ.setTimeZoneFormat(tzfmt); in TestGenericTime() 670 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime() 3251 TimeZoneFormat tzfmt = fmt.getTimeZoneFormat().cloneAsThawed(); in expect() local 3252 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)).freeze(); in expect() 3253 fmt.setTimeZoneFormat(tzfmt); in expect()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 637 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(loc); in TestParse() local 640 TimeZone tz = tzfmt.parse(style, text, pos, options, timeType); in TestParse() 929 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(uloc); in TestFormat() local 930 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 940 tzfmt = TimeZoneFormat.getInstance(loc); in TestFormat() 941 out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 1016 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(loc).cloneAsThawed(); in TestFormatTZDBNames() local 1018 tzfmt.setTimeZoneNames(tzdbNames); in TestFormatTZDBNames() 1022 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormatTZDBNames()
|
D | DateFormatTest.java | 661 TimeZoneFormat tzfmt = univ.getTimeZoneFormat().cloneAsThawed(); in TestGenericTime() local 662 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)); in TestGenericTime() 663 tzfmt.freeze(); in TestGenericTime() 664 univ.setTimeZoneFormat(tzfmt); in TestGenericTime() 666 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime() 3247 TimeZoneFormat tzfmt = fmt.getTimeZoneFormat().cloneAsThawed(); in expect() local 3248 tzfmt.setDefaultParseOptions(EnumSet.of(ParseOption.ALL_STYLES)).freeze(); in expect() 3249 fmt.setTimeZoneFormat(tzfmt); in expect()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzfmttst.cpp | 821 …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()
|
/external/icu/icu4c/source/test/hdrtst/ |
D | cxxfiles.txt | 96 tzfmt.h
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | FormatTests.java | 2351 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(ULocale.ENGLISH).cloneAsThawed(); in getTestObjects() local 2352 tzfmt.setGMTPattern(CUSTOM_GMT_PATTERN); in getTestObjects() 2354 return new Object[] {tzfmt}; in getTestObjects()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatTests.java | 2350 TimeZoneFormat tzfmt = TimeZoneFormat.getInstance(ULocale.ENGLISH).cloneAsThawed(); in getTestObjects() local 2351 tzfmt.setGMTPattern(CUSTOM_GMT_PATTERN); in getTestObjects() 2353 return new Object[] {tzfmt}; in getTestObjects()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SimpleDateFormat.java | 3557 public void setTimeZoneFormat(TimeZoneFormat tzfmt) { in setTimeZoneFormat() argument 3558 if (tzfmt.isFrozen()) { in setTimeZoneFormat() 3560 tzFormat = tzfmt; in setTimeZoneFormat() 3563 tzFormat = tzfmt.cloneAsThawed().freeze(); in setTimeZoneFormat()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 3582 public void setTimeZoneFormat(TimeZoneFormat tzfmt) { in setTimeZoneFormat() argument 3583 if (tzfmt.isFrozen()) { in setTimeZoneFormat() 3585 tzFormat = tzfmt; in setTimeZoneFormat() 3588 tzFormat = tzfmt.cloneAsThawed().freeze(); in setTimeZoneFormat()
|
/external/icu/icu4c/source/test/depstest/ |
D | dependencies.txt | 857 tzfmt.o tzgnames.o tznames.o tznames_impl.o
|