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
Classes in javax.time that implement interfaces with type arguments of type TAIInstantModifier and TypeClassDescriptionfinal classAn instantaneous point on the time-line measured in the TAI time-scale.Methods in javax.time that return TAIInstantModifier and TypeMethodDescriptionprotected TAIInstantUTCRules.convertToTAI(UTCInstant utcInstant) Converts aUTCInstantto aTAIInstant.Returns a copy of this instant with the specified duration subtracted.static TAIInstantObtains an instance ofTAIInstantfrom anInstantusing the system default leap second rules.static TAIInstantTAIInstant.of(UTCInstant instant) Obtains an instance ofTAIInstantfrom aUTCInstant.static TAIInstantTAIInstant.ofTAISeconds(long taiSeconds, long nanoAdjustment) Obtains an instance ofTAIInstantfrom the number of seconds from the TAI epoch of 1958-01-01T00:00:00(TAI) with a nanosecond fraction of second.static TAIInstantObtains an instance ofTAIInstantfrom 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 aTAIInstantusing the stored leap second rules.Methods in javax.time with parameters of type TAIInstantModifier and TypeMethodDescriptionintTAIInstant.compareTo(TAIInstant otherInstant) Compares this instant to another based on the time-line.protected UTCInstantSystemUTCRules.convertToUTC(TAIInstant taiInstant) protected abstract UTCInstantUTCRules.convertToUTC(TAIInstant taiInstant) Converts aTAIInstantto aUTCInstant.TAIInstant.durationUntil(TAIInstant taiInstant) Returns the duration between this instant and the specified instant.static UTCInstantUTCInstant.of(TAIInstant taiInstant) Obtains an instance ofUTCInstantfrom a TAI instant using the system default leap second rules.static UTCInstantUTCInstant.of(TAIInstant taiInstant, UTCRules rules) Obtains an instance ofUTCInstantfrom a TAI instant using the specified leap second rules.