Home
last modified time | relevance | path

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

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DTimeArrayTimeZoneRule.java24 private final int timeType; field in TimeArrayTimeZoneRule
38 * @param timeType The time type of the start times, which is one of
44 public TimeArrayTimeZoneRule(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 in getUTC()
[all...]
H A DDateTimeRule.java97 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
103 int millisInDay, int timeType) { in DateTimeRule()
109 this.timeRuleType = timeType; in DateTimeRule()
127 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
133 int millisInDay, int timeType) { in DateTimeRule()
140 this.timeRuleType = timeType; in DateTimeRule()
157 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
163 int millisInDay, int timeType) { in DateTimeRule()
170 this.timeRuleType = timeType; in DateTimeRule()
102 DateTimeRule(int month, int dayOfMonth, int millisInDay, int timeType) DateTimeRule() argument
132 DateTimeRule(int month, int weekInMonth, int dayOfWeek, int millisInDay, int timeType) DateTimeRule() argument
162 DateTimeRule(int month, int dayOfMonth, int dayOfWeek, boolean after, int millisInDay, int timeType) DateTimeRule() argument
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DTimeArrayTimeZoneRule.java25 private final int timeType; field in TimeArrayTimeZoneRule
39 * @param timeType The time type of the start times, which is one of
43 public TimeArrayTimeZoneRule(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 in getUTC()
[all...]
H A DDateTimeRule.java84 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
88 int millisInDay, int timeType) { in DateTimeRule()
94 this.timeRuleType = timeType; in DateTimeRule()
112 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
116 int millisInDay, int timeType) { in DateTimeRule()
123 this.timeRuleType = timeType; in DateTimeRule()
140 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
144 int millisInDay, int timeType) { in DateTimeRule()
151 this.timeRuleType = timeType; in DateTimeRule()
87 DateTimeRule(int month, int dayOfMonth, int millisInDay, int timeType) DateTimeRule() argument
115 DateTimeRule(int month, int weekInMonth, int dayOfWeek, int millisInDay, int timeType) DateTimeRule() argument
143 DateTimeRule(int month, int dayOfMonth, int dayOfWeek, boolean after, int millisInDay, int timeType) DateTimeRule() argument
/third_party/icu/icu4c/source/i18n/
H A Ddtrule.cpp25 TimeRuleType timeType) in DateTimeRule()
27 fDateRuleType(DateTimeRule::DOM), fTimeRuleType(timeType) { in DateTimeRule()
34 TimeRuleType timeType) in DateTimeRule()
36 fDateRuleType(DateTimeRule::DOW), fTimeRuleType(timeType) { in DateTimeRule()
44 TimeRuleType timeType) in DateTimeRule()
47 fTimeRuleType(timeType) { in DateTimeRule()
22 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t millisInDay, TimeRuleType timeType) DateTimeRule() argument
30 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, int32_t millisInDay, TimeRuleType timeType) DateTimeRule() argument
39 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after, int32_t millisInDay, TimeRuleType timeType) DateTimeRule() argument
H A 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 /* in parse()
[all...]
H A Dbasictz.cpp435 DateTimeRule::TimeRuleType timeType; in getTimeZoneRulesAfter() local
439 timeType = tar->getTimeType(); in getTimeZoneRulesAfter()
442 if (timeType == DateTimeRule::STANDARD_TIME) { in getTimeZoneRulesAfter()
445 if (timeType == DateTimeRule::WALL_TIME) { in getTimeZoneRulesAfter()
467 name, tar->getRawOffset(), tar->getDSTSavings(), &newTimes[0], asize, timeType), status); in getTimeZoneRulesAfter()
/third_party/node/deps/icu-small/source/i18n/
H A Ddtrule.cpp25 TimeRuleType timeType) in DateTimeRule()
27 fDateRuleType(DateTimeRule::DOM), fTimeRuleType(timeType) { in DateTimeRule()
34 TimeRuleType timeType) in DateTimeRule()
36 fDateRuleType(DateTimeRule::DOW), fTimeRuleType(timeType) { in DateTimeRule()
44 TimeRuleType timeType) in DateTimeRule()
47 fTimeRuleType(timeType) { in DateTimeRule()
22 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t millisInDay, TimeRuleType timeType) DateTimeRule() argument
30 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, int32_t millisInDay, TimeRuleType timeType) DateTimeRule() argument
39 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after, int32_t millisInDay, TimeRuleType timeType) DateTimeRule() argument
H A Dtzfmt.cpp655 UnicodeString& name, UTimeZoneFormatTimeType* timeType /* = nullptr */) 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 /*= nullptr*/) const { in parse()
816 return parse(style, text, pos, getDefaultParseOptions(), timeType); in parse()
821 int32_t parseOptions, UTimeZoneFormatTimeType* timeType /* in parse()
[all...]
H A Dbasictz.cpp435 DateTimeRule::TimeRuleType timeType; in getTimeZoneRulesAfter() local
439 timeType = tar->getTimeType(); in getTimeZoneRulesAfter()
442 if (timeType == DateTimeRule::STANDARD_TIME) { in getTimeZoneRulesAfter()
445 if (timeType == DateTimeRule::WALL_TIME) { in getTimeZoneRulesAfter()
467 name, tar->getRawOffset(), tar->getDSTSavings(), &newTimes[0], asize, timeType), status); in getTimeZoneRulesAfter()
/third_party/skia/third_party/externals/icu/source/i18n/
H A Ddtrule.cpp25 TimeRuleType timeType) in DateTimeRule()
27 fDateRuleType(DateTimeRule::DOM), fTimeRuleType(timeType) { in DateTimeRule()
34 TimeRuleType timeType) in DateTimeRule()
36 fDateRuleType(DateTimeRule::DOW), fTimeRuleType(timeType) { in DateTimeRule()
44 TimeRuleType timeType) in DateTimeRule()
47 fTimeRuleType(timeType) { in DateTimeRule()
22 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t millisInDay, TimeRuleType timeType) DateTimeRule() argument
30 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, int32_t millisInDay, TimeRuleType timeType) DateTimeRule() argument
39 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after, int32_t millisInDay, TimeRuleType timeType) DateTimeRule() argument
H A 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 /* in parse()
[all...]
/third_party/icu/icu4c/source/i18n/unicode/
H A Ddtrule.h69 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
74 int32_t millisInDay, TimeRuleType timeType);
87 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
92 int32_t millisInDay, TimeRuleType timeType);
105 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
110 int32_t millisInDay, TimeRuleType timeType);
H A Dtzfmt.h532 * @param timeType the output argument for receiving the time type (standard/daylight/unknown)
540 UnicodeString& name, UTimeZoneFormatTimeType* timeType = NULL) const;
594 * @param timeType The output argument for receiving the time type (standard/daylight/unknown),
603 int32_t parseOptions, UTimeZoneFormatTimeType* timeType = NULL) const;
612 * @param timeType The output argument for receiving the time type (standard/daylight/unknown),
621 UTimeZoneFormatTimeType* timeType = NULL) const;
723 * @param timeType when null, actual time type is set
727 UDate date, UnicodeString& name, UTimeZoneFormatTimeType *timeType) const;
/third_party/node/deps/icu-small/source/i18n/unicode/
H A Ddtrule.h69 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
74 int32_t millisInDay, TimeRuleType timeType);
87 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
92 int32_t millisInDay, TimeRuleType timeType);
105 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
110 int32_t millisInDay, TimeRuleType timeType);
H A Dtzfmt.h532 * @param timeType the output argument for receiving the time type (standard/daylight/unknown)
540 UnicodeString& name, UTimeZoneFormatTimeType* timeType = nullptr) const;
594 * @param timeType The output argument for receiving the time type (standard/daylight/unknown),
603 int32_t parseOptions, UTimeZoneFormatTimeType* timeType = nullptr) const;
612 * @param timeType The output argument for receiving the time type (standard/daylight/unknown),
621 UTimeZoneFormatTimeType* timeType = nullptr) const;
723 * @param timeType when null, actual time type is set
727 UDate date, UnicodeString& name, UTimeZoneFormatTimeType *timeType) const;
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
H A Ddtrule.h69 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
74 int32_t millisInDay, TimeRuleType timeType);
87 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
92 int32_t millisInDay, TimeRuleType timeType);
105 * @param timeType The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code>
110 int32_t millisInDay, TimeRuleType timeType);
H A Dtzfmt.h532 * @param timeType the output argument for receiving the time type (standard/daylight/unknown)
540 UnicodeString& name, UTimeZoneFormatTimeType* timeType = NULL) const;
594 * @param timeType The output argument for receiving the time type (standard/daylight/unknown),
603 int32_t parseOptions, UTimeZoneFormatTimeType* timeType = NULL) const;
612 * @param timeType The output argument for receiving the time type (standard/daylight/unknown),
621 UTimeZoneFormatTimeType* timeType = NULL) const;
723 * @param timeType when null, actual time type is set
727 UDate date, UnicodeString& name, UTimeZoneFormatTimeType *timeType) const;
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DTimeZoneGenericNames.java604 final TimeType timeType; field in TimeZoneGenericNames.GenericMatchInfo
610 private 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()
727 // if (bestMatch.nameType != GenericNameType.LONG || bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
737 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
796 TimeType timeType = TimeType.UNKNOWN; in createGenericMatchInfo()
800 timeType in createGenericMatchInfo()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DTimeZoneGenericNames.java609 final TimeType timeType; field in TimeZoneGenericNames.GenericMatchInfo
615 private 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()
732 // if (bestMatch.nameType != GenericNameType.LONG || bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
742 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
801 TimeType timeType = TimeType.UNKNOWN; in createGenericMatchInfo()
805 timeType in createGenericMatchInfo()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dtzfmttst.cpp777 UTimeZoneFormatTimeType timeType; member
784 // parseOptions expected outPos timeType in TestParse()
892 } else if (ttype != DATA[i].timeType) { in TestParse()
893 errMsg = (UnicodeString)"Time type: " + ttype + " - expected: " + DATA[i].timeType; in TestParse()
1079 UTimeZoneFormatTimeType timeType; member
1167 UTimeZoneFormatTimeType timeType; in TestFormat() local
1169 tzfmt->format(DATA[i].style, *(tz.getAlias()), DATA[i].date, out, &timeType); in TestFormat()
1174 if (DATA[i].timeType != timeType) { in TestFormat()
1176 + timeType in TestFormat()
1264 UTimeZoneFormatTimeType timeType; TestFormatTZDBNames() local
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DTimeZoneFormatTest.java662 Output<TimeType> timeType = new Output<>(TimeType.UNKNOWN); in TestParse()
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()
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 in TestFormat()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A DTimeZoneFormatTest.java665 Output<TimeType> timeType = new Output<TimeType>(TimeType.UNKNOWN); in TestParse()
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<TimeType>(); in TestFormat()
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 in TestFormat()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeZoneFormat.java866 * the style. This method takes an extra argument <code>Output&lt;TimeType&gt; timeType</code>
874 * @param timeType the output argument for receiving the time type (standard/daylight/unknown)
881 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()
1065 * @param timeType Th
1072 parse(Style style, String text, ParsePosition pos, EnumSet<ParseOption> options, Output<TimeType> timeType) parse() argument
1530 parse(Style style, String text, ParsePosition pos, Output<TimeType> timeType) parse() argument
1781 formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<TimeType> timeType) formatSpecific() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTimeZoneFormat.java810 * the style. This method takes an extra argument <code>Output&lt;TimeType&gt; timeType</code>
818 * @param timeType the output argument for receiving the time type (standard/daylight/unknown)
824 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()
1005 * @param timeType Th
1011 parse(Style style, String text, ParsePosition pos, EnumSet<ParseOption> options, Output<TimeType> timeType) parse() argument
1468 parse(Style style, String text, ParsePosition pos, Output<TimeType> timeType) parse() argument
1711 formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<TimeType> timeType) formatSpecific() argument
[all...]

Completed in 27 milliseconds

12