| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| net.time4j.base |
Abstract minimum interface of Time4J.
|
| net.time4j.scale |
This package handles the UTC timeline (Corrected Universal Time) and
other time scales.
|
| net.time4j.tz |
General timezone-API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PlainDate
Represents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules
for all times.
|
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 |
|---|---|
ChronoCondition<GregorianDate> |
Weekmodel.weekend()
Defines a chronological condition if a date matches a weekend.
|
| Modifier and Type | Method and Description |
|---|---|
static PlainDate |
PlainDate.from(GregorianDate date)
Common conversion method for proleptic gregorian dates.
|
boolean |
Weekday.test(GregorianDate context) |
boolean |
Quarter.test(GregorianDate context) |
boolean |
Month.test(GregorianDate context) |
| Modifier and Type | Method and Description |
|---|---|
static long |
GregorianMath.toMJD(GregorianDate date)
Calculates the modified julian date.
|
| Modifier and Type | Method and Description |
|---|---|
GregorianDate |
LeapSecondEvent.getDate()
Returns the date of leapsecond introduction.
|
GregorianDate |
LeapSecondProvider.getDateOfEvent(int year,
int month,
int dayOfMonth)
Creates the date of a leap second event.
|
GregorianDate |
LeapSeconds.getDateOfExpiration()
Determines the expiration date of underlying data.
|
GregorianDate |
LeapSecondProvider.getDateOfExpiration()
Determines the expiration date of underlying data.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GregorianDate,Integer> |
LeapSecondProvider.getLeapSecondTable()
Yields all UTC-leapseconds with date and sign.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
TimeScale.deltaT(GregorianDate date)
Estimates the delta between TT and UT1 in decimal seconds depending on given date.
|
int |
LeapSeconds.getShift(GregorianDate date)
Yields the shift in seconds suitable for the last minute
of given calendar date.
|
| 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.