Home
last modified time | relevance | path

Searched refs:OFFSET_0200 (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneOffsetTransitionRule.java83 private static final ZoneOffset OFFSET_0200 = ZoneOffset.ofHours(2); field in TCKZoneOffsetTransitionRule
93 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_factory_nullMonth()
100 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_factory_nullTime()
107 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_factory_nullTimeDefinition()
114 null, OFFSET_0200, OFFSET_0300); in test_factory_nullStandardOffset()
121 OFFSET_0200, null, OFFSET_0300); in test_factory_nullOffsetBefore()
128 OFFSET_0200, OFFSET_0200, null); in test_factory_nullOffsetAfter()
135 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_factory_invalidDayOfMonthIndicator_tooSmall()
142 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_factory_invalidDayOfMonthIndicator_zero()
149 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_factory_invalidDayOfMonthIndicator_tooLarge()
[all …]
DTCKZoneOffsetTransition.java81 private static final ZoneOffset OFFSET_0200 = ZoneOffset.ofHours(2); field in TCKZoneOffsetTransition
91 ZoneOffsetTransition.of(null, OFFSET_0100, OFFSET_0200); in test_factory_nullTransition()
96 ZoneOffsetTransition.of(LocalDateTime.of(2010, 12, 3, 11, 30), null, OFFSET_0200); in test_factory_nullOffsetBefore()
101 ZoneOffsetTransition.of(LocalDateTime.of(2010, 12, 3, 11, 30), OFFSET_0200, null); in test_factory_nullOffsetAfter()
106 ZoneOffsetTransition.of(LocalDateTime.of(2010, 12, 3, 11, 30), OFFSET_0200, OFFSET_0200); in test_factory_sameOffset()
111 … ZoneOffsetTransition.of(LocalDateTime.of(2010, 12, 3, 11, 30, 0, 500), OFFSET_0200, OFFSET_0300); in test_factory_noNanos()
121 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0200, OFFSET_0300); in test_getters_gap()
126 assertEquals(test.getInstant(), before.toInstant(OFFSET_0200)); in test_getters_gap()
127 assertEquals(test.getOffsetBefore(), OFFSET_0200); in test_getters_gap() local
136 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0300, OFFSET_0200); in test_getters_overlap()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
DTCKZoneOffsetTransitionRuleSerialization.java79 private static final ZoneOffset OFFSET_0200 = ZoneOffset.ofHours(2); field in TCKZoneOffsetTransitionRuleSerialization
100 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_serialization_endOfDay()
108 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_serialization_unusualTime()
116 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_serialization_floatingWeek()
124 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_serialization_floatingWeekBackwards()
132 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_serialization_fixedDate()
DTCKZoneOffsetTransitionSerialization.java79 private static final ZoneOffset OFFSET_0200 = ZoneOffset.ofHours(2); field in TCKZoneOffsetTransitionSerialization
101 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0200, OFFSET_0300); in test_serialization_gap()
109 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0300, OFFSET_0200); in test_serialization_overlap()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZonedDateTime.java147 private static final ZoneOffset OFFSET_0200 = ZoneOffset.ofHours(2); field in TCKZonedDateTime
153 private static final ZoneId ZONE_0200 = OFFSET_0200;
358 check(test, 2008, 6, 30, 11, 30, 10, 500, OFFSET_0200, ZONE_PARIS);
364 …check(test, 2008, 3, 30, 3, 30, 0, 0, OFFSET_0200, ZONE_PARIS); // one hour later in summer offset
370 … check(test, 2008, 10, 26, 2, 30, 0, 0, OFFSET_0200, ZONE_PARIS); // same time in summer offset
395 check(test, 2008, 6, 30, 11, 30, 10, 500, OFFSET_0200, ZONE_PARIS);
401 …check(test, 2008, 3, 30, 3, 30, 0, 0, OFFSET_0200, ZONE_PARIS); // one hour later in summer offset
407 … check(test, 2008, 10, 26, 2, 30, 0, 0, OFFSET_0200, ZONE_PARIS); // same time in summer offset
427 check(test, 2008, 6, 30, 11, 30, 10, 500, OFFSET_0200, ZONE_PARIS);
435 Instant instant = LocalDateTime.of(2008, 6, 30, 11, 30, 10, 35).toInstant(OFFSET_0200);
[all …]