Uses of Interface
org.joda.time.ReadableInstant

Packages that use ReadableInstant
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. 
org.joda.time.field Implementation package providing abstract and standard field classes. 
org.joda.time.format Provides printing and parsing support for instants and durations. 
 

Uses of ReadableInstant in org.joda.time
 

Subinterfaces of ReadableInstant in org.joda.time
 interface ReadableDateTime
          Defines an instant in time that can be queried using datetime fields.
 interface ReadWritableDateTime
          Defines an instant in time that can be queried and modified using datetime fields.
 interface ReadWritableInstant
          Defines an instant in the datetime continuum that can be queried and modified.
 

Classes in org.joda.time that implement ReadableInstant
 class DateMidnight
          DateMidnight defines a date where the time component is fixed at midnight.
 class DateTime
          DateTime is the standard implementation of an unmodifiable datetime class.
 class Instant
          Instant is the standard implementation of a fully immutable instant in time.
 class MutableDateTime
          MutableDateTime is the standard implementation of a modifiable datetime class.
 

Methods in org.joda.time with parameters of type ReadableInstant
static Years Years.yearsBetween(ReadableInstant start, ReadableInstant end)
          Creates a Years representing the number of whole years between the two specified datetimes.
static Weeks Weeks.weeksBetween(ReadableInstant start, ReadableInstant end)
          Creates a Weeks representing the number of whole weeks between the two specified datetimes.
static Seconds Seconds.secondsBetween(ReadableInstant start, ReadableInstant end)
          Creates a Seconds representing the number of whole seconds between the two specified datetimes.
 void ReadWritableInterval.setInterval(ReadableInstant startInstant, ReadableInstant endInstant)
          Sets this interval from two instants.
 void ReadWritableInterval.setStart(ReadableInstant instant)
          Sets the start of this time interval as an Instant.
 void ReadWritableInterval.setEnd(ReadableInstant instant)
          Sets the end of this time interval as an Instant.
 void ReadWritableInstant.setMillis(ReadableInstant instant)
          Sets the millisecond instant of this instant from another.
 DateTime ReadablePartial.toDateTime(ReadableInstant baseInstant)
          Converts this partial to a full datetime by resolving it against another datetime.
 boolean ReadableInterval.contains(ReadableInstant instant)
          Does this time interval contain the specified instant.
 boolean ReadableInterval.isAfter(ReadableInstant instant)
          Is this time interval after the specified instant.
 boolean ReadableInterval.isBefore(ReadableInstant instant)
          Is this time interval before the specified instant.
 boolean ReadableInstant.isEqual(ReadableInstant instant)
          Is this instant equal to the instant passed in comparing solely by millisecond.
 boolean ReadableInstant.isAfter(ReadableInstant instant)
          Is this instant after the instant passed in comparing solely by millisecond.
 boolean ReadableInstant.isBefore(ReadableInstant instant)
          Is this instant before the instant passed in comparing solely by millisecond.
 boolean Partial.isMatch(ReadableInstant instant)
          Does this partial match the specified instant.
 void MutablePeriod.setPeriod(ReadableInstant start, ReadableInstant end)
          Sets all the fields in one go from two instants representing an interval.
 void MutableInterval.setInterval(ReadableInstant start, ReadableInstant end)
          Sets this interval from two instants, replacing the chronology with that from the start instant.
 void MutableInterval.setStart(ReadableInstant start)
          Sets the start of this time interval as an Instant.
 void MutableInterval.setEnd(ReadableInstant end)
          Sets the end of this time interval as an Instant.
 void MutableDateTime.setMillis(ReadableInstant instant)
          Sets the millisecond instant of this instant from another.
 void MutableDateTime.setDate(ReadableInstant instant)
          Set the date from another instant.
 void MutableDateTime.setTime(ReadableInstant instant)
          Set the time from another instant.
static Months Months.monthsBetween(ReadableInstant start, ReadableInstant end)
          Creates a Months representing the number of whole months between the two specified datetimes.
static Minutes Minutes.minutesBetween(ReadableInstant start, ReadableInstant end)
          Creates a Minutes representing the number of whole minutes between the two specified datetimes.
 Interval Interval.withStart(ReadableInstant start)
          Creates a new interval with the specified start instant.
 Interval Interval.withEnd(ReadableInstant end)
          Creates a new interval with the specified end instant.
static Hours Hours.hoursBetween(ReadableInstant start, ReadableInstant end)
          Creates a Hours representing the number of whole hours between the two specified datetimes.
static Days Days.daysBetween(ReadableInstant start, ReadableInstant end)
          Creates a Days representing the number of whole days between the two specified datetimes.
 int DateTimeZone.getOffset(ReadableInstant instant)
          Gets the millisecond offset to add to UTC to get local time.
static long DateTimeUtils.getInstantMillis(ReadableInstant instant)
          Gets the millisecond instant from the specified instant object handling null.
static Chronology DateTimeUtils.getInstantChronology(ReadableInstant instant)
          Gets the chronology from the specified instant object handling null.
static Chronology DateTimeUtils.getIntervalChronology(ReadableInstant start, ReadableInstant end)
          Gets the chronology from the specified instant based interval handling null.
 

Constructors in org.joda.time with parameters of type ReadableInstant
Period(ReadableInstant startInstant, ReadableInstant endInstant)
          Creates a period from the given interval endpoints using the standard set of fields.
Period(ReadableInstant startInstant, ReadableInstant endInstant, PeriodType type)
          Creates a period from the given interval endpoints.
Period(ReadableInstant startInstant, ReadableDuration duration)
          Creates a period from the given start point and the duration.
Period(ReadableInstant startInstant, ReadableDuration duration, PeriodType type)
          Creates a period from the given start point and the duration.
Period(ReadableDuration duration, ReadableInstant endInstant)
          Creates a period from the given duration and end point.
Period(ReadableDuration duration, ReadableInstant endInstant, PeriodType type)
          Creates a period from the given duration and end point.
MutablePeriod(ReadableInstant startInstant, ReadableInstant endInstant)
          Creates a period from the given interval endpoints using the standard set of fields.
MutablePeriod(ReadableInstant startInstant, ReadableInstant endInstant, PeriodType type)
          Creates a period from the given interval endpoints.
MutablePeriod(ReadableInstant startInstant, ReadableDuration duration)
          Creates a period from the given start point and the duration.
MutablePeriod(ReadableInstant startInstant, ReadableDuration duration, PeriodType type)
          Creates a period from the given start point and the duration.
MutablePeriod(ReadableDuration duration, ReadableInstant endInstant)
          Creates a period from the given duration and end point.
MutablePeriod(ReadableDuration duration, ReadableInstant endInstant, PeriodType type)
          Creates a period from the given duration and end point.
MutableInterval(ReadableInstant start, ReadableInstant end)
          Constructs an interval from a start and end instant.
MutableInterval(ReadableInstant start, ReadableDuration duration)
          Constructs an interval from a start instant and a duration.
MutableInterval(ReadableDuration duration, ReadableInstant end)
          Constructs an interval from a millisecond duration and an end instant.
MutableInterval(ReadableInstant start, ReadablePeriod period)
          Constructs an interval from a start instant and a time period.
MutableInterval(ReadablePeriod period, ReadableInstant end)
          Constructs an interval from a time period and an end instant.
Interval(ReadableInstant start, ReadableInstant end)
          Constructs an interval from a start and end instant.
Interval(ReadableInstant start, ReadableDuration duration)
          Constructs an interval from a start instant and a duration.
Interval(ReadableDuration duration, ReadableInstant end)
          Constructs an interval from a millisecond duration and an end instant.
Interval(ReadableInstant start, ReadablePeriod period)
          Constructs an interval from a start instant and a time period.
Interval(ReadablePeriod period, ReadableInstant end)
          Constructs an interval from a time period and an end instant.
Duration(ReadableInstant start, ReadableInstant end)
          Creates a duration from the given interval endpoints.
 

Uses of ReadableInstant in org.joda.time.base
 

Classes in org.joda.time.base that implement ReadableInstant
 class AbstractDateTime
          AbstractDateTime provides the common behaviour for datetime classes.
 class AbstractInstant
          AbstractInstant provides the common behaviour for instant classes.
 class BaseDateTime
          BaseDateTime is an abstract implementation of ReadableDateTime that stores data in long and Chronology fields.
 

Methods in org.joda.time.base with parameters of type ReadableInstant
 Duration BasePeriod.toDurationFrom(ReadableInstant startInstant)
          Gets the total millisecond duration of this period relative to a start instant.
 Duration BasePeriod.toDurationTo(ReadableInstant endInstant)
          Gets the total millisecond duration of this period relative to an end instant.
 Period BaseDuration.toPeriodFrom(ReadableInstant startInstant)
          Converts this duration to a Period instance by adding the duration to a start instant to obtain an interval using the standard period type.
 Period BaseDuration.toPeriodFrom(ReadableInstant startInstant, PeriodType type)
          Converts this duration to a Period instance by adding the duration to a start instant to obtain an interval.
 Period BaseDuration.toPeriodTo(ReadableInstant endInstant)
          Converts this duration to a Period instance by subtracting the duration from an end instant to obtain an interval using the standard period type.
 Period BaseDuration.toPeriodTo(ReadableInstant endInstant, PeriodType type)
          Converts this duration to a Period instance by subtracting the duration from an end instant to obtain an interval using the standard period type.
 Interval BaseDuration.toIntervalFrom(ReadableInstant startInstant)
          Converts this duration to an Interval starting at the specified instant.
 Interval BaseDuration.toIntervalTo(ReadableInstant endInstant)
          Converts this duration to an Interval ending at the specified instant.
 DateTime AbstractPartial.toDateTime(ReadableInstant baseInstant)
          Resolves this partial against another complete instant to create a new full instant.
 boolean AbstractInterval.contains(ReadableInstant instant)
          Does this time interval contain the specified instant.
 boolean AbstractInterval.isBefore(ReadableInstant instant)
          Is this time interval before the specified instant.
 boolean AbstractInterval.isAfter(ReadableInstant instant)
          Is this time interval after the specified instant.
 boolean AbstractInstant.isAfter(ReadableInstant instant)
          Is this instant after the instant passed in comparing solely by millisecond.
 boolean AbstractInstant.isBefore(ReadableInstant instant)
          Is this instant before the instant passed in comparing solely by millisecond.
 boolean AbstractInstant.isEqual(ReadableInstant instant)
          Is this instant equal to the instant passed in comparing solely by millisecond.
 

Uses of ReadableInstant in org.joda.time.chrono
 

Methods in org.joda.time.chrono with parameters of type ReadableInstant
static GJChronology GJChronology.getInstance(DateTimeZone zone, ReadableInstant gregorianCutover)
          Factory method returns instances of the GJ cutover chronology.
static GJChronology GJChronology.getInstance(DateTimeZone zone, ReadableInstant gregorianCutover, int minDaysInFirstWeek)
          Factory method returns instances of the GJ cutover chronology.
 

Uses of ReadableInstant in org.joda.time.field
 

Methods in org.joda.time.field with parameters of type ReadableInstant
 int AbstractReadableInstantFieldProperty.getDifference(ReadableInstant instant)
          Returns the difference between this field property instant and the one passed in, in the units of this field.
 long AbstractReadableInstantFieldProperty.getDifferenceAsLong(ReadableInstant instant)
          Returns the difference between this field property instant and the one passed in, in the units of this field.
 int AbstractReadableInstantFieldProperty.compareTo(ReadableInstant instant)
          Compare this field to the same field on another instant.
 int AbstractPartialFieldProperty.compareTo(ReadableInstant instant)
          Compare this field to the same field on another instant.
 

Uses of ReadableInstant in org.joda.time.format
 

Methods in org.joda.time.format with parameters of type ReadableInstant
 void DateTimeFormatter.printTo(StringBuffer buf, ReadableInstant instant)
          Prints a ReadableInstant, using the chronology supplied by the instant.
 void DateTimeFormatter.printTo(Writer out, ReadableInstant instant)
          Prints a ReadableInstant, using the chronology supplied by the instant.
 String DateTimeFormatter.print(ReadableInstant instant)
          Prints a ReadableInstant to a String.
 



Copyright © 2002-2008 Joda.org. All Rights Reserved.