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 UTCInstant
    Modifier and Type
    Class
    Description
    final class 
    An instantaneous point on the time-line measured in the UTC time-scale, handling leap seconds.
    Methods in javax.time that return UTCInstant
    Modifier and Type
    Method
    Description
    protected UTCInstant
    UTCRules.convertToUTC(Instant instant)
    Converts an Instant to a UTCInstant.
    protected abstract UTCInstant
    UTCRules.convertToUTC(TAIInstant taiInstant)
    Converts a TAIInstant to a UTCInstant.
    UTCInstant.minus(Duration duration)
    Returns a copy of this instant with the specified duration subtracted.
    static UTCInstant
    UTCInstant.of(Instant instant)
    Obtains an instance of UTCInstant from a provider of instants using the system default leap second rules.
    static UTCInstant
    UTCInstant.of(Instant instant, UTCRules rules)
    Obtains an instance of UTCInstant from a provider of instants using the specified leap second rules.
    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.
    static UTCInstant
    UTCInstant.ofModifiedJulianDays(long mjDay, long nanoOfDay)
    Obtains an instance of UTCInstant from a Modified Julian Day with a nanosecond fraction of second using the system default leap second rules.
    static UTCInstant
    UTCInstant.ofModifiedJulianDays(long mjDay, long nanoOfDay, UTCRules rules)
    Obtains an instance of UTCInstant from a Modified Julian Day with a nanosecond fraction of second using the specified leap second rules.
    UTCInstant.plus(Duration duration)
    Returns a copy of this instant with the specified duration added.
    TAIInstant.toUTCInstant()
    Converts this instant to a UTCInstant using the system default leap second rules.
    TimeSource.utcInstant()
    Gets the current UTCInstant.
    Methods in javax.time with parameters of type UTCInstant
    Modifier and Type
    Method
    Description
    int
    UTCInstant.compareTo(UTCInstant otherInstant)
    Compares this instant to another based on the time-line, then the name of the rules.
    protected Instant
    UTCRules.convertToInstant(UTCInstant utcInstant)
    Converts a UTCInstant to an Instant.
    protected TAIInstant
    UTCRules.convertToTAI(UTCInstant utcInstant)
    Converts a UTCInstant to a TAIInstant.
    UTCInstant.durationUntil(UTCInstant utcInstant)
    Returns the duration between this instant and the specified instant.
    static TAIInstant
    TAIInstant.of(UTCInstant instant)
    Obtains an instance of TAIInstant from a UTCInstant.