Uses of Class
org.threeten.extra.scale.UtcInstant
Packages that use UtcInstant
-
Uses of UtcInstant in org.threeten.extra.scale
Methods in org.threeten.extra.scale that return UtcInstantModifier and TypeMethodDescriptionUtcRules.convertToUtc(Instant instant) Converts anInstantto aUtcInstant.abstract UtcInstantUtcRules.convertToUtc(TaiInstant taiInstant) Converts aTaiInstantto aUtcInstant.Returns a copy of this instant with the specified duration subtracted.static UtcInstantObtains an instance ofUtcInstantfrom anInstant.static UtcInstantUtcInstant.of(TaiInstant instant) Obtains an instance ofUtcInstantfrom aTaiInstant.static UtcInstantUtcInstant.ofModifiedJulianDay(long mjDay, long nanoOfDay) Obtains an instance ofUtcInstantfrom a Modified Julian Day with a nanosecond fraction of day.static UtcInstantUtcInstant.parse(CharSequence text) Obtains an instance ofUtcInstantfrom a text string, such as2007-12-03T10:15:30.00Z.Returns a copy of this instant with the specified duration added.TaiInstant.toUtcInstant()Converts this instant to aUtcInstant.TimeSource.utcInstant()Gets the currentUtcInstant.UtcInstant.withModifiedJulianDay(long mjDay) Returns a copy of thisUtcInstantwith the Modified Julian Day (MJD) altered.UtcInstant.withNanoOfDay(long nanoOfDay) Returns a copy of thisUtcInstantwith the nano-of-day altered.Methods in org.threeten.extra.scale with parameters of type UtcInstantModifier and TypeMethodDescriptionintUtcInstant.compareTo(UtcInstant otherInstant) Compares this instant to another based on the time-line.UtcRules.convertToInstant(UtcInstant utcInstant) Converts aUtcInstantto anInstant.UtcRules.convertToTai(UtcInstant utcInstant) Converts aUtcInstantto aTaiInstant.UtcInstant.durationUntil(UtcInstant utcInstant) Returns the duration between this instant and the specified instant.booleanUtcInstant.isAfter(UtcInstant otherInstant) Checks if this instant is after the specified instant.booleanUtcInstant.isBefore(UtcInstant otherInstant) Checks if this instant is before the specified instant.static TaiInstantTaiInstant.of(UtcInstant instant) Obtains an instance ofTaiInstantfrom aUtcInstant.