Uses of Class
org.joda.time.Instant
-
Packages that use Instant Package Description org.joda.time Provides support for dates, times, time zones, durations, intervals, and partials.org.joda.time.base Implementation package providing abstract and base time classes.org.joda.time.chrono Package containing the chronology classes which define the calendar systems. -
-
Uses of Instant in org.joda.time
Methods in org.joda.time that return Instant Modifier and Type Method Description InstantInstant. minus(long duration)Gets a copy of this instant with the specified duration taken away.InstantInstant. minus(ReadableDuration duration)Gets a copy of this instant with the specified duration taken away.static InstantInstant. now()Obtains anInstantset to the current system millisecond time.static InstantInstant. parse(java.lang.String str)Parses aInstantfrom the specified string.static InstantInstant. parse(java.lang.String str, DateTimeFormatter formatter)Parses aInstantfrom the specified string using a formatter.InstantInstant. plus(long duration)Gets a copy of this instant with the specified duration added.InstantInstant. plus(ReadableDuration duration)Gets a copy of this instant with the specified duration added.InstantInstant. toInstant()Get this object as an Instant by returningthis.InstantReadableInstant. toInstant()Get the value as a simple immutableInstantobject.InstantInstant. withDurationAdded(long durationToAdd, int scalar)Gets a copy of this instant with the specified duration added.InstantInstant. withDurationAdded(ReadableDuration durationToAdd, int scalar)Gets a copy of this instant with the specified duration added.InstantInstant. withMillis(long newMillis)Gets a copy of this instant with different millis. -
Uses of Instant in org.joda.time.base
Methods in org.joda.time.base that return Instant Modifier and Type Method Description InstantAbstractInstant. toInstant()Get this object as an Instant. -
Uses of Instant in org.joda.time.chrono
Fields in org.joda.time.chrono declared as Instant Modifier and Type Field Description private InstantGJCacheKey. cutoverInstant(package private) static InstantGJChronology. DEFAULT_CUTOVERThe default GregorianJulian cutover point.private InstantGJChronology. iCutoverInstantMethods in org.joda.time.chrono that return Instant Modifier and Type Method Description InstantGJChronology. getGregorianCutover()Gets the cutover instant between Gregorian and Julian chronologies.Constructors in org.joda.time.chrono with parameters of type Instant Constructor Description GJCacheKey(DateTimeZone zone, Instant cutoverInstant, int minDaysInFirstWeek)GJChronology(JulianChronology julian, GregorianChronology gregorian, Instant cutoverInstant)GJChronology(Chronology base, JulianChronology julian, GregorianChronology gregorian, Instant cutoverInstant)Called when applying a time zone.
-