Uses of Class
javax.time.TAIInstant
-
Packages that use TAIInstant Package Description javax.time 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 TAIInstant Modifier and Type Method Description protected TAIInstantUTCRules. convertToTAI(UTCInstant utcInstant)Converts aUTCInstantto aTAIInstant.TAIInstantTAIInstant. minus(Duration duration)Returns a copy of this instant with the specified duration subtracted.static TAIInstantTAIInstant. of(Instant instant)Obtains 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 TAIInstantTAIInstant. parse(java.lang.String text)Obtains an instance ofTAIInstantfrom a text string.TAIInstantTAIInstant. plus(Duration duration)Returns a copy of this instant with the specified duration added.TAIInstantTimeSource. taiInstant()Gets the currentTAIInstant.TAIInstantUTCInstant. toTAIInstant()Converts this instant to aTAIInstantusing the stored leap second rules.Methods in javax.time with parameters of type TAIInstant Modifier and Type Method Description intTAIInstant. 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.DurationTAIInstant. 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.
-