Home
last modified time | relevance | path

Searched refs:OFFSET_0300 (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneOffsetTransitionRule.java84 private static final ZoneOffset OFFSET_0300 = ZoneOffset.ofHours(3); 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()
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()
156 OFFSET_0200, OFFSET_0200, OFFSET_0300); in test_factory_invalidMidnightFlag()
[all …]
DTCKZoneOffsetTransition.java83 private static final ZoneOffset OFFSET_0300 = ZoneOffset.ofHours(3); field in TCKZoneOffsetTransition
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()
128 assertEquals(test.getOffsetAfter(), OFFSET_0300); in test_getters_gap() local
136 ZoneOffsetTransition test = ZoneOffsetTransition.of(before, OFFSET_0300, OFFSET_0200); in test_getters_overlap()
141 assertEquals(test.getInstant(), before.toInstant(OFFSET_0300)); in test_getters_overlap()
142 assertEquals(test.getOffsetBefore(), OFFSET_0300); in test_getters_overlap() local
154 ZoneOffsetTransition test = ZoneOffsetTransition.of(ldt, OFFSET_0200, OFFSET_0300); in test_isValidOffset_gap()
158 assertEquals(test.isValidOffset(OFFSET_0300), false); in test_isValidOffset_gap()
165 ZoneOffsetTransition test = ZoneOffsetTransition.of(ldt, OFFSET_0300, OFFSET_0200); in test_isValidOffset_overlap()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
DTCKZoneOffsetTransitionRuleSerialization.java80 private static final ZoneOffset OFFSET_0300 = ZoneOffset.ofHours(3); 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.java80 private static final ZoneOffset OFFSET_0300 = ZoneOffset.ofHours(3); 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()