Uses of Class
org.joda.time.DurationField
Packages that use DurationField
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
Package containing the chronology classes which define the calendar systems.
Implementation package providing abstract and standard field classes.
-
Uses of DurationField in org.joda.time
Methods in org.joda.time that return DurationFieldModifier and TypeMethodDescriptionabstract DurationField
Chronology.centuries()
Get the centuries duration field for this chronology.abstract DurationField
Chronology.days()
Get the days duration field for this chronology.abstract DurationField
Chronology.eras()
Get the eras duration field for this chronology.abstract DurationField
DateTimeField.getDurationField()
Returns the duration per unit value of this field.abstract DurationField
DurationFieldType.getField
(Chronology chronology) Gets a suitable field for this type from the given Chronology.abstract DurationField
DateTimeField.getLeapDurationField()
If this field were to leap, then it would be in units described by the returned duration.abstract DurationField
DateTimeField.getRangeDurationField()
Returns the range duration of this field.abstract DurationField
Chronology.halfdays()
Get the halfdays duration field for this chronology.abstract DurationField
Chronology.hours()
Get the hours duration field for this chronology.abstract DurationField
Chronology.millis()
Get the millis duration field for this chronology.abstract DurationField
Chronology.minutes()
Get the minutes duration field for this chronology.abstract DurationField
Chronology.months()
Get the months duration field for this chronology.abstract DurationField
Chronology.seconds()
Get the seconds duration field for this chronology.abstract DurationField
Chronology.weeks()
Get the weeks duration field for this chronology.abstract DurationField
Chronology.weekyears()
Get the weekyears duration field for this chronology.abstract DurationField
Chronology.years()
Get the years duration field for this chronology. -
Uses of DurationField in org.joda.time.chrono
Fields in org.joda.time.chrono declared as DurationFieldModifier and TypeFieldDescriptionAssembledChronology.Fields.centuries
AssembledChronology.Fields.days
AssembledChronology.Fields.eras
AssembledChronology.Fields.halfdays
AssembledChronology.Fields.hours
AssembledChronology.Fields.millis
AssembledChronology.Fields.minutes
AssembledChronology.Fields.months
AssembledChronology.Fields.seconds
AssembledChronology.Fields.weeks
AssembledChronology.Fields.weekyears
AssembledChronology.Fields.years
Methods in org.joda.time.chrono that return DurationFieldModifier and TypeMethodDescriptionfinal DurationField
AssembledChronology.centuries()
BaseChronology.centuries()
Get the centuries duration field for this chronology.final DurationField
AssembledChronology.days()
BaseChronology.days()
Get the days duration field for this chronology.final DurationField
AssembledChronology.eras()
BaseChronology.eras()
Get the eras duration field for this chronology.final DurationField
AssembledChronology.halfdays()
BaseChronology.halfdays()
Get the halfdays duration field for this chronology.final DurationField
AssembledChronology.hours()
BaseChronology.hours()
Get the hours duration field for this chronology.final DurationField
AssembledChronology.millis()
BaseChronology.millis()
Get the millis duration field for this chronology.final DurationField
AssembledChronology.minutes()
BaseChronology.minutes()
Get the minutes duration field for this chronology.final DurationField
AssembledChronology.months()
BaseChronology.months()
Get the months duration field for this chronology.final DurationField
AssembledChronology.seconds()
BaseChronology.seconds()
Get the seconds duration field for this chronology.final DurationField
AssembledChronology.weeks()
BaseChronology.weeks()
Get the weeks duration field for this chronology.final DurationField
AssembledChronology.weekyears()
BaseChronology.weekyears()
Get the weekyears duration field for this chronology.final DurationField
AssembledChronology.years()
BaseChronology.years()
Get the years duration field for this chronology. -
Uses of DurationField in org.joda.time.field
Subclasses of DurationField in org.joda.time.fieldModifier and TypeClassDescriptionclass
BaseDurationField provides the common behaviour for DurationField implementations.class
DecoratedDurationField
extendsBaseDurationField
, implementing only the minimum required set of methods.class
DelegatedDurationField
delegates each method call to the duration field it wraps.final class
Duration field class representing a field with a fixed unit length of one millisecond.class
Duration field class representing a field with a fixed unit length.class
Scales a DurationField such that it's unit millis becomes larger in magnitude.final class
A placeholder implementation to use when a duration field is not supported.Fields in org.joda.time.field declared as DurationFieldModifier and TypeFieldDescriptionstatic final DurationField
MillisDurationField.INSTANCE
Singleton instance.Methods in org.joda.time.field that return DurationFieldModifier and TypeMethodDescriptionAbstractPartialFieldProperty.getDurationField()
Returns the duration per unit value of this field.AbstractReadableInstantFieldProperty.getDurationField()
Returns the duration per unit value of this field.abstract DurationField
BaseDateTimeField.getDurationField()
Returns the duration per unit value of this field.DecoratedDateTimeField.getDurationField()
DelegatedDateTimeField.getDurationField()
DividedDateTimeField.getDurationField()
Returns a scaled version of the wrapped field's unit duration field.final DurationField
ImpreciseDateTimeField.getDurationField()
PreciseDurationDateTimeField.getDurationField()
Returns the duration per unit value of this field.RemainderDateTimeField.getDurationField()
UnsupportedDateTimeField.getDurationField()
Even though this DateTimeField is unsupported, the duration field might be supported.AbstractReadableInstantFieldProperty.getLeapDurationField()
If this field were to leap, then it would be in units described by the returned duration.BaseDateTimeField.getLeapDurationField()
If this field were to leap, then it would be in units described by the returned duration.DelegatedDateTimeField.getLeapDurationField()
OffsetDateTimeField.getLeapDurationField()
UnsupportedDateTimeField.getLeapDurationField()
Always returns null.ZeroIsMaxDateTimeField.getLeapDurationField()
AbstractPartialFieldProperty.getRangeDurationField()
Returns the range duration of this field.AbstractReadableInstantFieldProperty.getRangeDurationField()
Returns the range duration of this field.abstract DurationField
BaseDateTimeField.getRangeDurationField()
Returns the range duration of this field.DecoratedDateTimeField.getRangeDurationField()
DelegatedDateTimeField.getRangeDurationField()
DividedDateTimeField.getRangeDurationField()
abstract DurationField
ImpreciseDateTimeField.getRangeDurationField()
PreciseDateTimeField.getRangeDurationField()
Returns the range duration of this field.RemainderDateTimeField.getRangeDurationField()
Returns a scaled version of the wrapped field's unit duration field.UnsupportedDateTimeField.getRangeDurationField()
Always returns null.final DurationField
DecoratedDurationField.getWrappedField()
Gets the wrapped duration field.final DurationField
DelegatedDurationField.getWrappedField()
Gets the wrapped duration field.Methods in org.joda.time.field with parameters of type DurationFieldModifier and TypeMethodDescriptionint
BaseDurationField.compareTo
(DurationField otherField) int
DelegatedDurationField.compareTo
(DurationField durationField) int
MillisDurationField.compareTo
(DurationField otherField) int
UnsupportedDurationField.compareTo
(DurationField durationField) Always returns zero, indicating that sort order is not relevant.static UnsupportedDateTimeField
UnsupportedDateTimeField.getInstance
(DateTimeFieldType type, DurationField durationField) Gets an instance of UnsupportedDateTimeField for a specific named field.Constructors in org.joda.time.field with parameters of type DurationFieldModifierConstructorDescriptionDecoratedDurationField
(DurationField field, DurationFieldType type) Constructor.DelegatedDateTimeField
(DateTimeField field, DurationField rangeField, DateTimeFieldType type) Constructor.protected
Constructor.protected
DelegatedDurationField
(DurationField field, DurationFieldType type) Constructor.DividedDateTimeField
(DateTimeField field, DurationField rangeField, DateTimeFieldType type, int divisor) Constructor.DividedDateTimeField
(RemainderDateTimeField remainderField, DurationField rangeField, DateTimeFieldType type) Construct a DividedDateTimeField that compliments the given RemainderDateTimeField.PreciseDateTimeField
(DateTimeFieldType type, DurationField unit, DurationField range) Constructor.Constructor.RemainderDateTimeField
(DateTimeField field, DurationField rangeField, DateTimeFieldType type, int divisor) Constructor.RemainderDateTimeField
(DividedDateTimeField dividedField, DurationField durationField, DateTimeFieldType type) Construct a RemainderDateTimeField that compliments the given DividedDateTimeField.ScaledDurationField
(DurationField field, DurationFieldType type, int scalar) Constructor