|
Joda Time API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use ReadableInstant | |
| org.joda.time | DateTime object creation and manipulation. |
| org.joda.time.chrono.gj | Gregorian/Julian Chronology. |
| org.joda.time.format | Printing and parsing of DateTime objects. |
| Uses of ReadableInstant in org.joda.time |
| Subinterfaces of ReadableInstant in org.joda.time | |
interface |
ReadableDateTime
Extends the ReadableInstant interface to support specific datetime fields. |
interface |
ReadWritableInstant
Writable interface for an instant in the datetime continuum. |
| Classes in org.joda.time that implement ReadableInstant | |
class |
AbstractDateTime
AbstractDateTime provides the common behaviour for immutable datetime classes. |
class |
AbstractInstant
AbstractInstant provides the common behaviour for immutable time classes. |
class |
DateTime
DateTime is the basic implementation of a datetime class supporting chronologies and time zones. |
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 that return ReadableInstant | |
ReadableInstant |
DateTimeFieldProperty.getInstant()
Gets the instant being used. |
protected ReadableInstant |
MutableDateTime.create(long millis,
Chronology chrono)
Creates a new instance of this class. |
protected ReadableInstant |
DateTime.create(long millis,
Chronology chrono)
Creates a new instance of this class. |
protected ReadableInstant |
Instant.create(long millis,
Chronology chrono)
Creates a new instance of this class. |
ReadableInstant |
ReadableInstant.toCopy(long newMillis)
Gets a copy of this instant with different millis. |
ReadableInstant |
ReadableInstant.toCopy(Chronology newChronology)
Gets a copy of this instant with a different chronology. |
protected abstract ReadableInstant |
AbstractInstant.create(long millis,
Chronology chrono)
Creates a new instance of this class. |
ReadableInstant |
AbstractInstant.toCopy(long newMillis)
Gets a copy of this instant with different millis. |
ReadableInstant |
AbstractInstant.toCopy(Chronology newChronology)
Gets a copy of this instant with a different chronology. |
| Methods in org.joda.time with parameters of type ReadableInstant | |
long |
DateTimeFieldProperty.getDifference(ReadableInstant instant)
Returns the difference between this field property instant and the one passed in, in the units of this field. |
int |
DateTimeFieldProperty.compareTo(ReadableInstant instant)
Compare this field to the same field on another instant. |
int |
DateTimeZone.getOffset(ReadableInstant instant)
Gets the millisecond offset to add to UTC to get local time. |
boolean |
ReadableInstant.isAfter(ReadableInstant readableInstant)
Is the millisecond value after the millisecond passed in. |
boolean |
ReadableInstant.isBefore(ReadableInstant readableInstant)
Is the millisecond value before the millisecond passed in. |
boolean |
ReadableInstant.isEqual(ReadableInstant readableInstant)
Is the millisecond value equal to the millisecond passed in. |
boolean |
AbstractInstant.isAfter(ReadableInstant readableInstant)
Is the millisecond value after the millisecond passed in. |
boolean |
AbstractInstant.isBefore(ReadableInstant readableInstant)
Is the millisecond value before the millisecond passed in. |
boolean |
AbstractInstant.isEqual(ReadableInstant readableInstant)
Is the millisecond value equal to the millisecond passed in. |
| Constructors in org.joda.time with parameters of type ReadableInstant | |
DateTimeFieldProperty(ReadableInstant instant,
DateTimeField field)
Constructor. |
|
MutableDateTime(ReadableInstant instant)
Constructs a MutableDateTime from a ReadableInstant, using its chronology. |
|
MutableDateTime(ReadableInstant instant,
DateTimeZone zone)
Constructs a MutableDateTime from a ReadableInstant, using its chronology against a different time zone. |
|
MutableDateTime(ReadableInstant instant,
Chronology chronology)
Constructs a MutableDateTime from a ReadableInstant, using the supplied chronology. |
|
DateTime(ReadableInstant instant)
Constructs a DateTime from a ReadableInstant, using its chronology. |
|
DateTime(ReadableInstant instant,
DateTimeZone zone)
Constructs a DateTime from a ReadableInstant, using its chronology against a different time zone. |
|
DateTime(ReadableInstant instant,
Chronology chronology)
Constructs a DateTime from a ReadableInstant, using the supplied chronology. |
|
Instant(ReadableInstant instant)
Constructor that takes a ReadableInstant. |
|
| Uses of ReadableInstant in org.joda.time.chrono.gj |
| Methods in org.joda.time.chrono.gj with parameters of type ReadableInstant | |
static GJChronology |
GJChronology.getInstance(DateTimeZone zone,
ReadableInstant gregorianCutover,
boolean centuryISO)
Factory method allowing the Gregorian cutover point and year zero handling to be set. |
static GJChronology |
GJChronology.getInstance(DateTimeZone zone,
ReadableInstant gregorianCutover,
boolean centuryISO,
int minDaysInFirstWeek)
Factory method allowing the Gregorian cutover point and year zero handling to be set. |
| Uses of ReadableInstant in org.joda.time.format |
| Methods in org.joda.time.format with parameters of type ReadableInstant | |
void |
AbstractDateTimeFormatter.printTo(java.lang.StringBuffer buf,
ReadableInstant instant)
|
void |
AbstractDateTimeFormatter.printTo(java.io.Writer out,
ReadableInstant instant)
|
java.lang.String |
AbstractDateTimeFormatter.print(ReadableInstant instant)
|
void |
DateTimePrinter.printTo(java.lang.StringBuffer buf,
ReadableInstant instant)
Prints a ReadableInstant, attempting to use the DateTimeZone supplied by the instant. |
void |
DateTimePrinter.printTo(java.io.Writer out,
ReadableInstant instant)
Prints a ReadableInstant, attempting to use the DateTimeZone supplied by the instant. |
java.lang.String |
DateTimePrinter.print(ReadableInstant instant)
Prints a ReadableInstant to a new String, attempting to use the DateTimeZone supplied by the instant. |
void |
DateTimeFormatter.printTo(java.lang.StringBuffer buf,
ReadableInstant instant)
Prints a ReadableInstant, attempting to use the DateTimeZone supplied by the instant. |
void |
DateTimeFormatter.printTo(java.io.Writer out,
ReadableInstant instant)
Prints a ReadableInstant, attempting to use the DateTimeZone supplied by the instant. |
java.lang.String |
DateTimeFormatter.print(ReadableInstant instant)
Prints a ReadableInstant to a new String, attempting to use the DateTimeZone supplied by the instant. |
|
Joda Time API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||