Uses of Class
org.joda.time.DateTimeField
Packages that use DateTimeField
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
Implementation package providing abstract and base time classes.
Package containing the chronology classes which define the calendar systems.
Implementation package providing abstract and standard field classes.
Provides printing and parsing support for instants and durations.
-
Uses of DateTimeField in org.joda.time
Methods in org.joda.time that return DateTimeFieldModifier and TypeMethodDescriptionabstract 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.DateMidnight.Property.getField()
Gets the field being used.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.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.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.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.MonthDay.Property.getField()
Gets the field that this property uses.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.Partial.Property.getField()
Gets the field that this property uses.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.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.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.YearMonthDay.Property.getField()
Deprecated.Gets the field that this property uses.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.Methods in org.joda.time with parameters of type DateTimeFieldModifier and TypeMethodDescriptionvoid
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. -
Uses of DateTimeField in org.joda.time.base
Methods in org.joda.time.base that return DateTimeFieldModifier and TypeMethodDescriptionAbstractPartial.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.AbstractPartial.getFields()
Gets an array of the fields that this partial supports.Methods in org.joda.time.base with parameters of type DateTimeFieldModifier and TypeMethodDescriptionint
AbstractInstant.get
(DateTimeField field) Get the value of one of the fields of a datetime. -
Uses of DateTimeField in org.joda.time.chrono
Fields in org.joda.time.chrono declared as DateTimeFieldModifier and TypeFieldDescriptionAssembledChronology.Fields.centuryOfEra
AssembledChronology.Fields.clockhourOfDay
AssembledChronology.Fields.clockhourOfHalfday
AssembledChronology.Fields.dayOfMonth
AssembledChronology.Fields.dayOfWeek
AssembledChronology.Fields.dayOfYear
AssembledChronology.Fields.era
AssembledChronology.Fields.halfdayOfDay
AssembledChronology.Fields.hourOfDay
AssembledChronology.Fields.hourOfHalfday
AssembledChronology.Fields.millisOfDay
AssembledChronology.Fields.millisOfSecond
AssembledChronology.Fields.minuteOfDay
AssembledChronology.Fields.minuteOfHour
AssembledChronology.Fields.monthOfYear
AssembledChronology.Fields.secondOfDay
AssembledChronology.Fields.secondOfMinute
AssembledChronology.Fields.weekOfWeekyear
AssembledChronology.Fields.weekyear
AssembledChronology.Fields.weekyearOfCentury
AssembledChronology.Fields.year
AssembledChronology.Fields.yearOfCentury
AssembledChronology.Fields.yearOfEra
Methods in org.joda.time.chrono that return DateTimeFieldModifier and TypeMethodDescriptionfinal DateTimeField
AssembledChronology.centuryOfEra()
BaseChronology.centuryOfEra()
Get the century of era field for this chronology.final DateTimeField
AssembledChronology.clockhourOfDay()
BaseChronology.clockhourOfDay()
Get the hour of day (offset to 1-24) field for this chronology.final DateTimeField
AssembledChronology.clockhourOfHalfday()
BaseChronology.clockhourOfHalfday()
Get the hour of am/pm (offset to 1-12) field for this chronology.final DateTimeField
AssembledChronology.dayOfMonth()
BaseChronology.dayOfMonth()
Get the day of month field for this chronology.final DateTimeField
AssembledChronology.dayOfWeek()
BaseChronology.dayOfWeek()
Get the day of week field for this chronology.final DateTimeField
AssembledChronology.dayOfYear()
BaseChronology.dayOfYear()
Get the day of year field for this chronology.final DateTimeField
AssembledChronology.era()
BaseChronology.era()
Get the era field for this chronology.final DateTimeField
AssembledChronology.halfdayOfDay()
BaseChronology.halfdayOfDay()
Get the AM(0) PM(1) field for this chronology.final DateTimeField
AssembledChronology.hourOfDay()
BaseChronology.hourOfDay()
Get the hour of day (0-23) field for this chronology.final DateTimeField
AssembledChronology.hourOfHalfday()
BaseChronology.hourOfHalfday()
Get the hour of am/pm (0-11) field for this chronology.final DateTimeField
AssembledChronology.millisOfDay()
BaseChronology.millisOfDay()
Get the millis of day field for this chronology.final DateTimeField
AssembledChronology.millisOfSecond()
BaseChronology.millisOfSecond()
Get the millis of second field for this chronology.final DateTimeField
AssembledChronology.minuteOfDay()
BaseChronology.minuteOfDay()
Get the minute of day field for this chronology.final DateTimeField
AssembledChronology.minuteOfHour()
BaseChronology.minuteOfHour()
Get the minute of hour field for this chronology.final DateTimeField
AssembledChronology.monthOfYear()
BaseChronology.monthOfYear()
Get the month of year field for this chronology.final DateTimeField
AssembledChronology.secondOfDay()
BaseChronology.secondOfDay()
Get the second of day field for this chronology.final DateTimeField
AssembledChronology.secondOfMinute()
BaseChronology.secondOfMinute()
Get the second of minute field for this chronology.final DateTimeField
AssembledChronology.weekOfWeekyear()
BaseChronology.weekOfWeekyear()
Get the week of a week based year field for this chronology.final DateTimeField
AssembledChronology.weekyear()
BaseChronology.weekyear()
Get the year of a week based year field for this chronology.final DateTimeField
AssembledChronology.weekyearOfCentury()
BaseChronology.weekyearOfCentury()
Get the year of a week based year in a century field for this chronology.final DateTimeField
AssembledChronology.year()
BaseChronology.year()
Get the year field for this chronology.final DateTimeField
AssembledChronology.yearOfCentury()
BaseChronology.yearOfCentury()
Get the year of century field for this chronology.final DateTimeField
AssembledChronology.yearOfEra()
BaseChronology.yearOfEra()
Get the year of era field for this chronology. -
Uses of DateTimeField in org.joda.time.field
Subclasses of DateTimeField in org.joda.time.fieldModifier and TypeClassDescriptionclass
BaseDateTimeField provides the common behaviour for DateTimeField implementations.class
DecoratedDateTimeField
extendsBaseDateTimeField
, implementing only the minimum required set of methods.class
DelegatedDateTimeField
delegates each method call to the date time field it wraps.class
Divides a DateTimeField such that the retrieved values are reduced by a fixed divisor.class
Abstract datetime field class that defines its own DurationField, which delegates back into this ImpreciseDateTimeField.class
Converts a strict DateTimeField into a lenient one.class
Generic offset adjusting datetime field.class
Precise datetime field, composed of two precise duration fields.class
Precise datetime field, which has a precise unit duration field.class
Counterpart remainder datetime field toDividedDateTimeField
.final class
Wraps another field such that a certain value is skipped.final class
Wraps another field such that a certain value is added back into the sequence of numbers.class
Converts a lenient DateTimeField into a strict one.final class
A placeholder implementation to use when a datetime field is not supported.final class
Wraps another field such that zero values are replaced with one more than it's maximum.Methods in org.joda.time.field that return DateTimeFieldModifier and TypeMethodDescriptionabstract 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.final DateTimeField
DecoratedDateTimeField.getWrappedField()
Gets the wrapped date time field.final DateTimeField
DelegatedDateTimeField.getWrappedField()
Gets the wrapped date time field.Methods in org.joda.time.field with parameters of type DateTimeFieldModifier and TypeMethodDescriptionstatic 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.Constructors in org.joda.time.field with parameters of type DateTimeFieldModifierConstructorDescriptionprotected
DecoratedDateTimeField
(DateTimeField field, DateTimeFieldType type) Constructor.Constructor.DelegatedDateTimeField
(DateTimeField field, DateTimeFieldType type) Constructor.DelegatedDateTimeField
(DateTimeField field, DurationField rangeField, DateTimeFieldType type) Constructor.DividedDateTimeField
(DateTimeField field, DateTimeFieldType type, int divisor) Constructor.DividedDateTimeField
(DateTimeField field, DurationField rangeField, DateTimeFieldType type, int divisor) Constructor.protected
LenientDateTimeField
(DateTimeField field, Chronology base) OffsetDateTimeField
(DateTimeField field, int offset) Constructor.OffsetDateTimeField
(DateTimeField field, DateTimeFieldType type, int offset) Constructor.OffsetDateTimeField
(DateTimeField field, DateTimeFieldType type, int offset, int minValue, int maxValue) Constructor.RemainderDateTimeField
(DateTimeField field, DateTimeFieldType type, int divisor) Constructor.RemainderDateTimeField
(DateTimeField field, DurationField rangeField, DateTimeFieldType type, int divisor) Constructor.SkipDateTimeField
(Chronology chronology, DateTimeField field) Constructor that skips zero.SkipDateTimeField
(Chronology chronology, DateTimeField field, int skip) Constructor.SkipUndoDateTimeField
(Chronology chronology, DateTimeField field) Constructor that reinserts zero.SkipUndoDateTimeField
(Chronology chronology, DateTimeField field, int skip) Constructor.protected
StrictDateTimeField
(DateTimeField field) ZeroIsMaxDateTimeField
(DateTimeField field, DateTimeFieldType type) Constructor. -
Uses of DateTimeField in org.joda.time.format
Methods in org.joda.time.format with parameters of type DateTimeFieldModifier and TypeMethodDescriptionvoid
DateTimeParserBucket.saveField
(DateTimeField field, int value) Saves a datetime field value.