Example usage for Java java.time.zone ZoneRules fields, constructors, methods, implement or subclass
The text is from its open source code.
Duration | getDaylightSavings(Instant instant) Gets the amount of daylight savings in use for the specified instant in this zone. |
ZoneOffset | getOffset(Instant instant) Gets the offset applicable at the specified instant in these rules. |
ZoneOffset | getOffset(LocalDateTime localDateTime) Gets a suitable offset for the specified local date-time in these rules. |
List | getTransitions() Gets the complete list of fully defined transitions. |
boolean | isDaylightSavings(Instant instant) Checks if the specified instant is in daylight savings. |
boolean | isFixedOffset() Checks of the zone rules are fixed, such that the offset never varies. |
ZoneOffsetTransition | nextTransition(Instant instant) Gets the next transition after the specified instant. |