Home
last modified time | relevance | path

Searched refs:ZoneOffset (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/testing/src/com/android/icu/test/util/
DExtendedTimeZoneParameterizedTest.java43 import java.time.ZoneOffset;
89 LocalDateTime.of(1900, Month.DECEMBER, 24, 12, 0).toInstant(ZoneOffset.UTC), in testTransitionsNearInstants()
90 LocalDateTime.of(1940, Month.JULY, 1, 0, 0).toInstant(ZoneOffset.UTC), in testTransitionsNearInstants()
91 LocalDateTime.of(1970, Month.JANUARY, 1, 2, 3).toInstant(ZoneOffset.UTC), in testTransitionsNearInstants()
92 LocalDateTime.of(1980, Month.FEBRUARY, 4, 5, 6).toInstant(ZoneOffset.UTC), in testTransitionsNearInstants()
93 LocalDateTime.of(1990, Month.MARCH, 7, 8, 9).toInstant(ZoneOffset.UTC), in testTransitionsNearInstants()
94 LocalDateTime.of(2000, Month.APRIL, 10, 11, 12).toInstant(ZoneOffset.UTC), in testTransitionsNearInstants()
95 LocalDateTime.of(2016, Month.MAY, 13, 14, 15).toInstant(ZoneOffset.UTC), in testTransitionsNearInstants()
96 LocalDateTime.of(2020, Month.JUNE, 16, 17, 18).toInstant(ZoneOffset.UTC), in testTransitionsNearInstants()
97 LocalDateTime.of(2100, Month.JULY, 19, 20, 21).toInstant(ZoneOffset.UTC), in testTransitionsNearInstants()
[all …]
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/icu/util/
DExtendedTimeZone.java36 import java.time.ZoneOffset;
129 ZoneOffset baseStandardOffset = null; in createZoneRules()
130 ZoneOffset baseWallOffset = null; in createZoneRules()
163 ZoneOffset lastStandardOffset = baseStandardOffset; in createZoneRules()
164 ZoneOffset lastWallOffset = baseWallOffset; in createZoneRules()
170 ZoneOffset ruleStandardOffset = standardOffset(timeZoneRule); in createZoneRules()
189 ZoneOffset ruleWallOffset = fullOffset(timeZoneRule); in createZoneRules()
229 ZoneOffset ruleStandardOffset = standardOffset(currentTimeZoneRule); in createZoneRules()
323 ZoneOffset lastStandardOffset, in createZoneOffsetTransitionRule()
324 ZoneOffset lastWallOffset) { in createZoneOffsetTransitionRule()
[all …]
/external/python/cpython3/Lib/test/test_zoneinfo/
Dtest_zoneinfo.py548 LMT = ZoneOffset("LMT", -timedelta(hours=6, minutes=31, seconds=2))
549 STD = ZoneOffset("STD", -timedelta(hours=6))
589 DST = ZoneOffset("DST", ONE_H, ONE_H)
615 STD = ZoneOffset("STD", ONE_H, ZERO)
616 DST = ZoneOffset("DST", 2 * ONE_H, ONE_H)
665 ZoneOffset("STD", ZERO, ZERO),
666 ZoneOffset("DST", ONE_H, ONE_H),
713 LMT = ZoneOffset("LMT", timedelta(seconds=-968))
714 GMT = ZoneOffset("GMT", ZERO)
761 UTC = ZoneOffset("UTC", ZERO, ZERO)
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/interop/
DDateJava8FallbacksTest.java5 import java.time.ZoneOffset;
20 ZoneOffset.of("Z"));
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DIcuFunctions.java10 import java.time.ZoneOffset;
191 return adjustFn.apply(date).toInstant(ZoneOffset.UTC).toEpochMilli(); in toEpochMillis()
/external/libtextclassifier/notification/src/com/android/textclassifier/notification/
DSmartSuggestionsHelper.java45 import java.time.ZoneOffset;
470 Instant.ofEpochMilli(message.getTimestamp()).atZone(ZoneOffset.systemDefault())) in extractMessages()
/external/libtextclassifier/native/utils/calendar/
Dcalendar-javaicu.cc201 TC3_DEFINE_SET(ZoneOffset, zone_offset)