Uses of Class
javax.time.UTCInstant
Packages that use UTCInstant
Package
Description
Provides classes to manage the continuous time scale including a wrapper
for the system clock.
-
Uses of UTCInstant in javax.time
Classes in javax.time that implement interfaces with type arguments of type UTCInstantModifier and TypeClassDescriptionfinal classAn instantaneous point on the time-line measured in the UTC time-scale, handling leap seconds.Methods in javax.time that return UTCInstantModifier and TypeMethodDescriptionprotected UTCInstantSystemUTCRules.convertToUTC(TAIInstant taiInstant) protected UTCInstantUTCRules.convertToUTC(Instant instant) Converts anInstantto aUTCInstant.protected abstract UTCInstantUTCRules.convertToUTC(TAIInstant taiInstant) Converts aTAIInstantto aUTCInstant.Returns a copy of this instant with the specified duration subtracted.static UTCInstantObtains an instance ofUTCInstantfrom a provider of instants using the system default leap second rules.static UTCInstantObtains an instance ofUTCInstantfrom a provider of instants using the specified leap second rules.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.static UTCInstantUTCInstant.ofModifiedJulianDays(long mjDay, long nanoOfDay) Obtains an instance ofUTCInstantfrom a Modified Julian Day with a nanosecond fraction of second using the system default leap second rules.static UTCInstantUTCInstant.ofModifiedJulianDays(long mjDay, long nanoOfDay, UTCRules rules) Obtains an instance ofUTCInstantfrom a Modified Julian Day with a nanosecond fraction of second using the specified leap second rules.Returns a copy of this instant with the specified duration added.TAIInstant.toUTCInstant()Converts this instant to aUTCInstantusing the system default leap second rules.TimeSource.utcInstant()Gets the currentUTCInstant.Methods in javax.time with parameters of type UTCInstantModifier and TypeMethodDescriptionintUTCInstant.compareTo(UTCInstant otherInstant) Compares this instant to another based on the time-line, then the name of the rules.protected InstantUTCRules.convertToInstant(UTCInstant utcInstant) Converts aUTCInstantto anInstant.protected TAIInstantUTCRules.convertToTAI(UTCInstant utcInstant) Converts aUTCInstantto aTAIInstant.UTCInstant.durationUntil(UTCInstant utcInstant) Returns the duration between this instant and the specified instant.static TAIInstantTAIInstant.of(UTCInstant instant) Obtains an instance ofTAIInstantfrom aUTCInstant.