Home
last modified time | relevance | path

Searched refs:ZoneOffsetTransitionRule (Results 1 – 11 of 11) 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;
383 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_getTransitionRules()
386 ZoneOffsetTransitionRule in = rules.get(0); in test_London_getTransitionRules()
397 ZoneOffsetTransitionRule out = rules.get(1); in test_London_getTransitionRules()
430 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_nextTransition_rulesBased()
452 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_nextTransition_lastYear()
480 List<ZoneOffsetTransitionRule> rules = test.getTransitionRules(); in test_London_previousTransition_rulesBased()
1054ZoneOffsetTransitionRule.TimeDefinition timeDefinition = ZoneOffsetTransitionRule.TimeDefinition.v… in test_of()
1055 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/
DZoneRules.java145 private final ZoneOffsetTransitionRule[] lastRules;
158 private static final ZoneOffsetTransitionRule[] EMPTY_LASTRULES =
159 new ZoneOffsetTransitionRule[0];
189 List<ZoneOffsetTransitionRule> lastRules) { in of()
224 List<ZoneOffsetTransitionRule> lastRules) { in ZoneRules()
263ZoneOffsetTransitionRule[] rulesArray = Arrays.copyOf(temp, temp.length, ZoneOffsetTransitionRule[… in ZoneRules()
283 ZoneOffsetTransitionRule[] lastRules) { in ZoneRules()
427 for (ZoneOffsetTransitionRule rule : lastRules) { in writeExternal()
473 ZoneOffsetTransitionRule[] rules = (ruleSize == 0) ? in readExternal()
474 EMPTY_LASTRULES : new ZoneOffsetTransitionRule[ruleSize]; in readExternal()
[all …]
DZoneOffsetTransitionRule.java100 public final class ZoneOffsetTransitionRule implements Serializable { class
172 public static ZoneOffsetTransitionRule of( in of()
197 …return new ZoneOffsetTransitionRule(month, dayOfMonthIndicator, dayOfWeek, time, timeEndOfDay, tim… in of()
217 ZoneOffsetTransitionRule( in ZoneOffsetTransitionRule() method in ZoneOffsetTransitionRule
345 static ZoneOffsetTransitionRule readExternal(DataInput in) throws IOException { in readExternal()
360 …return ZoneOffsetTransitionRule.of(month, dom, dow, time, timeByte == 24, defn, std, before, after… in readExternal()
522 return (otherRule instanceof ZoneOffsetTransitionRule other) in equals()
DSer.java155 ((ZoneOffsetTransitionRule) object).writeExternal(out); in writeInternal()
200 return ZoneOffsetTransitionRule.readExternal(in); in readInternal()
/libcore/ojluni/src/test/java/time/test/java/time/zone/
DTestZoneRules.java38 import java.time.zone.ZoneOffsetTransitionRule;
69 …private static final ZoneOffsetTransitionRule ZOTR = ZoneId.of("America/Los_Angeles").getRules().g…
188 ZoneOffsetTransitionRule transitionRule = ZoneOffsetTransitionRule.of(Month.JANUARY, in test_TransitionLastRuleYear()
193 ZoneOffsetTransitionRule.TimeDefinition.STANDARD, in test_TransitionLastRuleYear()
/libcore/api/
Dcurrent.txt12988 public final class ZoneOffsetTransitionRule implements java.io.Serializable {
12997 method public java.time.zone.ZoneOffsetTransitionRule.TimeDefinition getTimeDefinition();
12999 ….zone.ZoneOffsetTransitionRule of(java.time.Month, int, java.time.DayOfWeek, java.time.LocalTime, …
13002 public enum ZoneOffsetTransitionRule.TimeDefinition {
13004 … enum_constant public static final java.time.zone.ZoneOffsetTransitionRule.TimeDefinition STANDARD;
13005 enum_constant public static final java.time.zone.ZoneOffsetTransitionRule.TimeDefinition UTC;
13006 enum_constant public static final java.time.zone.ZoneOffsetTransitionRule.TimeDefinition WALL;
13015 method public java.util.List<java.time.zone.ZoneOffsetTransitionRule> getTransitionRules();
13022 …ist<java.time.zone.ZoneOffsetTransition>, java.util.List<java.time.zone.ZoneOffsetTransitionRule>);
/libcore/
Dopenjdk_java_files.bp876 "ojluni/src/main/java/java/time/zone/ZoneOffsetTransitionRule.java",
DEXPECTED_UPSTREAM888 …a/java/time/zone/ZoneOffsetTransitionRule.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/ja…