Package | Description |
---|---|
javax.time |
Provides classes to manage the continuous time scale including a wrapper
for the system clock.
|
Modifier and Type | Method | Description |
---|---|---|
UTCRules |
UTCInstant.getRules() |
Gets the leap second rules defining when leap seconds occur.
|
static UTCRules |
UTCRules.system() |
Gets the system default leap second rules.
|
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. |
Copyright © 2019. All rights reserved.