Home
last modified time | relevance | path

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

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeZoneFormatTest.java43 import ohos.global.icu.text.TimeZoneFormat.TimeType;
567 null, "Etc/GMT", 1, TimeType.UNKNOWN}, in TestParse()
570 null, "Etc/GMT", 1, TimeType.UNKNOWN}, in TestParse()
573 EnumSet.of(ParseOption.ALL_STYLES), "Etc/GMT", 1, TimeType.UNKNOWN}, in TestParse()
576 null, "Africa/Lusaka", 11, TimeType.UNKNOWN}, in TestParse()
579 EnumSet.of(ParseOption.ALL_STYLES), "Africa/Lusaka", 11, TimeType.UNKNOWN}, in TestParse()
582 null, "Etc/GMT", 6, TimeType.UNKNOWN}, in TestParse()
585 null, "GMT-01:30:45", 9, TimeType.UNKNOWN}, in TestParse()
588 null, "GMT-07:00", 2, TimeType.UNKNOWN}, in TestParse()
591 null, "GMT-22:22", 5, TimeType.UNKNOWN}, in TestParse()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java42 import com.ibm.icu.text.TimeZoneFormat.TimeType;
564 null, "Etc/GMT", 1, TimeType.UNKNOWN}, in TestParse()
567 null, "Etc/GMT", 1, TimeType.UNKNOWN}, in TestParse()
570 EnumSet.of(ParseOption.ALL_STYLES), "Etc/GMT", 1, TimeType.UNKNOWN}, in TestParse()
573 null, "Africa/Lusaka", 11, TimeType.UNKNOWN}, in TestParse()
576 EnumSet.of(ParseOption.ALL_STYLES), "Africa/Lusaka", 11, TimeType.UNKNOWN}, in TestParse()
579 null, "Etc/GMT", 6, TimeType.UNKNOWN}, in TestParse()
582 null, "GMT-01:30:45", 9, TimeType.UNKNOWN}, in TestParse()
585 null, "GMT-07:00", 2, TimeType.UNKNOWN}, in TestParse()
588 null, "GMT-22:22", 5, TimeType.UNKNOWN}, in TestParse()
[all …]
/third_party/python/Include/
Ddatetime.h162 PyTypeObject *TimeType; member
212 #define PyTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TimeType)
213 #define PyTime_CheckExact(op) Py_IS_TYPE(op, PyDateTimeAPI->TimeType)
236 Py_None, PyDateTimeAPI->TimeType)
240 Py_None, fold, PyDateTimeAPI->TimeType)
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTimeZoneGenericNames.java26 import com.ibm.icu.text.TimeZoneFormat.TimeType;
604 final TimeType timeType;
607 this(nameType, tzID, matchLength, TimeType.UNKNOWN); in GenericMatchInfo()
610 …private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength, TimeType timeType… in GenericMatchInfo()
625 public TimeType timeType() { in timeType()
737 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
796 TimeType timeType = TimeType.UNKNOWN; in createGenericMatchInfo()
800 timeType = TimeType.STANDARD; in createGenericMatchInfo()
807 timeType = TimeType.STANDARD; in createGenericMatchInfo()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DTimeZoneGenericNames.java27 import ohos.global.icu.text.TimeZoneFormat.TimeType;
609 final TimeType timeType;
612 this(nameType, tzID, matchLength, TimeType.UNKNOWN); in GenericMatchInfo()
615 …private GenericMatchInfo(GenericNameType nameType, String tzID, int matchLength, TimeType timeType… in GenericMatchInfo()
630 public TimeType timeType() { in timeType()
742 if (bestMatch.timeType != TimeType.STANDARD) { in findBestMatch()
801 TimeType timeType = TimeType.UNKNOWN; in createGenericMatchInfo()
805 timeType = TimeType.STANDARD; in createGenericMatchInfo()
812 timeType = TimeType.STANDARD; in createGenericMatchInfo()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DTimeZoneFormat.java258 public enum TimeType { enum in TimeZoneFormat
824 public String format(Style style, TimeZone tz, long date, Output<TimeType> timeType) { in format()
828 timeType.value = TimeType.UNKNOWN; 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()
1013 timeType = new Output<TimeType>(TimeType.UNKNOWN); in parse()
1015 timeType.value = TimeType.UNKNOWN; in parse()
1262TimeType parsedTimeType = TimeType.UNKNOWN; // stores successfully parsed time type for later use in parse()
1285 parsedTimeType = TimeType.UNKNOWN; in parse()
1310 parsedTimeType = TimeType.UNKNOWN; in parse()
[all …]
DSimpleDateFormat.java39 import ohos.global.icu.text.TimeZoneFormat.TimeType;
2401 Output<TimeType> tzTimeType = new Output<>(TimeType.UNKNOWN); in parse()
2657 TimeType tztype = tzTimeType.value; in parse()
2658 if (ambiguousYear[0] || tztype != TimeType.UNKNOWN) { in parse()
2672 if (tztype != TimeType.UNKNOWN) { in parse()
2689 if (tztype == TimeType.STANDARD) { in parse()
2701 if (tztype == TimeType.STANDARD && offsets[1] != 0 in parse()
2702 || tztype == TimeType.DAYLIGHT && offsets[1] == 0) { in parse()
2715 if (tztype == TimeType.STANDARD) { in parse()
3106 MessageFormat numericLeapMonthFormatter, Output<TimeType> tzTimeType) { in subParse()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java288 public enum TimeType { enum in TimeZoneFormat
881 public String format(Style style, TimeZone tz, long date, Output<TimeType> timeType) { in format()
885 timeType.value = TimeType.UNKNOWN; 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()
1074 timeType = new Output<TimeType>(TimeType.UNKNOWN); in parse()
1076 timeType.value = TimeType.UNKNOWN; in parse()
1323TimeType parsedTimeType = TimeType.UNKNOWN; // stores successfully parsed time type for later use in parse()
1346 parsedTimeType = TimeType.UNKNOWN; in parse()
1371 parsedTimeType = TimeType.UNKNOWN; in parse()
[all …]
DSimpleDateFormat.java38 import com.ibm.icu.text.TimeZoneFormat.TimeType;
2424 Output<TimeType> tzTimeType = new Output<>(TimeType.UNKNOWN); in parse()
2680 TimeType tztype = tzTimeType.value; in parse()
2681 if (ambiguousYear[0] || tztype != TimeType.UNKNOWN) { in parse()
2695 if (tztype != TimeType.UNKNOWN) { in parse()
2712 if (tztype == TimeType.STANDARD) { in parse()
2724 if (tztype == TimeType.STANDARD && offsets[1] != 0 in parse()
2725 || tztype == TimeType.DAYLIGHT && offsets[1] == 0) { in parse()
2738 if (tztype == TimeType.STANDARD) { in parse()
3128 MessageFormat numericLeapMonthFormatter, Output<TimeType> tzTimeType) { in subParse()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DTimeZone.java29 import ohos.global.icu.text.TimeZoneFormat.TimeType;
509 Output<TimeType> timeType = new Output<>(TimeType.UNKNOWN); in _getDisplayName()
526 if (daylight && timeType.value == TimeType.STANDARD || in _getDisplayName()
527 !daylight && timeType.value == TimeType.DAYLIGHT) { in _getDisplayName()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeZone.java28 import com.ibm.icu.text.TimeZoneFormat.TimeType;
544 Output<TimeType> timeType = new Output<>(TimeType.UNKNOWN); in _getDisplayName()
561 if (daylight && timeType.value == TimeType.STANDARD || in _getDisplayName()
562 !daylight && timeType.value == TimeType.DAYLIGHT) { in _getDisplayName()
/third_party/benchmark/test/
Dbenchmark_name_gtest.cc51 TEST(BenchmarkNameTest, TimeType) { in TEST() argument
/third_party/icu/icu4j/
Dcoverage-exclusion.txt1004 com/ibm/icu/text/TimeZoneFormat$TimeType#valueOf:(Ljava/lang/String;)Lcom/ibm/icu/text/TimeZoneForm…
1005 com/ibm/icu/text/TimeZoneFormat$TimeType#values:()[Lcom/ibm/icu/text/TimeZoneFormat$TimeType;
/third_party/python/Modules/
D_testcapimodule.c2672 PyDateTimeAPI->TimeType); in get_time_fromtime()
2699 PyDateTimeAPI->TimeType); in get_time_fromtimeandfold()
D_datetimemodule.c6489 capi->TimeType = &PyDateTime_TimeType; in get_datetime_capi()
/third_party/icu/icu4j/tools/build/
Dicu4j60.api3.gz
Dicu4j61.api3.gz
Dicu4j62.api3.gz
Dicu4j65.api3.gz12;ICU4J 65.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j64.api3.gz
Dicu4j69.api3.gz12;ICU4J 69.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j68.api3.gz
Dicu4j66.api3.gz
Dicu4j67.api3.gz
Dicu4j63.api3.gz12;ICU4J 63.1;; 2ST@3.6;PB;NS;NF;NS; ...