| Package | Description |
|---|---|
| org.threeten.extra.scale |
| Modifier and Type | Method and Description |
|---|---|
TaiInstant |
UtcRules.convertToTai(java.time.Instant instant)
Converts an
Instant to a TaiInstant. |
TaiInstant |
UtcRules.convertToTai(UtcInstant utcInstant)
Converts a
UtcInstant to a TaiInstant. |
TaiInstant |
TaiInstant.minus(java.time.Duration duration)
Returns a copy of this instant with the specified duration subtracted.
|
static TaiInstant |
TaiInstant.of(java.time.Instant instant)
Obtains an instance of
TaiInstant from an Instant. |
static TaiInstant |
TaiInstant.of(UtcInstant instant)
Obtains an instance of
TaiInstant from a UtcInstant. |
static TaiInstant |
TaiInstant.ofTaiSeconds(long taiSeconds,
long nanoAdjustment)
Obtains an instance of
TaiInstant from the number of seconds from
the TAI epoch of 1958-01-01T00:00:00(TAI) with a nanosecond fraction of second. |
static TaiInstant |
TaiInstant.parse(CharSequence text)
Obtains an instance of
TaiInstant from a text string. |
TaiInstant |
TaiInstant.plus(java.time.Duration duration)
Returns a copy of this instant with the specified duration added.
|
TaiInstant |
TimeSource.taiInstant()
Gets the current
TaiInstant. |
TaiInstant |
UtcInstant.toTaiInstant()
Converts this instant to a
TaiInstant. |
TaiInstant |
TaiInstant.withNano(int nanoOfSecond)
Returns a copy of this
TaiInstant with the nano-of-second value changed. |
TaiInstant |
TaiInstant.withTaiSeconds(long taiSeconds)
Returns a copy of this
TaiInstant with the number of seconds
from the TAI epoch of 1958-01-01T00:00:00(TAI). |
| Modifier and Type | Method and Description |
|---|---|
int |
TaiInstant.compareTo(TaiInstant otherInstant)
Compares this instant to another based on the time-line.
|
java.time.Instant |
UtcRules.convertToInstant(TaiInstant taiInstant)
Converts a
TaiInstant to an Instant. |
abstract UtcInstant |
UtcRules.convertToUtc(TaiInstant taiInstant)
Converts a
TaiInstant to a UtcInstant. |
java.time.Duration |
TaiInstant.durationUntil(TaiInstant otherInstant)
Returns the duration between this instant and the specified instant.
|
static UtcInstant |
UtcInstant.of(TaiInstant instant)
Obtains an instance of
UtcInstant from a TaiInstant. |
Copyright © 2010–2014 ThreeTen.org. All rights reserved.