Package | Description |
---|---|
javax.time |
Provides classes to manage the continuous time scale including a wrapper
for the system clock.
|
Modifier and Type | Method and Description |
---|---|
protected TAIInstant |
UTCRules.convertToTAI(UTCInstant utcInstant)
Converts a
UTCInstant to a TAIInstant . |
TAIInstant |
TAIInstant.minus(Duration duration)
Returns a copy of this instant with the specified duration subtracted.
|
static TAIInstant |
TAIInstant.of(Instant instant)
Obtains an instance of
TAIInstant from an Instant
using the system default leap second rules. |
static TAIInstant |
TAIInstant.of(UTCInstant instant)
Obtains an instance of
TAIInstant from a UTCInstant . |
static TAIInstant |
TAIInstant.ofTAISeconds(long taiSeconds,
long nanoAdjustment)
Obtains an instance of
TAIInstant from the number of seconds from
the TAI epoch of 1958-01-01T00:00:00(TAI) with a nanosecond fraction of second. |
static TAIInstant |
TAIInstant.parse(String text)
Obtains an instance of
TAIInstant from a text string. |
TAIInstant |
TAIInstant.plus(Duration duration)
Returns a copy of this instant with the specified duration added.
|
TAIInstant |
TimeSource.taiInstant()
Gets the current
TAIInstant . |
TAIInstant |
UTCInstant.toTAIInstant()
Converts this instant to a
TAIInstant using the stored
leap second rules. |
Modifier and Type | Method and Description |
---|---|
int |
TAIInstant.compareTo(TAIInstant otherInstant)
Compares this instant to another based on the time-line.
|
protected abstract UTCInstant |
UTCRules.convertToUTC(TAIInstant taiInstant)
Converts a
TAIInstant to a UTCInstant . |
Duration |
TAIInstant.durationUntil(TAIInstant taiInstant)
Returns the duration between this instant and the specified instant.
|
static UTCInstant |
UTCInstant.of(TAIInstant taiInstant)
Obtains an instance of
UTCInstant from a TAI instant
using the system default leap second rules. |
static UTCInstant |
UTCInstant.of(TAIInstant taiInstant,
UTCRules rules)
Obtains an instance of
UTCInstant from a TAI instant
using the specified leap second rules. |
Copyright © 2014. All rights reserved.