Home
last modified time | relevance | path

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

12

/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.java88 int millisInDay, int timeType) { in DateTimeRule() argument
94 this.timeRuleType = timeType; in DateTimeRule()
116 int millisInDay, int timeType) { in DateTimeRule() argument
123 this.timeRuleType = timeType; in DateTimeRule()
144 int millisInDay, int timeType) { in DateTimeRule() argument
151 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.java302 int timeType = tar.getTimeType(); in getTimeZoneRules() local
306 if (timeType == DateTimeRule.STANDARD_TIME) { in getTimeZoneRules()
309 if (timeType == DateTimeRule.WALL_TIME) { in getTimeZoneRules()
/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/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 …]
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.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()
Dtzgnames.h58 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
/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/libicu/cts_headers/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/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/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/icu4c/source/test/intltest/
Dtzfmttst.cpp763 UTimeZoneFormatTimeType timeType; member
878 } else if (ttype != DATA[i].timeType) { in TestParse()
879 errMsg = (UnicodeString)"Time type: " + ttype + " - expected: " + DATA[i].timeType; in TestParse()
1065 UTimeZoneFormatTimeType timeType; member
1153 UTimeZoneFormatTimeType timeType; in TestFormat() local
1155 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormat()
1160 if (DATA[i].timeType != timeType) { in TestFormat()
1162 + timeType + ", expected=" + DATA[i].timeType); in TestFormat()
1250 UTimeZoneFormatTimeType timeType; in TestFormatTZDBNames() local
1252 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/icu/libicu/cts_headers/
Dtzgnames.h58 UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;

12