Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransition.java113 private final ZoneOffset offsetBefore; field in ZoneOffsetTransition
134 …public static ZoneOffsetTransition of(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffse… in of() argument
136 Objects.requireNonNull(offsetBefore, "offsetBefore"); in of()
138 if (offsetBefore.equals(offsetAfter)) { in of()
144 return new ZoneOffsetTransition(transition, offsetBefore, offsetAfter); in of()
154 … ZoneOffsetTransition(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() argument
156 this.offsetBefore = offsetBefore; in ZoneOffsetTransition()
167 ZoneOffsetTransition(long epochSecond, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() argument
168 this.transition = LocalDateTime.ofEpochSecond(epochSecond, 0, offsetBefore); in ZoneOffsetTransition()
169 this.offsetBefore = offsetBefore; in ZoneOffsetTransition()
[all …]
DZoneOffsetTransitionRule.java144 private final ZoneOffset offsetBefore; field in ZoneOffsetTransitionRule
179 ZoneOffset offsetBefore, in of() argument
185 Objects.requireNonNull(offsetBefore, "offsetBefore"); in of()
193 …ndicator, dayOfWeek, time, timeEndOfDay, timeDefnition, standardOffset, offsetBefore, offsetAfter); in of()
221 ZoneOffset offsetBefore, in ZoneOffsetTransitionRule() argument
230 this.offsetBefore = offsetBefore; in ZoneOffsetTransitionRule()
303 final int beforeDiff = offsetBefore.getTotalSeconds() - stdOffset; in writeExternal()
326 out.writeInt(offsetBefore.getTotalSeconds()); in writeExternal()
461 return offsetBefore; in getOffsetBefore()
499 … LocalDateTime transition = timeDefinition.createDateTime(localDT, standardOffset, offsetBefore); in createTransition()
[all …]
DZoneRules.java670 ZoneOffset offsetBefore = wallOffsets[index / 2]; in getOffsetInfo() local
672 if (offsetAfter.getTotalSeconds() > offsetBefore.getTotalSeconds()) { in getOffsetInfo()
674 return new ZoneOffsetTransition(dtBefore, offsetBefore, offsetAfter); in getOffsetInfo()
677 return new ZoneOffsetTransition(dtAfter, offsetBefore, offsetAfter); in getOffsetInfo()
DIcuZoneRulesProvider.java282 ZoneOffset offsetBefore = millisToOffset(rule.getRawOffset() + dstSavingMillisBefore); in toZoneOffsetTransitionRule() local
287 standardOffset, offsetBefore, offsetAfter); in toZoneOffsetTransitionRule()