Home
last modified time | relevance | path

Searched refs:transition (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransition.java113 private final LocalDateTime transition; field in ZoneOffsetTransition
138 …public static ZoneOffsetTransition of(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffse… in of() argument
139 Objects.requireNonNull(transition, "transition"); in of()
145 if (transition.getNano() != 0) { in of()
148 return new ZoneOffsetTransition(transition, offsetBefore, offsetAfter); in of()
158 … ZoneOffsetTransition(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() argument
159 assert transition.getNano() == 0; in ZoneOffsetTransition()
160 this.epochSecond = transition.toEpochSecond(offsetBefore); in ZoneOffsetTransition()
161 this.transition = transition; in ZoneOffsetTransition()
175 this.transition = LocalDateTime.ofEpochSecond(epochSecond, 0, offsetBefore); in ZoneOffsetTransition()
[all …]
DZoneOffsetTransitionRule.java504 … LocalDateTime transition = timeDefinition.createDateTime(localDT, standardOffset, offsetBefore); in createTransition() local
505 return new ZoneOffsetTransition(transition, offsetBefore, offsetAfter); in createTransition()
/libcore/luni/src/test/java/libcore/java/time/zone/
DZoneOffsetTransitionTest.java39 ZoneOffsetTransition transition = ZoneOffsetTransition.of(time, in test_toEpochSeconds() local
44 transition.toEpochSecond()); in test_toEpochSeconds()
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java713 CalendarDate transition = null; in roll() local
715 transition = eras[eraIndex].getSinceDate(); in roll()
716 min = transition.getMonth() - 1; in roll()
719 transition = eras[eraIndex + 1].getSinceDate(); in roll()
720 if (transition.getYear() == jdate.getNormalizedYear()) { in roll()
721 max = transition.getMonth() - 1; in roll()
722 if (transition.getDayOfMonth() == 1) { in roll()
738 if (!(transition.getMonth() == BaseCalendar.JANUARY in roll()
739 && transition.getDayOfMonth() == 1)) { in roll()
740 if (jdate.getDayOfMonth() < transition.getDayOfMonth()) { in roll()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/zone/
DTestZoneRules.java185 …ZoneOffsetTransition transition = ZoneOffsetTransition.of(LocalDateTime.ofEpochSecond(0, 0, OFF_0), in test_TransitionLastRuleYear() local
199 Collections.singletonList(transition), in test_TransitionLastRuleYear()
200 Collections.singletonList(transition), in test_TransitionLastRuleYear()
/libcore/benchmarks/src/benchmarks/regression/
DR.java2419 public static final int transition = 0; field in R