Uses of Interface org.joda.time.ReadableInstant

Uses in package org.joda.time

Classes implementing org.joda.time.ReadableInstant

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

Constructors with parameter type org.joda.time.ReadableInstant

Creates a duration from the given interval endpoints.
Constructs an interval from a millisecond duration and an end instant.
Constructs an interval from a start instant and a duration.
Constructs an interval from a start and end instant.
Constructs an interval from a start instant and a time period.
Constructs an interval from a time period and an end instant.
Constructs an interval from a millisecond duration and an end instant.
Constructs an interval from a start instant and a duration.
Constructs an interval from a start and end instant.
Constructs an interval from a start instant and a time period.
Constructs an interval from a time period and an end instant.
Creates a period from the given duration and end point.
Creates a period from the given duration and end point.
Creates a period from the given start point and the duration.
Creates a period from the given start point and the duration.
Creates a period from the given interval endpoints using the standard set of fields.
Creates a period from the given interval endpoints.
Creates a period from the given duration and end point.
Creates a period from the given duration and end point.
Period.Period(ReadableInstant startInstant, ReadableDuration duration)
Creates a period from the given start point and the duration.
Period.Period(ReadableInstant startInstant, ReadableDuration duration, PeriodType type)
Creates a period from the given start point and the duration.
Period.Period(ReadableInstant startInstant, ReadableInstant endInstant)
Creates a period from the given interval endpoints using the standard set of fields.
Period.Period(ReadableInstant startInstant, ReadableInstant endInstant, PeriodType type)
Creates a period from the given interval endpoints.

Methods with parameter type org.joda.time.ReadableInstant

boolean
Does this time interval contain the specified instant.
Days
Creates a Days representing the number of whole days between the two specified datetimes.
Chronology
Gets the chronology from the specified instant object handling null.
long
Gets the millisecond instant from the specified instant object handling null.
Chronology
Gets the chronology from the specified instant based interval handling null.
int
Gets the millisecond offset to add to UTC to get local time.
Hours
Creates a Hours representing the number of whole hours between the two specified datetimes.
boolean
Is this instant after the instant passed in comparing solely by millisecond.
boolean
Is this time interval after the specified instant.
boolean
Is this instant before the instant passed in comparing solely by millisecond.
boolean
Is this time interval before the specified instant.
boolean
Is this instant equal to the instant passed in comparing solely by millisecond.
boolean
Does this partial match the specified instant.
Minutes
Creates a Minutes representing the number of whole minutes between the two specified datetimes.
Months
Creates a Months representing the number of whole months between the two specified datetimes.
Seconds
Creates a Seconds representing the number of whole seconds between the two specified datetimes.
void
Set the date from another instant.
void
Sets the end of this time interval as an Instant.
void
Sets the end of this time interval as an Instant.
void
Sets this interval from two instants, replacing the chronology with that from the start instant.
void
Sets this interval from two instants.
void
Sets the millisecond instant of this instant from another.
void
Sets the millisecond instant of this instant from another.
void
Sets all the fields in one go from two instants representing an interval.
void
Sets the start of this time interval as an Instant.
void
Sets the start of this time interval as an Instant.
void
Set the time from another instant.
DateTime
Converts this partial to a full datetime by resolving it against another datetime.
Weeks
Creates a Weeks representing the number of whole weeks between the two specified datetimes.
Interval
Creates a new interval with the specified end instant.
Interval
Creates a new interval with the specified start instant.
Years
Creates a Years representing the number of whole years between the two specified datetimes.

Uses in package org.joda.time.chrono

Methods with parameter type org.joda.time.ReadableInstant

GJChronology
Factory method returns instances of the GJ cutover chronology.
GJChronology
GJChronology.getInstance(DateTimeZone zone, ReadableInstant gregorianCutover, int minDaysInFirstWeek)
Factory method returns instances of the GJ cutover chronology.

Uses in package org.joda.time.field

Methods with parameter type org.joda.time.ReadableInstant

int
Compare this field to the same field on another instant.
int
Compare this field to the same field on another instant.
int
Returns the difference between this field property instant and the one passed in, in the units of this field.
long
Returns the difference between this field property instant and the one passed in, in the units of this field.

Uses in package org.joda.time.format

Methods with parameter type org.joda.time.ReadableInstant

String
Prints a ReadableInstant to a String.
void
DateTimeFormatter.printTo(StringBuffer buf, ReadableInstant instant)
Prints a ReadableInstant, using the chronology supplied by the instant.
void
Prints a ReadableInstant, using the chronology supplied by the instant.

Uses in package org.joda.time.base

Classes implementing org.joda.time.ReadableInstant

class
AbstractDateTime provides the common behaviour for datetime classes.
class
AbstractInstant provides the common behaviour for instant classes.
class
BaseDateTime is an abstract implementation of ReadableDateTime that stores data in long and Chronology fields.

Constructors with parameter type org.joda.time.ReadableInstant

Creates a duration from the given interval endpoints.
Constructs an interval from a millisecond duration and an end instant.
Constructs an interval from a start instant and a duration.
Constructs an interval from a start and end instant.
Constructs an interval from a start instant and a time period.
Constructs an interval from a time period and an end instant.
Creates a period from the given duration and end point.
Creates a period from the given start point and duration.
Creates a period from the given interval endpoints.

Methods with parameter type org.joda.time.ReadableInstant

int
Calculates the number of whole units between the two specified datetimes.
boolean
Does this time interval contain the specified instant.
boolean
Is this instant after the instant passed in comparing solely by millisecond.
boolean
Is this time interval after the specified instant.
boolean
Is this instant before the instant passed in comparing solely by millisecond.
boolean
Is this time interval before the specified instant.
boolean
Is this instant equal to the instant passed in comparing solely by millisecond.
DateTime
Resolves this partial against another complete instant to create a new full instant.
Duration
Gets the total millisecond duration of this period relative to a start instant.
Duration
Gets the total millisecond duration of this period relative to an end instant.
Interval
Converts this duration to an Interval starting at the specified instant.
Interval
Converts this duration to an Interval ending at the specified instant.
Period
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
Converts this duration to a Period instance by adding the duration to a start instant to obtain an interval.
Period
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
Converts this duration to a Period instance by subtracting the duration from an end instant to obtain an interval using the standard period type.

Copyright (c) 2001-2006 - Joda.org