Uses of Class
javax.time.UTCRules

Packages that use UTCRules
Package
Description
Provides classes to manage the continuous time scale including a wrapper for the system clock.
  • Uses of UTCRules in javax.time

    Methods in javax.time that return UTCRules
    Modifier and Type
    Method
    Description
    UTCInstant.getRules()
    Gets the leap second rules defining when leap seconds occur.
    static UTCRules
    UTCRules.system()
    Gets the system default leap second rules.
    Methods in javax.time with parameters of type UTCRules
    Modifier and Type
    Method
    Description
    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, 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, UTCRules rules)
    Obtains an instance of UTCInstant from a Modified Julian Day with a nanosecond fraction of second using the specified leap second rules.