Searched refs:transition (Results 1 - 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/time/zone/ |
H A D | ZoneOffsetTransition.java | 80 * 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...] |
H A D | IcuZoneRulesProvider.java | 92 * 5. Each transition generated by the rules changes either the raw offset, the total offset 126 TimeZoneTransition transition = tz.getNextTransition(Long.MIN_VALUE, false); 130 // via the normal condition (transition != null) 134 while (transition != null) { 135 TimeZoneRule from = transition.getFrom(); 136 TimeZoneRule to = transition.getTo(); 140 TimeUnit.MILLISECONDS.toSeconds(transition.getTime()), 149 TimeUnit.MILLISECONDS.toSeconds(transition.getTime()), 171 transition = tz.getNextTransition(transition [all...] |
H A D | ZoneOffsetTransitionRule.java | 83 * A rule expressing how to create a transition. 360 * Gets the month of the transition. 364 * If the rule defines a week where the transition might occur, then the month 367 * @return the month of the transition, not null 374 * Gets the indicator of the day-of-month of the transition. 378 * If the rule defines a week where the transition might occur, then the day 379 * defines either the start of the end of the transition week. 382 * earliest possible date that the transition can be. 387 * In this case, the day identified is the latest possible date that the transition can be. 396 * Gets the day-of-week of the transition [all...] |
/libcore/luni/src/test/java/libcore/java/time/zone/ |
H A D | ZoneOffsetTransitionTest.java | 39 ZoneOffsetTransition transition = ZoneOffsetTransition.of(time, 44 transition.toEpochSecond());
|
H A D | IcuZoneRulesProviderTest.java | 110 // 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/luni/src/main/java/libcore/util/ |
H A D | ZoneInfo.java | 52 * {@code tzh_timecnt} and the associated transition times and type information. For each type 89 * <p>True if the transition active at the time this instance was created, or future 121 * ends at 01:00 on the last Sunday in October) that can be used to determine the DST transition 127 * <p>They are stored in order from earliest (lowest) time to latest (highest). A transition is 128 * identified by its index within this array. A transition {@code T} is active at a specific 129 * time {@code X} if {@code T} is the highest transition whose time is less than or equal to 137 * The type of the transition, where type is a pair consisting of the offset and whether the 140 * <p>Each transition in {@link #mTransitions} has an associated type in this array at the same 148 * the time zone after the transition. 157 * The offset parts of the transition type [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | JapaneseImperialCalendar.java | 57 * GregorianCalendar}, the Julian to Gregorian transition is not 120 // transition dates are given in Gregorian dates. 242 // era transition in a Gregorian year. 576 // the daylight saving time transition brings it to 687 CalendarDate transition = null; 689 transition = eras[eraIndex].getSinceDate(); 690 min = transition.getMonth() - 1; 693 transition = eras[eraIndex + 1].getSinceDate(); 694 if (transition.getYear() == jdate.getNormalizedYear()) { 695 max = transition [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | R.java | 2419 public static final int transition = 0; field in class:R
|
Completed in 212 milliseconds