/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TimeArrayTimeZoneRule.java | 22 private final int timeType; field in TimeArrayTimeZoneRule 42 …imeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int timeType) { in TimeArrayTimeZoneRule() argument 50 this.timeType = timeType; in TimeArrayTimeZoneRule() 73 return timeType; in getTimeType() 133 if (timeType == ((TimeArrayTimeZoneRule)other).timeType in isEquivalentTo() 151 if (timeType != DateTimeRule.UTC_TIME) { in getUTC() 154 if (timeType == DateTimeRule.WALL_TIME) { in getUTC() 171 buf.append(timeType); in toString()
|
D | DateTimeRule.java | 101 int millisInDay, int timeType) { in DateTimeRule() argument 107 this.timeRuleType = timeType; in DateTimeRule() 131 int millisInDay, int timeType) { in DateTimeRule() argument 138 this.timeRuleType = timeType; in DateTimeRule() 161 int millisInDay, int timeType) { in DateTimeRule() argument 168 this.timeRuleType = timeType; in DateTimeRule()
|
D | TimeZone.java | 544 Output<TimeType> timeType = new Output<TimeType>(TimeType.UNKNOWN); 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() 561 if (daylight && timeType.value == TimeType.STANDARD || in _getDisplayName() 562 !daylight && timeType.value == TimeType.DAYLIGHT) { in _getDisplayName()
|
D | BasicTimeZone.java | 309 int timeType = tar.getTimeType(); in getTimeZoneRules() local 313 if (timeType == DateTimeRule.STANDARD_TIME) { in getTimeZoneRules() 316 if (timeType == DateTimeRule.WALL_TIME) { in getTimeZoneRules()
|
/external/icu/icu4c/source/i18n/ |
D | dtrule.cpp | 23 TimeRuleType timeType) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 25 fDateRuleType(DateTimeRule::DOM), fTimeRuleType(timeType) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 32 TimeRuleType timeType) in DateTimeRule() argument 34 fDateRuleType(DateTimeRule::DOW), fTimeRuleType(timeType) { in DateTimeRule() 42 TimeRuleType timeType) in DateTimeRule() argument 45 fTimeRuleType(timeType) { in DateTimeRule()
|
D | tzfmt.cpp | 644 UnicodeString& name, UTimeZoneFormatTimeType* timeType /* = NULL */) const { in format() 645 if (timeType) { in format() 646 *timeType = UTZFMT_TIME_TYPE_UNKNOWN; in format() 662 formatSpecific(tz, UTZNM_LONG_STANDARD, UTZNM_LONG_DAYLIGHT, date, name, timeType); in format() 665 formatSpecific(tz, UTZNM_SHORT_STANDARD, UTZNM_SHORT_DAYLIGHT, date, name, timeType); in format() 758 if (timeType) { in format() 759 … *timeType = (dstOffset != 0) ? UTZFMT_TIME_TYPE_DAYLIGHT : UTZFMT_TIME_TYPE_STANDARD; in format() 804 UTimeZoneFormatTimeType* timeType /*= NULL*/) const { in parse() 805 return parse(style, text, pos, getDefaultParseOptions(), timeType); in parse() 810 int32_t parseOptions, UTimeZoneFormatTimeType* timeType /* = NULL */) const { in parse() [all …]
|
D | tzgnames.cpp | 115 UTimeZoneFormatTimeType timeType; member 240 gmatch->timeType = UTZFMT_TIME_TYPE_UNKNOWN; in handleMatch() 282 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const; 914 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const { in findBestMatch() argument 915 timeType = UTZFMT_TIME_TYPE_UNKNOWN; in findBestMatch() 997 timeType = bestMatchTimeType; in findBestMatch() 1027 timeType = bestMatchTimeType; in findBestMatch() 1348 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const { in findBestMatch() argument 1349 return fRef->obj->findBestMatch(text, start, types, tzID, timeType, status); in findBestMatch()
|
D | basictz.cpp | 426 DateTimeRule::TimeRuleType timeType; in getTimeZoneRulesAfter() local 430 timeType = tar->getTimeType(); in getTimeZoneRulesAfter() 433 if (timeType == DateTimeRule::STANDARD_TIME) { in getTimeZoneRulesAfter() 436 if (timeType == DateTimeRule::WALL_TIME) { in getTimeZoneRulesAfter() 460 tar->getRawOffset(), tar->getDSTSavings(), newTimes, asize, timeType); in getTimeZoneRulesAfter()
|
D | tzgnames.h | 56 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
|
D | timezone.cpp | 1199 UTimeZoneFormatTimeType timeType; 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() 1225 …if ((daylight && timeType == UTZFMT_TIME_TYPE_STANDARD) || (!daylight && timeType == UTZFMT_TIME_T… in getDisplayName()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | dtrule.h | 70 int32_t millisInDay, TimeRuleType timeType); 88 int32_t millisInDay, TimeRuleType timeType); 106 int32_t millisInDay, TimeRuleType timeType);
|
D | tzfmt.h | 539 UnicodeString& name, UTimeZoneFormatTimeType* timeType = NULL) const; 602 int32_t parseOptions, UTimeZoneFormatTimeType* timeType = NULL) const; 620 UTimeZoneFormatTimeType* timeType = NULL) const; 726 UDate date, UnicodeString& name, UTimeZoneFormatTimeType *timeType) const;
|
/external/icu/icu4c/source/test/intltest/ |
D | tzfmttst.cpp | 733 UTimeZoneFormatTimeType timeType; member 848 } else if (ttype != DATA[i].timeType) { in TestParse() 849 errMsg = (UnicodeString)"Time type: " + ttype + " - expected: " + DATA[i].timeType; in TestParse() 1035 UTimeZoneFormatTimeType timeType; member 1123 UTimeZoneFormatTimeType timeType; in TestFormat() local 1125 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormat() 1130 if (DATA[i].timeType != timeType) { in TestFormat() 1132 + timeType + ", expected=" + DATA[i].timeType); in TestFormat() 1220 UTimeZoneFormatTimeType timeType; in TestFormatTZDBNames() local 1222 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormatTZDBNames() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 635 Output<TimeType> timeType = new Output<TimeType>(TimeType.UNKNOWN); in TestParse() local 637 TimeZone tz = tzfmt.parse(style, text, pos, options, timeType); in TestParse() 648 } else if (timeType.value != expType) { in TestParse() 649 errMsg = "Time type: " + timeType + " - expected: " + expType; in TestParse() 879 Output<TimeType> timeType = new Output<TimeType>(); in TestFormat() local 883 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 885 if (!out.equals((String)testCase[4]) || timeType.value != testCase[5]) { in TestFormat() 888 + "]; actual [output=" + out + ",type=" + timeType.value + "]"); in TestFormat() 894 out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat() 896 if (!out.equals((String)testCase[4]) || timeType.value != testCase[5]) { in TestFormat() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | TimeZoneGenericNames.java | 600 TimeType timeType = TimeType.UNKNOWN; field in TimeZoneGenericNames.GenericMatchInfo 610 public TimeType timeType() { in timeType() method in TimeZoneGenericNames.GenericMatchInfo 611 return timeType; in timeType() 725 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch() 784 TimeType timeType = TimeType.UNKNOWN; in createGenericMatchInfo() local 788 timeType = TimeType.STANDARD; in createGenericMatchInfo() 795 timeType = TimeType.STANDARD; in createGenericMatchInfo() 816 gmatch.timeType = timeType; in createGenericMatchInfo()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeZoneFormat.java | 878 public String format(Style style, TimeZone tz, long date, Output<TimeType> timeType) { in format() argument 881 if (timeType != null) { in format() 882 timeType.value = TimeType.UNKNOWN; in format() 898 … result = formatSpecific(tz, NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT, date, timeType); in format() 901 … result = formatSpecific(tz, NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT, date, timeType); in format() 991 if (timeType != null) { in format() 992 timeType.value = (offsets[1] != 0) ? TimeType.DAYLIGHT : TimeType.STANDARD; in format() 1069 …e style, String text, ParsePosition pos, EnumSet<ParseOption> options, Output<TimeType> timeType) { in parse() argument 1070 if (timeType == null) { in parse() 1071 timeType = new Output<TimeType>(TimeType.UNKNOWN); in parse() [all …]
|
/external/lzma/CPP/7zip/Archive/ |
D | XzHandler.cpp | 583 STDMETHODIMP CHandler::GetFileTimeType(UInt32 *timeType) in GetFileTimeType() argument 585 *timeType = NFileTimeType::kUnix; in GetFileTimeType()
|