Home
last modified time | relevance | path

Searched refs:timeType (Results 1 – 25 of 25) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeArrayTimeZoneRule.java24 private final int timeType; field in TimeArrayTimeZoneRule
44 …imeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int timeType) { in TimeArrayTimeZoneRule() argument
52 this.timeType = timeType; in TimeArrayTimeZoneRule()
75 return timeType; in getTimeType()
140 if (timeType == ((TimeArrayTimeZoneRule)other).timeType in isEquivalentTo()
159 if (timeType != DateTimeRule.UTC_TIME) { in getUTC()
162 if (timeType == DateTimeRule.WALL_TIME) { in getUTC()
180 buf.append(timeType); in toString()
DDateTimeRule.java103 int millisInDay, int timeType) { in DateTimeRule() argument
109 this.timeRuleType = timeType; in DateTimeRule()
133 int millisInDay, int timeType) { in DateTimeRule() argument
140 this.timeRuleType = timeType; in DateTimeRule()
163 int millisInDay, int timeType) { in DateTimeRule() argument
170 this.timeRuleType = timeType; in DateTimeRule()
DTimeZone.java544 Output<TimeType> timeType = new Output<>(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()
DBasicTimeZone.java311 int timeType = tar.getTimeType(); in getTimeZoneRules() local
315 if (timeType == DateTimeRule.STANDARD_TIME) { in getTimeZoneRules()
318 if (timeType == DateTimeRule.WALL_TIME) { in getTimeZoneRules()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeArrayTimeZoneRule.java25 private final int timeType; field in TimeArrayTimeZoneRule
43 …imeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int timeType) { in TimeArrayTimeZoneRule() argument
51 this.timeType = timeType; in TimeArrayTimeZoneRule()
72 return timeType; in getTimeType()
132 if (timeType == ((TimeArrayTimeZoneRule)other).timeType in isEquivalentTo()
150 if (timeType != DateTimeRule.UTC_TIME) { in getUTC()
153 if (timeType == DateTimeRule.WALL_TIME) { in getUTC()
169 buf.append(timeType); in toString()
DDateTimeRule.java96 int millisInDay, int timeType) { in DateTimeRule() argument
102 this.timeRuleType = timeType; in DateTimeRule()
124 int millisInDay, int timeType) { in DateTimeRule() argument
131 this.timeRuleType = timeType; in DateTimeRule()
152 int millisInDay, int timeType) { in DateTimeRule() argument
159 this.timeRuleType = timeType; in DateTimeRule()
DTimeZone.java480 Output<TimeType> timeType = new Output<>(TimeType.UNKNOWN); 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()
497 if (daylight && timeType.value == TimeType.STANDARD || in _getDisplayName()
498 !daylight && timeType.value == TimeType.DAYLIGHT) { in _getDisplayName()
DBasicTimeZone.java306 int timeType = tar.getTimeType(); in getTimeZoneRules() local
310 if (timeType == DateTimeRule.STANDARD_TIME) { in getTimeZoneRules()
313 if (timeType == DateTimeRule.WALL_TIME) { in getTimeZoneRules()
/external/icu/icu4c/source/i18n/
Ddtrule.cpp25 TimeRuleType timeType) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
27 fDateRuleType(DateTimeRule::DOM), fTimeRuleType(timeType) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
34 TimeRuleType timeType) in DateTimeRule() argument
36 fDateRuleType(DateTimeRule::DOW), fTimeRuleType(timeType) { in DateTimeRule()
44 TimeRuleType timeType) in DateTimeRule() argument
47 fTimeRuleType(timeType) { in DateTimeRule()
Dtzfmt.cpp655 UnicodeString& name, UTimeZoneFormatTimeType* timeType /* = NULL */) const { in format()
656 if (timeType) { in format()
657 *timeType = UTZFMT_TIME_TYPE_UNKNOWN; in format()
673 formatSpecific(tz, UTZNM_LONG_STANDARD, UTZNM_LONG_DAYLIGHT, date, name, timeType); in format()
676 formatSpecific(tz, UTZNM_SHORT_STANDARD, UTZNM_SHORT_DAYLIGHT, date, name, timeType); in format()
769 if (timeType) { in format()
770 … *timeType = (dstOffset != 0) ? UTZFMT_TIME_TYPE_DAYLIGHT : UTZFMT_TIME_TYPE_STANDARD; in format()
815 UTimeZoneFormatTimeType* timeType /*= NULL*/) const { in parse()
816 return parse(style, text, pos, getDefaultParseOptions(), timeType); in parse()
821 int32_t parseOptions, UTimeZoneFormatTimeType* timeType /* = NULL */) const { in parse()
[all …]
Dtzgnames.cpp121 UTimeZoneFormatTimeType timeType; member
246 gmatch->timeType = UTZFMT_TIME_TYPE_UNKNOWN; in handleMatch()
288 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
891 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const { in findBestMatch() argument
892 timeType = UTZFMT_TIME_TYPE_UNKNOWN; in findBestMatch()
974 timeType = bestMatchTimeType; in findBestMatch()
1004 timeType = bestMatchTimeType; in findBestMatch()
1325 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const { in findBestMatch() argument
1326 return fRef->obj->findBestMatch(text, start, types, tzID, timeType, status); in findBestMatch()
Dbasictz.cpp428 DateTimeRule::TimeRuleType timeType; in getTimeZoneRulesAfter() local
432 timeType = tar->getTimeType(); in getTimeZoneRulesAfter()
435 if (timeType == DateTimeRule::STANDARD_TIME) { in getTimeZoneRulesAfter()
438 if (timeType == DateTimeRule::WALL_TIME) { in getTimeZoneRulesAfter()
462 tar->getRawOffset(), tar->getDSTSavings(), newTimes, asize, timeType); in getTimeZoneRulesAfter()
Dtzgnames.h58 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
Dtimezone.cpp1208 UTimeZoneFormatTimeType timeType = UTZFMT_TIME_TYPE_UNKNOWN; in getDisplayName() local
1220 tzfmt->format(UTZFMT_STYLE_GENERIC_LOCATION, *this, date, result, &timeType); in getDisplayName()
1223 tzfmt->format(UTZFMT_STYLE_GENERIC_LONG, *this, date, result, &timeType); in getDisplayName()
1226 tzfmt->format(UTZFMT_STYLE_GENERIC_SHORT, *this, date, result, &timeType); in getDisplayName()
1234 …if ((inDaylight && timeType == UTZFMT_TIME_TYPE_STANDARD) || (!inDaylight && timeType == UTZFMT_TI… in getDisplayName()
/external/icu/icu4c/source/i18n/unicode/
Ddtrule.h74 int32_t millisInDay, TimeRuleType timeType);
92 int32_t millisInDay, TimeRuleType timeType);
110 int32_t millisInDay, TimeRuleType timeType);
Dtzfmt.h540 UnicodeString& name, UTimeZoneFormatTimeType* timeType = NULL) const;
603 int32_t parseOptions, UTimeZoneFormatTimeType* timeType = NULL) const;
621 UTimeZoneFormatTimeType* timeType = NULL) const;
727 UDate date, UnicodeString& name, UTimeZoneFormatTimeType *timeType) const;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTimeZoneGenericNames.java609 final TimeType timeType; field in TimeZoneGenericNames.GenericMatchInfo
615 …ivate GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength, TimeType timeType) { in GenericMatchInfo() argument
619 this.timeType = timeType; in GenericMatchInfo()
630 public TimeType timeType() { in timeType() method in TimeZoneGenericNames.GenericMatchInfo
631 return timeType; in timeType()
742 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
801 TimeType timeType = TimeType.UNKNOWN; in createGenericMatchInfo() local
805 timeType = TimeType.STANDARD; in createGenericMatchInfo()
812 timeType = TimeType.STANDARD; in createGenericMatchInfo()
829 … GenericMatchInfo gmatch = new GenericMatchInfo(nameType, tzID, matchInfo.matchLength(), timeType); in createGenericMatchInfo()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneGenericNames.java604 final TimeType timeType; field in TimeZoneGenericNames.GenericMatchInfo
610 …ivate GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength, TimeType timeType) { in GenericMatchInfo() argument
614 this.timeType = timeType; in GenericMatchInfo()
625 public TimeType timeType() { in timeType() method in TimeZoneGenericNames.GenericMatchInfo
626 return timeType; in timeType()
737 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
796 TimeType timeType = TimeType.UNKNOWN; in createGenericMatchInfo() local
800 timeType = TimeType.STANDARD; in createGenericMatchInfo()
807 timeType = TimeType.STANDARD; in createGenericMatchInfo()
824 … GenericMatchInfo gmatch = new GenericMatchInfo(nameType, tzID, matchInfo.matchLength(), timeType); in createGenericMatchInfo()
/external/icu/icu4c/source/test/intltest/
Dtzfmttst.cpp762 UTimeZoneFormatTimeType timeType; member
877 } else if (ttype != DATA[i].timeType) { in TestParse()
878 errMsg = (UnicodeString)"Time type: " + ttype + " - expected: " + DATA[i].timeType; in TestParse()
1064 UTimeZoneFormatTimeType timeType; member
1152 UTimeZoneFormatTimeType timeType; in TestFormat() local
1154 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormat()
1159 if (DATA[i].timeType != timeType) { in TestFormat()
1161 + timeType + ", expected=" + DATA[i].timeType); in TestFormat()
1249 UTimeZoneFormatTimeType timeType; in TestFormatTZDBNames() local
1251 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormatTZDBNames()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java665 Output<TimeType> timeType = new Output<>(TimeType.UNKNOWN); in TestParse() local
667 TimeZone tz = tzfmt.parse(style, text, pos, options, timeType); in TestParse()
678 } else if (timeType.value != expType) { in TestParse()
679 errMsg = "Time type: " + timeType + " - expected: " + expType; in TestParse()
956 Output<TimeType> timeType = new Output<>(); in TestFormat() local
960 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat()
962 if (!out.equals(testCase[4]) || timeType.value != testCase[5]) { in TestFormat()
965 + "]; actual [output=" + out + ",type=" + timeType.value + "]"); in TestFormat()
971 out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat()
973 if (!out.equals(testCase[4]) || timeType.value != testCase[5]) { in TestFormat()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java662 Output<TimeType> timeType = new Output<>(TimeType.UNKNOWN); in TestParse() local
664 TimeZone tz = tzfmt.parse(style, text, pos, options, timeType); in TestParse()
675 } else if (timeType.value != expType) { in TestParse()
676 errMsg = "Time type: " + timeType + " - expected: " + expType; in TestParse()
953 Output<TimeType> timeType = new Output<>(); in TestFormat() local
957 … String out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat()
959 if (!out.equals(testCase[4]) || timeType.value != testCase[5]) { in TestFormat()
962 + "]; actual [output=" + out + ",type=" + timeType.value + "]"); in TestFormat()
968 out = tzfmt.format((Style)testCase[3], tz, ((Date)testCase[2]).getTime(), timeType); in TestFormat()
970 if (!out.equals(testCase[4]) || timeType.value != testCase[5]) { in TestFormat()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java824 public String format(Style style, TimeZone tz, long date, Output<TimeType> timeType) { in format() argument
827 if (timeType != null) { in format()
828 timeType.value = TimeType.UNKNOWN; in format()
844 … result = formatSpecific(tz, NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT, date, timeType); in format()
847 … result = formatSpecific(tz, NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT, date, timeType); in format()
937 if (timeType != null) { in format()
938 timeType.value = (offsets[1] != 0) ? TimeType.DAYLIGHT : TimeType.STANDARD; in format()
1011 …e style, String text, ParsePosition pos, EnumSet<ParseOption> options, Output<TimeType> timeType) { in parse() argument
1012 if (timeType == null) { in parse()
1013 timeType = new Output<TimeType>(TimeType.UNKNOWN); in parse()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java881 public String format(Style style, TimeZone tz, long date, Output<TimeType> timeType) { in format() argument
884 if (timeType != null) { in format()
885 timeType.value = TimeType.UNKNOWN; in format()
901 … result = formatSpecific(tz, NameType.LONG_STANDARD, NameType.LONG_DAYLIGHT, date, timeType); in format()
904 … result = formatSpecific(tz, NameType.SHORT_STANDARD, NameType.SHORT_DAYLIGHT, date, timeType); in format()
994 if (timeType != null) { in format()
995 timeType.value = (offsets[1] != 0) ? TimeType.DAYLIGHT : TimeType.STANDARD; in format()
1072 …e style, String text, ParsePosition pos, EnumSet<ParseOption> options, Output<TimeType> timeType) { in parse() argument
1073 if (timeType == null) { in parse()
1074 timeType = new Output<TimeType>(TimeType.UNKNOWN); in parse()
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DTestCldr.java198 numberType, dateType, timeType, date, field, zone, parse, input, draft enumConstant
452 case timeType:
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp1040 STDMETHODIMP CHandler::GetFileTimeType(UInt32 *timeType) in GetFileTimeType() argument
1042 *timeType = NFileTimeType::kUnix; in GetFileTimeType()