Uses of Class
javax.time.TAIInstant
Packages that use TAIInstant
Package
Description
Provides classes to manage the continuous time scale including a wrapper
for the system clock.
-
Uses of TAIInstant in javax.time
Methods in javax.time that return TAIInstantModifier and TypeMethodDescriptionprotected TAIInstant
UTCRules.convertToTAI
(UTCInstant utcInstant) Converts aUTCInstant
to aTAIInstant
.Returns a copy of this instant with the specified duration subtracted.static TAIInstant
Obtains an instance ofTAIInstant
from anInstant
using the system default leap second rules.static TAIInstant
TAIInstant.of
(UTCInstant instant) Obtains an instance ofTAIInstant
from aUTCInstant
.static TAIInstant
TAIInstant.ofTAISeconds
(long taiSeconds, long nanoAdjustment) Obtains an instance ofTAIInstant
from the number of seconds from the TAI epoch of 1958-01-01T00:00:00(TAI) with a nanosecond fraction of second.static TAIInstant
Obtains an instance ofTAIInstant
from a text string.Returns a copy of this instant with the specified duration added.TimeSource.taiInstant()
Gets the currentTAIInstant
.UTCInstant.toTAIInstant()
Converts this instant to aTAIInstant
using the stored leap second rules.Methods in javax.time with parameters of type TAIInstantModifier and TypeMethodDescriptionint
TAIInstant.compareTo
(TAIInstant otherInstant) Compares this instant to another based on the time-line.protected UTCInstant
SystemUTCRules.convertToUTC
(TAIInstant taiInstant) protected abstract UTCInstant
UTCRules.convertToUTC
(TAIInstant taiInstant) Converts aTAIInstant
to aUTCInstant
.TAIInstant.durationUntil
(TAIInstant taiInstant) Returns the duration between this instant and the specified instant.static UTCInstant
UTCInstant.of
(TAIInstant taiInstant) Obtains an instance ofUTCInstant
from a TAI instant using the system default leap second rules.static UTCInstant
UTCInstant.of
(TAIInstant taiInstant, UTCRules rules) Obtains an instance ofUTCInstant
from a TAI instant using the specified leap second rules.