Searched refs:transition (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransition.java | 113 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 …]
|
D | ZoneOffsetTransitionRule.java | 504 … 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/ |
D | ZoneOffsetTransitionTest.java | 39 ZoneOffsetTransition transition = ZoneOffsetTransition.of(time, in test_toEpochSeconds() local 44 transition.toEpochSecond()); in test_toEpochSeconds()
|
/libcore/ojluni/src/main/java/java/util/ |
D | JapaneseImperialCalendar.java | 713 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/ |
D | TestZoneRules.java | 185 …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/ |
D | R.java | 2419 public static final int transition = 0; field in R
|