| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| net.time4j.tz |
General timezone-API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PlainTime
Represents a plain wall time without any timezone or date component
as defined in ISO-8601 up to nanosecond precision.
|
class |
PlainTimestamp
Represents a plain composition of calendar date and wall time as defined
in ISO-8601, but without any timezone.
|
| Modifier and Type | Method and Description |
|---|---|
static PlainTime |
PlainTime.from(WallTime time)
Common conversion method.
|
boolean |
Meridiem.test(WallTime context) |
| Modifier and Type | Method and Description |
|---|---|
default Optional<ZonalTransition> |
TransitionHistory.findConflictTransition(GregorianDate localDate,
WallTime localTime)
Returns the conflict transition where given local timestamp
falls either in a gap or in an overlap on the local timeline.
|
ZonalTransition |
TransitionHistory.getConflictTransition(GregorianDate localDate,
WallTime localTime)
Returns the conflict transition where given local timestamp
falls either in a gap or in an overlap on the local timeline.
|
abstract ZonalOffset |
Timezone.getOffset(GregorianDate localDate,
WallTime localTime)
Calculates the offset for given local timestamp.
|
ZonalOffset |
TransitionStrategy.getOffset(GregorianDate localDate,
WallTime localTime,
Timezone timezone)
Calculates a suitable offset for given local timestamp.
|
List<ZonalOffset> |
TransitionHistory.getValidOffsets(GregorianDate localDate,
WallTime localTime)
Determines the suitable offsets at given local timestamp..
|
abstract boolean |
Timezone.isInvalid(GregorianDate localDate,
WallTime localTime)
Evaluates if given local timestamp is invalid due to a gap
on the local timeline.
|
long |
TransitionStrategy.resolve(GregorianDate localDate,
WallTime localTime,
Timezone timezone)
Calculates a suitable global timestamp for given local timestamp.
|
Copyright © 2014–2017. All rights reserved.