Home
last modified time | relevance | path

Searched refs:TimeType (Results 1 - 15 of 15) sorted by relevance

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A 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 in TestParse()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A 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 in TestParse()
[all...]
/third_party/python/Include/
H A 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/
H A 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()
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 = TimeType in createGenericMatchInfo()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A 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()
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 = TimeType in createGenericMatchInfo()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DTimeZoneFormat.java258 public enum TimeType { enum in TimeZoneFormat
810 * the style. This method takes an extra argument <code>Output&lt;TimeType&gt; timeType</code>
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 public TimeZone parse(Style 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 in parse()
[all...]
H A 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 in parse()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DTimeZoneFormat.java288 public enum TimeType { enum in TimeZoneFormat
866 * the style. This method takes an extra argument <code>Output&lt;TimeType&gt; timeType</code>
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 public TimeZone parse(Style style, String text, ParsePosition pos, EnumSet<ParseOption> options, Output<TimeType> timeType) { in parse()
1074 timeType = new Output<>(TimeType.UNKNOWN); in parse()
1076 timeType.value = TimeType.UNKNOWN; in parse()
1323 TimeType parsedTimeTyp in parse()
[all...]
H A 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 in parse()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A 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/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A 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/benchmark/test/
H A Dbenchmark_name_gtest.cc59 TEST(BenchmarkNameTest, TimeType) { in TEST()
/third_party/python/Modules/
H A D_testcapimodule.c2847 PyDateTimeAPI->TimeType); in get_time_fromtime()
2874 PyDateTimeAPI->TimeType); in get_time_fromtimeandfold()
H A D_datetimemodule.c6693 capi->TimeType = &PyDateTime_TimeType; in get_datetime_capi()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 54 milliseconds