Searched defs:transition (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/time/zone/
H A DIcuZoneRulesProviderTest.java110 // Find previous "real" transition.
152 * Returns {@code true} iff this transition will only be returned by ICU code.
155 * return them, so find the next "real" transition.
157 private static boolean isIcuOnlyTransition(TimeZoneTransition transition) { argument
158 if (transition == null) {
161 return transition.getFrom().getRawOffset() + transition.getFrom().getDSTSavings()
162 == transition.getTo().getRawOffset() + transition.getTo().getDSTSavings();
175 assertEquals("time of transition",
[all...]
/libcore/ojluni/src/main/java/java/time/zone/
H A DZoneOffsetTransition.java80 * A transition between two offsets caused by a discontinuity in the local time-line.
82 * A transition between two offsets is normally the result of a daylight savings cutover.
84 * {@code ZoneOffsetTransition} models the transition between the two offsets.
107 * The local transition date-time at the transition.
109 private final LocalDateTime transition; field in class:ZoneOffsetTransition
111 * The offset before transition.
115 * The offset after transition.
121 * Obtains an instance defining a transition between two offsets.
126 * @param transition th
134 of(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset offsetAfter) argument
154 ZoneOffsetTransition(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset offsetAfter) argument
399 compareTo(ZoneOffsetTransition transition) argument
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java2419 public static final int transition = 0; field in class:R

Completed in 457 milliseconds