Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransition.java109 private final LocalDateTime transition; field in ZoneOffsetTransition
134 …public static ZoneOffsetTransition of(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffse… in of() argument
135 Objects.requireNonNull(transition, "transition"); in of()
141 if (transition.getNano() != 0) { in of()
144 return new ZoneOffsetTransition(transition, offsetBefore, offsetAfter); in of()
154 … ZoneOffsetTransition(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() argument
155 this.transition = transition; in ZoneOffsetTransition()
168 this.transition = LocalDateTime.ofEpochSecond(epochSecond, 0, offsetBefore); in ZoneOffsetTransition()
247 return transition.toInstant(offsetBefore); in getInstant()
256 return transition.toEpochSecond(offsetBefore); in toEpochSecond()
[all …]
DZoneOffsetTransitionRule.java499 … LocalDateTime transition = timeDefinition.createDateTime(localDT, standardOffset, offsetBefore); in createTransition() local
500 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.java709 CalendarDate transition = null; in roll() local
711 transition = eras[eraIndex].getSinceDate(); in roll()
712 min = transition.getMonth() - 1; in roll()
715 transition = eras[eraIndex + 1].getSinceDate(); in roll()
716 if (transition.getYear() == jdate.getNormalizedYear()) { in roll()
717 max = transition.getMonth() - 1; in roll()
718 if (transition.getDayOfMonth() == 1) { in roll()
734 if (!(transition.getMonth() == BaseCalendar.JANUARY in roll()
735 && transition.getDayOfMonth() == 1)) { in roll()
736 if (jdate.getDayOfMonth() < transition.getDayOfMonth()) { in roll()
[all …]