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.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
abstract DateTimeField |
Chronology.centuryOfEra() |
Get the century of era field for this chronology.
|
abstract DateTimeField |
Chronology.clockhourOfDay() |
Get the hour of day (offset to 1-24) field for this chronology.
|
abstract DateTimeField |
Chronology.clockhourOfHalfday() |
Get the hour of am/pm (offset to 1-12) field for this chronology.
|
abstract DateTimeField |
Chronology.dayOfMonth() |
Get the day of month field for this chronology.
|
abstract DateTimeField |
Chronology.dayOfWeek() |
Get the day of week field for this chronology.
|
abstract DateTimeField |
Chronology.dayOfYear() |
Get the day of year field for this chronology.
|
abstract DateTimeField |
Chronology.era() |
Get the era field for this chronology.
|
DateTimeField |
DateMidnight.Property.getField() |
Gets the field being used.
|
DateTimeField |
DateTime.Property.getField() |
Gets the field being used.
|
abstract DateTimeField |
DateTimeFieldType.getField(Chronology chronology) |
Gets a suitable field for this type from the given Chronology.
|
protected DateTimeField |
LocalDate.getField(int index,
Chronology chrono) |
Gets the field for a specific index in the chronology specified.
|
DateTimeField |
LocalDate.Property.getField() |
Gets the field being used.
|
protected DateTimeField |
LocalDateTime.getField(int index,
Chronology chrono) |
Gets the field for a specific index in the chronology specified.
|
DateTimeField |
LocalDateTime.Property.getField() |
Gets the field being used.
|
protected DateTimeField |
LocalTime.getField(int index,
Chronology chrono) |
Gets the field for a specific index in the chronology specified.
|
DateTimeField |
LocalTime.Property.getField() |
Gets the field being used.
|
protected DateTimeField |
MonthDay.getField(int index,
Chronology chrono) |
Gets the field for a specific index in the chronology specified.
|
DateTimeField |
MonthDay.Property.getField() |
Gets the field that this property uses.
|
DateTimeField |
MutableDateTime.Property.getField() |
Gets the field being used.
|
protected DateTimeField |
Partial.getField(int index,
Chronology chrono) |
Gets the field for a specific index in the chronology specified.
|
DateTimeField |
Partial.Property.getField() |
Gets the field that this property uses.
|
DateTimeField |
ReadablePartial.getField(int index) |
Gets the field at the specified index.
|
protected DateTimeField |
TimeOfDay.getField(int index,
Chronology chrono) |
Deprecated.
Gets the field for a specific index in the chronology specified.
|
DateTimeField |
TimeOfDay.Property.getField() |
Deprecated.
Gets the field that this property uses.
|
protected DateTimeField |
YearMonth.getField(int index,
Chronology chrono) |
Gets the field for a specific index in the chronology specified.
|
DateTimeField |
YearMonth.Property.getField() |
Gets the field that this property uses.
|
protected DateTimeField |
YearMonthDay.getField(int index,
Chronology chrono) |
Deprecated.
Gets the field for a specific index in the chronology specified.
|
DateTimeField |
YearMonthDay.Property.getField() |
Deprecated.
Gets the field that this property uses.
|
DateTimeField |
MutableDateTime.getRoundingField() |
Gets the field used for rounding this instant, returning null if rounding
is not enabled.
|
abstract DateTimeField |
Chronology.halfdayOfDay() |
Get the AM(0) PM(1) field for this chronology.
|
abstract DateTimeField |
Chronology.hourOfDay() |
Get the hour of day (0-23) field for this chronology.
|
abstract DateTimeField |
Chronology.hourOfHalfday() |
Get the hour of am/pm (0-11) field for this chronology.
|
abstract DateTimeField |
Chronology.millisOfDay() |
Get the millis of day field for this chronology.
|
abstract DateTimeField |
Chronology.millisOfSecond() |
Get the millis of second field for this chronology.
|
abstract DateTimeField |
Chronology.minuteOfDay() |
Get the minute of day field for this chronology.
|
abstract DateTimeField |
Chronology.minuteOfHour() |
Get the minute of hour field for this chronology.
|
abstract DateTimeField |
Chronology.monthOfYear() |
Get the month of year field for this chronology.
|
abstract DateTimeField |
Chronology.secondOfDay() |
Get the second of day field for this chronology.
|
abstract DateTimeField |
Chronology.secondOfMinute() |
Get the second of minute field for this chronology.
|
abstract DateTimeField |
Chronology.weekOfWeekyear() |
Get the week of a week based year field for this chronology.
|
abstract DateTimeField |
Chronology.weekyear() |
Get the year of a week based year field for this chronology.
|
abstract DateTimeField |
Chronology.weekyearOfCentury() |
Get the year of a week based year in a century field for this chronology.
|
abstract DateTimeField |
Chronology.year() |
Get the year field for this chronology.
|
abstract DateTimeField |
Chronology.yearOfCentury() |
Get the year of century field for this chronology.
|
abstract DateTimeField |
Chronology.yearOfEra() |
Get the year of era field for this chronology.
|
Modifier and Type | Method | Description |
---|---|---|
void |
MutableDateTime.setRounding(DateTimeField field) |
Sets the status of rounding to use the specified field and ROUND_FLOOR mode.
|
void |
MutableDateTime.setRounding(DateTimeField field,
int mode) |
Sets the status of rounding to use the specified field and mode.
|
Modifier and Type | Method | Description |
---|---|---|
DateTimeField |
AbstractPartial.getField(int index) |
Gets the field at the specified index.
|
protected abstract DateTimeField |
AbstractPartial.getField(int index,
Chronology chrono) |
Gets the field for a specific index in the chronology specified.
|
DateTimeField[] |
AbstractPartial.getFields() |
Gets an array of the fields that this partial supports.
|
Modifier and Type | Method | Description |
---|---|---|
int |
AbstractInstant.get(DateTimeField field) |
Get the value of one of the fields of a datetime.
|
Modifier and Type | Field | Description |
---|---|---|
DateTimeField |
AssembledChronology.Fields.centuryOfEra |
|
DateTimeField |
AssembledChronology.Fields.clockhourOfDay |
|
DateTimeField |
AssembledChronology.Fields.clockhourOfHalfday |
|
DateTimeField |
AssembledChronology.Fields.dayOfMonth |
|
DateTimeField |
AssembledChronology.Fields.dayOfWeek |
|
DateTimeField |
AssembledChronology.Fields.dayOfYear |
|
DateTimeField |
AssembledChronology.Fields.era |
|
DateTimeField |
AssembledChronology.Fields.halfdayOfDay |
|
DateTimeField |
AssembledChronology.Fields.hourOfDay |
|
DateTimeField |
AssembledChronology.Fields.hourOfHalfday |
|
DateTimeField |
AssembledChronology.Fields.millisOfDay |
|
DateTimeField |
AssembledChronology.Fields.millisOfSecond |
|
DateTimeField |
AssembledChronology.Fields.minuteOfDay |
|
DateTimeField |
AssembledChronology.Fields.minuteOfHour |
|
DateTimeField |
AssembledChronology.Fields.monthOfYear |
|
DateTimeField |
AssembledChronology.Fields.secondOfDay |
|
DateTimeField |
AssembledChronology.Fields.secondOfMinute |
|
DateTimeField |
AssembledChronology.Fields.weekOfWeekyear |
|
DateTimeField |
AssembledChronology.Fields.weekyear |
|
DateTimeField |
AssembledChronology.Fields.weekyearOfCentury |
|
DateTimeField |
AssembledChronology.Fields.year |
|
DateTimeField |
AssembledChronology.Fields.yearOfCentury |
|
DateTimeField |
AssembledChronology.Fields.yearOfEra |
Modifier and Type | Method | Description |
---|---|---|
DateTimeField |
AssembledChronology.centuryOfEra() |
|
DateTimeField |
BaseChronology.centuryOfEra() |
Get the century of era field for this chronology.
|
DateTimeField |
AssembledChronology.clockhourOfDay() |
|
DateTimeField |
BaseChronology.clockhourOfDay() |
Get the hour of day (offset to 1-24) field for this chronology.
|
DateTimeField |
AssembledChronology.clockhourOfHalfday() |
|
DateTimeField |
BaseChronology.clockhourOfHalfday() |
Get the hour of am/pm (offset to 1-12) field for this chronology.
|
DateTimeField |
AssembledChronology.dayOfMonth() |
|
DateTimeField |
BaseChronology.dayOfMonth() |
Get the day of month field for this chronology.
|
DateTimeField |
AssembledChronology.dayOfWeek() |
|
DateTimeField |
BaseChronology.dayOfWeek() |
Get the day of week field for this chronology.
|
DateTimeField |
AssembledChronology.dayOfYear() |
|
DateTimeField |
BaseChronology.dayOfYear() |
Get the day of year field for this chronology.
|
DateTimeField |
AssembledChronology.era() |
|
DateTimeField |
BaseChronology.era() |
Get the era field for this chronology.
|
DateTimeField |
AssembledChronology.halfdayOfDay() |
|
DateTimeField |
BaseChronology.halfdayOfDay() |
Get the AM(0) PM(1) field for this chronology.
|
DateTimeField |
AssembledChronology.hourOfDay() |
|
DateTimeField |
BaseChronology.hourOfDay() |
Get the hour of day (0-23) field for this chronology.
|
DateTimeField |
AssembledChronology.hourOfHalfday() |
|
DateTimeField |
BaseChronology.hourOfHalfday() |
Get the hour of am/pm (0-11) field for this chronology.
|
DateTimeField |
AssembledChronology.millisOfDay() |
|
DateTimeField |
BaseChronology.millisOfDay() |
Get the millis of day field for this chronology.
|
DateTimeField |
AssembledChronology.millisOfSecond() |
|
DateTimeField |
BaseChronology.millisOfSecond() |
Get the millis of second field for this chronology.
|
DateTimeField |
AssembledChronology.minuteOfDay() |
|
DateTimeField |
BaseChronology.minuteOfDay() |
Get the minute of day field for this chronology.
|
DateTimeField |
AssembledChronology.minuteOfHour() |
|
DateTimeField |
BaseChronology.minuteOfHour() |
Get the minute of hour field for this chronology.
|
DateTimeField |
AssembledChronology.monthOfYear() |
|
DateTimeField |
BaseChronology.monthOfYear() |
Get the month of year field for this chronology.
|
DateTimeField |
AssembledChronology.secondOfDay() |
|
DateTimeField |
BaseChronology.secondOfDay() |
Get the second of day field for this chronology.
|
DateTimeField |
AssembledChronology.secondOfMinute() |
|
DateTimeField |
BaseChronology.secondOfMinute() |
Get the second of minute field for this chronology.
|
DateTimeField |
AssembledChronology.weekOfWeekyear() |
|
DateTimeField |
BaseChronology.weekOfWeekyear() |
Get the week of a week based year field for this chronology.
|
DateTimeField |
AssembledChronology.weekyear() |
|
DateTimeField |
BaseChronology.weekyear() |
Get the year of a week based year field for this chronology.
|
DateTimeField |
AssembledChronology.weekyearOfCentury() |
|
DateTimeField |
BaseChronology.weekyearOfCentury() |
Get the year of a week based year in a century field for this chronology.
|
DateTimeField |
AssembledChronology.year() |
|
DateTimeField |
BaseChronology.year() |
Get the year field for this chronology.
|
DateTimeField |
AssembledChronology.yearOfCentury() |
|
DateTimeField |
BaseChronology.yearOfCentury() |
Get the year of century field for this chronology.
|
DateTimeField |
AssembledChronology.yearOfEra() |
|
DateTimeField |
BaseChronology.yearOfEra() |
Get the year of era field for this chronology.
|
Modifier and Type | Class | Description |
---|---|---|
class |
BaseDateTimeField |
BaseDateTimeField provides the common behaviour for DateTimeField
implementations.
|
class |
DecoratedDateTimeField |
DecoratedDateTimeField extends BaseDateTimeField ,
implementing only the minimum required set of methods. |
class |
DelegatedDateTimeField |
DelegatedDateTimeField delegates each method call to the
date time field it wraps. |
class |
DividedDateTimeField |
Divides a DateTimeField such that the retrieved values are reduced by a
fixed divisor.
|
class |
ImpreciseDateTimeField |
Abstract datetime field class that defines its own DurationField, which
delegates back into this ImpreciseDateTimeField.
|
class |
LenientDateTimeField |
Converts a strict DateTimeField into a lenient one.
|
class |
OffsetDateTimeField |
Generic offset adjusting datetime field.
|
class |
PreciseDateTimeField |
Precise datetime field, composed of two precise duration fields.
|
class |
PreciseDurationDateTimeField |
Precise datetime field, which has a precise unit duration field.
|
class |
RemainderDateTimeField |
Counterpart remainder datetime field to
DividedDateTimeField . |
class |
SkipDateTimeField |
Wraps another field such that a certain value is skipped.
|
class |
SkipUndoDateTimeField |
Wraps another field such that a certain value is added back into
the sequence of numbers.
|
class |
StrictDateTimeField |
Converts a lenient DateTimeField into a strict one.
|
class |
UnsupportedDateTimeField |
A placeholder implementation to use when a datetime field is not supported.
|
class |
ZeroIsMaxDateTimeField |
Wraps another field such that zero values are replaced with one more than
it's maximum.
|
Modifier and Type | Method | Description |
---|---|---|
abstract DateTimeField |
AbstractPartialFieldProperty.getField() |
Gets the field being used.
|
abstract DateTimeField |
AbstractReadableInstantFieldProperty.getField() |
Gets the field being used.
|
static DateTimeField |
LenientDateTimeField.getInstance(DateTimeField field,
Chronology base) |
Returns a lenient version of the given field.
|
static DateTimeField |
StrictDateTimeField.getInstance(DateTimeField field) |
Returns a strict version of the given field.
|
DateTimeField |
DecoratedDateTimeField.getWrappedField() |
Gets the wrapped date time field.
|
DateTimeField |
DelegatedDateTimeField.getWrappedField() |
Gets the wrapped date time field.
|
Modifier and Type | Method | Description |
---|---|---|
static DateTimeField |
LenientDateTimeField.getInstance(DateTimeField field,
Chronology base) |
Returns a lenient version of the given field.
|
static DateTimeField |
StrictDateTimeField.getInstance(DateTimeField field) |
Returns a strict version of the given field.
|
static void |
FieldUtils.verifyValueBounds(DateTimeField field,
int value,
int lowerBound,
int upperBound) |
Verify that input values are within specified bounds.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DateTimeParserBucket.saveField(DateTimeField field,
int value) |
Saves a datetime field value.
|
Copyright © 2002–2018 Joda.org. All rights reserved.