Home
last modified time | relevance | path

Searched refs:ZoneOffsetTransitionRule (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneOffsetTransitionRule.java70 import java.time.zone.ZoneOffsetTransitionRule;
71 import java.time.zone.ZoneOffsetTransitionRule.TimeDefinition;
91 ZoneOffsetTransitionRule.of( in test_factory_nullMonth()
98 ZoneOffsetTransitionRule.of( in test_factory_nullTime()
105 ZoneOffsetTransitionRule.of( in test_factory_nullTimeDefinition()
112 ZoneOffsetTransitionRule.of( in test_factory_nullStandardOffset()
119 ZoneOffsetTransitionRule.of( in test_factory_nullOffsetBefore()
126 ZoneOffsetTransitionRule.of( in test_factory_nullOffsetAfter()
133 ZoneOffsetTransitionRule.of( in test_factory_invalidDayOfMonthIndicator_tooSmall()
140 ZoneOffsetTransitionRule.of( in test_factory_invalidDayOfMonthIndicator_zero()
[all …]
DTCKFixedZoneRules.java75 import java.time.zone.ZoneOffsetTransitionRule;
76 import java.time.zone.ZoneOffsetTransitionRule.TimeDefinition;
199 …test.getTransitionRules().add(ZoneOffsetTransitionRule.of(Month.JULY, 2, null, LocalTime.of(12, 30… in test_getTransitionRules_immutable()
DTCKZoneRules.java84 import java.time.zone.ZoneOffsetTransitionRule;
85 import java.time.zone.ZoneOffsetTransitionRule.TimeDefinition;
370 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_getTransitionRules()
373 ZoneOffsetTransitionRule in = rules.get(0); in test_London_getTransitionRules()
384 ZoneOffsetTransitionRule out = rules.get(1); in test_London_getTransitionRules()
415 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_nextTransition_rulesBased()
436 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_nextTransition_lastYear()
462 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_previousTransition_rulesBased()
1010ZoneOffsetTransitionRule.TimeDefinition timeDefinition = ZoneOffsetTransitionRule.TimeDefinition.v… in test_of()
1011 ZoneOffsetTransitionRule rule1 = ZoneOffsetTransitionRule.of(Month.FEBRUARY, in test_of()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
DTCKZoneOffsetTransitionRuleSerialization.java66 import java.time.zone.ZoneOffsetTransitionRule;
67 import java.time.zone.ZoneOffsetTransitionRule.TimeDefinition;
88 ZoneOffsetTransitionRule test = ZoneOffsetTransitionRule.of( in test_serialization_unusualOffsets()
98 ZoneOffsetTransitionRule test = ZoneOffsetTransitionRule.of( in test_serialization_endOfDay()
106 ZoneOffsetTransitionRule test = ZoneOffsetTransitionRule.of( in test_serialization_unusualTime()
114 ZoneOffsetTransitionRule test = ZoneOffsetTransitionRule.of( in test_serialization_floatingWeek()
122 ZoneOffsetTransitionRule test = ZoneOffsetTransitionRule.of( in test_serialization_floatingWeekBackwards()
130 ZoneOffsetTransitionRule test = ZoneOffsetTransitionRule.of( in test_serialization_fixedDate()
138 assertNotSerializable(ZoneOffsetTransitionRule.class); in test_invalid_serialform()
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java100 public final class ZoneOffsetTransitionRule implements Serializable { class
171 public static ZoneOffsetTransitionRule of( in of()
193 …return new ZoneOffsetTransitionRule(month, dayOfMonthIndicator, dayOfWeek, time, timeEndOfDay, tim… in of()
213 ZoneOffsetTransitionRule( in ZoneOffsetTransitionRule() method in ZoneOffsetTransitionRule
340 static ZoneOffsetTransitionRule readExternal(DataInput in) throws IOException { in readExternal()
355 …return ZoneOffsetTransitionRule.of(month, dom, dow, time, timeByte == 24, defn, std, before, after… in readExternal()
517 if (otherRule instanceof ZoneOffsetTransitionRule) { in equals()
518 ZoneOffsetTransitionRule other = (ZoneOffsetTransitionRule) otherRule; in equals()
DIcuZoneRulesProvider.java120 List<ZoneOffsetTransitionRule> lastRules = new ArrayList<>(); in generateZoneRules()
224 private static ZoneOffsetTransitionRule toZoneOffsetTransitionRule( in toZoneOffsetTransitionRule()
266 ZoneOffsetTransitionRule.TimeDefinition timeDefinition; in toZoneOffsetTransitionRule()
269 timeDefinition = ZoneOffsetTransitionRule.TimeDefinition.WALL; in toZoneOffsetTransitionRule()
272 timeDefinition = ZoneOffsetTransitionRule.TimeDefinition.STANDARD; in toZoneOffsetTransitionRule()
275 timeDefinition = ZoneOffsetTransitionRule.TimeDefinition.UTC; in toZoneOffsetTransitionRule()
285 return ZoneOffsetTransitionRule.of( in toZoneOffsetTransitionRule()
DZoneRules.java146 private final ZoneOffsetTransitionRule[] lastRules;
159 private static final ZoneOffsetTransitionRule[] EMPTY_LASTRULES =
160 new ZoneOffsetTransitionRule[0];
180 List<ZoneOffsetTransitionRule> lastRules) { in of()
215 List<ZoneOffsetTransitionRule> lastRules) { in ZoneRules()
256 this.lastRules = lastRules.toArray(new ZoneOffsetTransitionRule[lastRules.size()]); in ZoneRules()
272 ZoneOffsetTransitionRule[] lastRules) { in ZoneRules()
417 for (ZoneOffsetTransitionRule rule : lastRules) { in writeExternal()
451 ZoneOffsetTransitionRule[] rules = (ruleSize == 0) ? in readExternal()
452 EMPTY_LASTRULES : new ZoneOffsetTransitionRule[ruleSize]; in readExternal()
[all …]
DSer.java154 ((ZoneOffsetTransitionRule) object).writeExternal(out); in writeInternal()
198 return ZoneOffsetTransitionRule.readExternal(in); in readInternal()
/libcore/
Dopenjdk_java_files.bp833 "ojluni/src/main/java/java/time/zone/ZoneOffsetTransitionRule.java",