TimeZoneTransition is a class representing a time zone transition.
An instance has a time of transition and rules for both before and
after the transition.
| Modifier and Type | Field and Description |
|---|---|
| private final TimeZoneRule | |
| private final long | |
| private final TimeZoneRule |
| Access | Constructor and Description |
|---|---|
| public | TimeZoneTransition(long
The time of transition in milliseconds since the base time. time, TimeZoneRule The time zone rule used before the transition. from, TimeZoneRule The time zone rule used after the transition. to)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public TimeZoneRule | Returns: The time zone rule used after the transition.Returns the rule used before the transition. |
| public long | Returns: The time of the transition in milliseconds since the base time.Returns the time of transition in milliseconds since the base time. |
| public TimeZoneRule | Returns: The time zone rule used after the transition.Returns the rule used after the transition. |
| public String | toString()
Overrides java. String representation of this TimeZoneTransition object.
|
| from | back to summary |
|---|---|
| private final TimeZoneRule from | |
| time | back to summary |
|---|---|
| private final long time | |
| to | back to summary |
|---|---|
| private final TimeZoneRule to | |
| TimeZoneTransition | back to summary |
|---|---|
| public TimeZoneTransition(long time, TimeZoneRule from, TimeZoneRule to) Constructs a
| |
| getFrom | back to summary |
|---|---|
| public TimeZoneRule getFrom() Returns the rule used before the transition.
| |
| getTime | back to summary |
|---|---|
| public long getTime() Returns the time of transition in milliseconds since the base time.
| |
| getTo | back to summary |
|---|---|
| public TimeZoneRule getTo() Returns the rule used after the transition.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a
| |