Uses of Class org.joda.time.DurationFieldType

Uses in package org.joda.time

Constructors with parameter type org.joda.time.DurationFieldType

IllegalFieldValueException.IllegalFieldValueException(DurationFieldType fieldType, Number value, Number lowerBound, Number upperBound)
Constructor.
Constructor.
PeriodType.PeriodType(String name, DurationFieldType[] types, int[] indices)
Constructor.

Methods with parameter type org.joda.time.DurationFieldType

void
Adds to the instant specifying the duration and multiple to add.
void
MutablePeriod.add(DurationFieldType field, int value)
Adds to the value of one of the fields.
void
Adds to the instant specifying the duration and multiple to add.
void
Adds to the value of one of the fields.
PeriodType
Gets a period type that contains the duration types of the array.
int
Gets the value of one of the fields.
int
Gets the index of the field in this period.
boolean
Checks if the duration type specified is supported by this local date and chronology.
boolean
Checks if the duration type specified is supported by this local datetime and chronology.
boolean
Checks if the duration type specified is supported by this local time and chronology.
boolean
Checks whether the field specified is supported by this period.
boolean
Checks whether the field type specified is supported by this period.
void
MutablePeriod.set(DurationFieldType field, int value)
Sets the value of one of the fields.
void
Sets the value of one of the fields.
Period
Period.withField(DurationFieldType field, int value)
Creates a new Period instance with the specified field set to a new value.
Partial
Gets a copy of this Partial with the value of the specified field increased.
DateMidnight
Returns a copy of this date with the value of the specified field increased.
DateTime
DateTime.withFieldAdded(DurationFieldType fieldType, int amount)
Returns a copy of this datetime with the value of the specified field increased.
LocalDate
LocalDate.withFieldAdded(DurationFieldType fieldType, int amount)
Returns a copy of this date with the value of the specified field increased.
LocalDateTime
Returns a copy of this datetime with the value of the specified field increased.
LocalTime
LocalTime.withFieldAdded(DurationFieldType fieldType, int amount)
Returns a copy of this time with the value of the specified field increased.
Partial
Partial.withFieldAdded(DurationFieldType fieldType, int amount)
Gets a copy of this Partial with the value of the specified field increased.
Period
Creates a new Period instance with the valueToAdd added to the specified field.
TimeOfDay
TimeOfDay.withFieldAdded(DurationFieldType fieldType, int amount)
Returns a copy of this time with the value of the specified field increased, wrapping to what would be a new day if required.
YearMonthDay
Returns a copy of this date with the value of the specified field increased.

Methods with return type org.joda.time.DurationFieldType

DurationFieldType
Get the centuries field type.
DurationFieldType
Get the days field type.
DurationFieldType
Get the eras field type.
DurationFieldType
Returns the DurationFieldType whose value was invalid, or null if not applicable.
DurationFieldType
Get the duration unit of the field.
DurationFieldType
Gets the duration field type, which is days.
DurationFieldType
Gets the duration field type, which is hours.
DurationFieldType
Gets the duration field type, which is minutes.
DurationFieldType
Gets the duration field type, which is months.
DurationFieldType
Gets the duration field type, which is seconds.
DurationFieldType
Gets the duration field type, which is weeks.
DurationFieldType
Gets the duration field type, which is years.
DurationFieldType
Gets the field type by index.
DurationFieldType
Gets the field type at the specified index.
DurationFieldType
Get the duration range of the field.
DurationFieldType
Get the type of the field.
DurationFieldType
Get the halfdays field type.
DurationFieldType
Get the hours field type.
DurationFieldType
Get the millis field type.
DurationFieldType
Get the minutes field type.
DurationFieldType
Get the months field type.
DurationFieldType
Get the seconds field type.
DurationFieldType
Get the weeks field type.
DurationFieldType
Get the weekyears field type.
DurationFieldType
Get the years field type.

Uses in package org.joda.time.field

Constructors with parameter type org.joda.time.DurationFieldType

Constructor.
Constructor.
Constructor.
Constructor

Methods with parameter type org.joda.time.DurationFieldType

UnsupportedDurationField
Gets an instance of UnsupportedDurationField for a specific named field.

Methods with return type org.joda.time.DurationFieldType

DurationFieldType
DurationFieldType
DurationFieldType
DurationFieldType

Uses in package org.joda.time.base

Methods with parameter type org.joda.time.DurationFieldType

void
Adds the value of a field in this period.
void
BasePeriod.addFieldInto(int[] values, DurationFieldType field, int value)
Adds the value of a field in this period.
int
Calculates the number of whole units between the two specified datetimes.
int
Gets the value of one of the fields.
int
Gets the value of a duration field represented by this period.
int
Gets the index of the first fields to have the specified duration, or -1 if the field is unsupported.
int
Gets the index of the field in this period.
int
Gets the index of the first fields to have the specified duration, throwing an exception if the field is unsupported.
boolean
Checks whether the field specified is supported by this period.
boolean
Checks whether the duration field specified is supported by this period.
void
Sets the value of a field in this period.
void
BasePeriod.setFieldInto(int[] values, DurationFieldType field, int value)
Sets the value of a field in this period.

Methods with return type org.joda.time.DurationFieldType

DurationFieldType
Gets the single duration field type.
DurationFieldType
Gets the field type at the specified index.
DurationFieldType
Gets the field type at the specified index.
DurationFieldType[]
Gets an array of the field types that this period supports.

Copyright (c) 2001-2006 - Joda.org