Uses of Class
org.threeten.bp.Instant

Packages that use Instant
org.threeten.bp The main API for dates, times, instants, and durations. 
org.threeten.bp.chrono Support for calendar systems other than the default ISO. 
org.threeten.bp.zone Support for time-zones and their rules. 
 

Uses of Instant in org.threeten.bp
 

Fields in org.threeten.bp declared as Instant
static Instant Instant.EPOCH
          Constant for the 1970-01-01T00:00:00Z epoch instant.
static Instant Instant.MAX
          The maximum supported Instant, '1000000000-12-31T23:59:59.999999999Z'.
static Instant Instant.MIN
          The minimum supported Instant, '-1000000000-01-01T00:00Z'.
 

Fields in org.threeten.bp with type parameters of type Instant
static TemporalQuery<Instant> Instant.FROM
          Simulate JDK 8 method reference Instant::from.
 

Methods in org.threeten.bp that return Instant
static Instant Instant.from(TemporalAccessor temporal)
          Obtains an instance of Instant from a temporal object.
abstract  Instant Clock.instant()
          Gets the current instant of the clock.
 Instant Instant.minus(long amountToSubtract, TemporalUnit unit)
          Returns an object of the same type as this object with the specified period subtracted.
 Instant Instant.minus(TemporalAmount amount)
          Returns an object of the same type as this object with an amount subtracted.
 Instant Instant.minusMillis(long millisToSubtract)
          Returns a copy of this instant with the specified duration in milliseconds subtracted.
 Instant Instant.minusNanos(long nanosToSubtract)
          Returns a copy of this instant with the specified duration in nanoseconds subtracted.
 Instant Instant.minusSeconds(long secondsToSubtract)
          Returns a copy of this instant with the specified duration in seconds subtracted.
static Instant Instant.now()
          Obtains the current instant from the system clock.
static Instant Instant.now(Clock clock)
          Obtains the current instant from the specified clock.
static Instant Instant.ofEpochMilli(long epochMilli)
          Obtains an instance of Instant using milliseconds from the epoch of 1970-01-01T00:00:00Z.
static Instant Instant.ofEpochSecond(long epochSecond)
          Obtains an instance of Instant using seconds from the epoch of 1970-01-01T00:00:00Z.
static Instant Instant.ofEpochSecond(long epochSecond, long nanoAdjustment)
          Obtains an instance of Instant using seconds from the epoch of 1970-01-01T00:00:00Z and nanosecond fraction of second.
static Instant Instant.parse(CharSequence text)
          Obtains an instance of Instant from a text string such as 2007-12-03T10:15:30.000Z.
 Instant Instant.plus(long amountToAdd, TemporalUnit unit)
          Returns an object of the same type as this object with the specified period added.
 Instant Instant.plus(TemporalAmount amount)
          Returns an object of the same type as this object with an amount added.
 Instant Instant.plusMillis(long millisToAdd)
          Returns a copy of this instant with the specified duration in milliseconds added.
 Instant Instant.plusNanos(long nanosToAdd)
          Returns a copy of this instant with the specified duration in nanoseconds added.
 Instant Instant.plusSeconds(long secondsToAdd)
          Returns a copy of this instant with the specified duration in seconds added.
 Instant OffsetDateTime.toInstant()
          Converts this date-time to an Instant.
static Instant DateTimeUtils.toInstant(Calendar calendar)
          Converts a Calendar to an Instant.
static Instant DateTimeUtils.toInstant(Date utilDate)
          Converts a java.util.Date to an Instant.
static Instant DateTimeUtils.toInstant(Timestamp sqlTimestamp)
          Converts a java.sql.Timestamp to an Instant.
 Instant Instant.truncatedTo(TemporalUnit unit)
          Returns a copy of this Instant truncated to the specified unit.
 Instant Instant.with(TemporalAdjuster adjuster)
          Returns an adjusted copy of this instant.
 Instant Instant.with(TemporalField field, long newValue)
          Returns a copy of this instant with the specified field set to a new value.
 

Methods in org.threeten.bp with parameters of type Instant
 int Instant.compareTo(Instant otherInstant)
          Compares this instant to the specified instant.
static Clock Clock.fixed(Instant fixedInstant, ZoneId zone)
          Obtains a clock that always returns the same instant.
 boolean Instant.isAfter(Instant otherInstant)
          Checks if this instant is after the specified instant.
 boolean Instant.isBefore(Instant otherInstant)
          Checks if this instant is before the specified instant.
static ZonedDateTime ZonedDateTime.ofInstant(Instant instant, ZoneId zone)
          Obtains an instance of ZonedDateTime from an Instant.
static OffsetTime OffsetTime.ofInstant(Instant instant, ZoneId zone)
          Obtains an instance of OffsetTime from an Instant and zone ID.
static OffsetDateTime OffsetDateTime.ofInstant(Instant instant, ZoneId zone)
          Obtains an instance of OffsetDateTime from an Instant and zone ID.
static LocalDateTime LocalDateTime.ofInstant(Instant instant, ZoneId zone)
          Obtains an instance of LocalDateTime from an Instant and zone ID.
static Date DateTimeUtils.toDate(Instant instant)
          Converts an Instant to a java.util.Date.
static Timestamp DateTimeUtils.toSqlTimestamp(Instant instant)
          Converts an Instant to a java.sql.Timestamp.
 

Uses of Instant in org.threeten.bp.chrono
 

Methods in org.threeten.bp.chrono that return Instant
 Instant ChronoZonedDateTime.toInstant()
          Converts this date-time to an Instant.
 Instant ChronoLocalDateTime.toInstant(ZoneOffset offset)
          Converts this date-time to an Instant.
 

Methods in org.threeten.bp.chrono with parameters of type Instant
 ChronoZonedDateTime<ThaiBuddhistDate> ThaiBuddhistChronology.zonedDateTime(Instant instant, ZoneId zone)
           
 ChronoZonedDateTime<MinguoDate> MinguoChronology.zonedDateTime(Instant instant, ZoneId zone)
           
 ChronoZonedDateTime<JapaneseDate> JapaneseChronology.zonedDateTime(Instant instant, ZoneId zone)
           
 ZonedDateTime IsoChronology.zonedDateTime(Instant instant, ZoneId zone)
          Obtains an ISO zoned date-time from an instant.
 ChronoZonedDateTime<HijrahDate> HijrahChronology.zonedDateTime(Instant instant, ZoneId zone)
           
 ChronoZonedDateTime<?> Chronology.zonedDateTime(Instant instant, ZoneId zone)
          Obtains a zoned date-time in this chronology from an Instant.
 

Uses of Instant in org.threeten.bp.zone
 

Methods in org.threeten.bp.zone that return Instant
 Instant ZoneOffsetTransition.getInstant()
          Gets the transition instant.
 

Methods in org.threeten.bp.zone with parameters of type Instant
abstract  Duration ZoneRules.getDaylightSavings(Instant instant)
          Gets the amount of daylight savings in use for the specified instant in this zone.
abstract  ZoneOffset ZoneRules.getOffset(Instant instant)
          Gets the offset applicable at the specified instant in these rules.
abstract  ZoneOffset ZoneRules.getStandardOffset(Instant instant)
          Gets the standard offset for the specified instant in this zone.
abstract  boolean ZoneRules.isDaylightSavings(Instant instant)
          Checks if the specified instant is in daylight savings.
abstract  ZoneOffsetTransition ZoneRules.nextTransition(Instant instant)
          Gets the next transition after the specified instant.
abstract  ZoneOffsetTransition ZoneRules.previousTransition(Instant instant)
          Gets the previous transition before the specified instant.
 



Copyright © 2007–2014 ThreeTen.org. All rights reserved.