# java.time.zone

Support for time-zones and their rules.


Daylight Saving Time and Time-Zones are concepts used by Governments to alter local time.
This package provides support for time-zones, their rules and the resulting
gaps and overlaps in the local time-line typically caused by Daylight Saving Time.

### Package specification


Unless otherwise noted, passing a null argument to a constructor or method in any class or interface
in this package will cause a `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NullPointerException.html` to be thrown.
The Javadoc "@param" definition is used to summarise the null-behavior.
The "@throws `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/NullPointerException.html`" is not explicitly documented in each method.


All calculations should check for numeric overflow and throw either an `https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/ArithmeticException.html`
or a `https://developers.google.com/j2objc/javadoc/jre/reference/java/time/DateTimeException.html`.

### Classes

|---|---|
| [IcuZoneRulesProvider](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/zone/IcuZoneRulesProvider.html) | A ZoneRulesProvider that generates rules from ICU4J TimeZones. |
| [ZoneOffsetTransition](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/zone/ZoneOffsetTransition.html) | A transition between two offsets caused by a discontinuity in the local time-line. |
| [ZoneOffsetTransitionRule](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/zone/ZoneOffsetTransitionRule.html) | A rule expressing how to create a transition. |
| [ZoneRules](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/zone/ZoneRules.html) | The rules defining how the zone offset varies for a single time-zone. |
| [ZoneRulesProvider](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/zone/ZoneRulesProvider.html) | Provider of time-zone rules to the system. |

### Enums

|---|---|
| [ZoneOffsetTransitionRule.TimeDefinition](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/zone/ZoneOffsetTransitionRule.TimeDefinition.html) | A definition of the way a local time can be converted to the actual transition date-time. |

### Exceptions

|---|---|
| [ZoneRulesException](https://developers.google.com/j2objc/javadoc/jre/reference/java/time/zone/ZoneRulesException.html) | Thrown to indicate a problem with time-zone configuration. |