Uses of Class org.joda.time.DateTimeFieldType

Uses in package org.joda.time

Constructors with parameter type org.joda.time.DateTimeFieldType

Restricted constructor.
IllegalFieldValueException.IllegalFieldValueException(DateTimeFieldType fieldType, Number value, Number lowerBound, Number upperBound)
Constructor.
IllegalFieldValueException.IllegalFieldValueException(DateTimeFieldType fieldType, Number value, String explain)
Constructor.
Constructor.
Partial.Partial(DateTimeFieldType type, int value)
Constructs a Partial with the specified field and value.
Partial.Partial(DateTimeFieldType type, int value, Chronology chronology)
Constructs a Partial with the specified field and value.
Partial.Partial(DateTimeFieldType[] types, int[] values)
Constructs a Partial with the specified fields and values.
Partial.Partial(DateTimeFieldType[] types, int[] values, Chronology chronology)
Constructs a Partial with the specified fields and values.

Methods with parameter type org.joda.time.DateTimeFieldType

int
Get the value of one of the fields of a datetime.
int
Get the value of one of the fields of a datetime.
int
Get the value of one of the fields of time.
int
Get the value of one of the fields of a datetime.
int
Gets the value of one of the fields.
DateTimeComparator
Returns a DateTimeComparator with a lower limit only.
DateTimeComparator
Returns a DateTimeComparator with a lower and upper limit.
boolean
Checks if the field type specified is supported by this local date and chronology.
boolean
Checks if the field type specified is supported by this local datetime and chronology.
boolean
Checks if the field type specified is supported by this local time and chronology.
boolean
Checks whether the field type specified is supported by this implementation.
boolean
Checks whether the field type specified is supported by this partial.
DateMidnight.Property
Gets the property object for the specified type, which contains many useful methods.
DateTime.Property
Gets the property object for the specified type, which contains many useful methods.
LocalDate.Property
Gets the property object for the specified type, which contains many useful methods.
LocalDateTime.Property
Gets the property object for the specified type, which contains many useful methods.
LocalTime.Property
Gets the property object for the specified type, which contains many useful methods.
MutableDateTime.Property
Gets the property object for the specified type, which contains many useful methods.
Partial.Property
Gets the property object for the specified type, which contains many useful methods for getting and manipulating the partial.
TimeOfDay.Property
Gets the property object for the specified type, which contains many useful methods.
YearMonthDay.Property
Gets the property object for the specified type, which contains many useful methods.
void
Sets the value of one of the fields of the instant, such as hourOfDay.
void
Sets the value of one of the fields of the instant, such as hourOfDay.
Partial
Partial.with(DateTimeFieldType fieldType, int value)
Gets a copy of this date with the specified field set to a new value.
DateMidnight
DateMidnight.withField(DateTimeFieldType fieldType, int value)
Returns a copy of this date with the specified field set to a new value.
DateTime
DateTime.withField(DateTimeFieldType fieldType, int value)
Returns a copy of this datetime with the specified field set to a new value.
LocalDate
LocalDate.withField(DateTimeFieldType fieldType, int value)
Returns a copy of this date with the specified field set to a new value.
LocalDateTime
LocalDateTime.withField(DateTimeFieldType fieldType, int value)
Returns a copy of this datetime with the specified field set to a new value.
LocalTime
LocalTime.withField(DateTimeFieldType fieldType, int value)
Returns a copy of this time with the specified field set to a new value.
Partial
Partial.withField(DateTimeFieldType fieldType, int value)
Gets a copy of this Partial with the specified field set to a new value.
TimeOfDay
TimeOfDay.withField(DateTimeFieldType fieldType, int value)
Returns a copy of this time with the specified field set to a new value.
YearMonthDay
YearMonthDay.withField(DateTimeFieldType fieldType, int value)
Returns a copy of this date with the specified field set to a new value.
Partial
Gets a copy of this date with the specified field removed.

Methods with return type org.joda.time.DateTimeFieldType

DateTimeFieldType
Get the century of era field type.
DateTimeFieldType
Get the hour of day (offset to 1-24) field type.
DateTimeFieldType
Get the hour of am/pm (offset to 1-12) field type.
DateTimeFieldType
Get the day of month field type.
DateTimeFieldType
Get the day of week field type.
DateTimeFieldType
Get the day of year field type.
DateTimeFieldType
Get the era field type.
DateTimeFieldType
Returns the DateTimeFieldType whose value was invalid, or null if not applicable.
DateTimeFieldType
Partial.getFieldType(int index)
Gets the field type at the specified index.
DateTimeFieldType
Gets the field type at the specified index.
DateTimeFieldType
Gets the field type at the specified index.
DateTimeFieldType
Gets the field type at the specified index.
DateTimeFieldType[]
Gets an array of the field type of each of the fields that this partial supports.
DateTimeFieldType[]
Gets an array of the field type of each of the fields that this partial supports.
DateTimeFieldType[]
Gets an array of the field type of each of the fields that this partial supports.
DateTimeFieldType
Gets the field type that represents the lower limit of comparison.
DateTimeFieldType
Get the type of the field.
DateTimeFieldType
Gets the field type that represents the upper limit of comparison.
DateTimeFieldType
Get the AM(0) PM(1) field type.
DateTimeFieldType
Get the hour of day (0-23) field type.
DateTimeFieldType
Get the hour of am/pm (0-11) field type.
DateTimeFieldType
Get the millis of day field type.
DateTimeFieldType
Get the millis of second field type.
DateTimeFieldType
Get the minute of day field type.
DateTimeFieldType
Get the minute of hour field type.
DateTimeFieldType
Get the month of year field type.
DateTimeFieldType
Get the second of day field type.
DateTimeFieldType
Get the second of minute field type.
DateTimeFieldType
Get the week of a week based year field type.
DateTimeFieldType
Get the year of a week based year field type.
DateTimeFieldType
Get the year of a week based year within a century field type.
DateTimeFieldType
Get the year field type.
DateTimeFieldType
Get the year of century field type.
DateTimeFieldType
Get the year of era field type.

Uses in package org.joda.time.field

Constructors with parameter type org.joda.time.DateTimeFieldType

Constructor.
Constructor.
Constructor.
Constructor.
Construct a DividedDateTimeField that compliments the given RemainderDateTimeField.
Constructor.
Constructor.
OffsetDateTimeField.OffsetDateTimeField(DateTimeField field, DateTimeFieldType type, int offset, int minValue, int maxValue)
Constructor.
Constructor.
Constructor.
Constructor.
Construct a RemainderDateTimeField that compliments the given DividedDateTimeField.
Constructor.

Methods with parameter type org.joda.time.DateTimeFieldType

UnsupportedDateTimeField
Gets an instance of UnsupportedDateTimeField for a specific named field.
void
FieldUtils.verifyValueBounds(DateTimeFieldType fieldType, int value, int lowerBound, int upperBound)
Verify that input values are within specified bounds.

Methods with return type org.joda.time.DateTimeFieldType

DateTimeFieldType
Gets the field type being used.
DateTimeFieldType
Gets the field type being used.
DateTimeFieldType
DateTimeFieldType
Get the type of the field.
DateTimeFieldType
Get the type of the field.

Uses in package org.joda.time.format

Methods with parameter type org.joda.time.DateTimeFieldType

DateTimeFormatterBuilder
DateTimeFormatterBuilder.appendDecimal(DateTimeFieldType fieldType, int minDigits, int maxDigits)
Instructs the printer to emit a field value as a decimal number, and the parser to expect an unsigned decimal number.
DateTimeFormatterBuilder
Instructs the printer to emit a field value as a fixed-width decimal number (smaller numbers will be left-padded with zeros), and the parser to expect an unsigned decimal number with the same fixed width.
DateTimeFormatterBuilder
Instructs the printer to emit a field value as a fixed-width decimal number (smaller numbers will be left-padded with zeros), and the parser to expect an signed decimal number with the same fixed width.
DateTimeFormatterBuilder
DateTimeFormatterBuilder.appendFraction(DateTimeFieldType fieldType, int minDigits, int maxDigits)
Instructs the printer to emit a remainder of time as a decimal fraction, sans decimal point.
DateTimeFormatterBuilder
Instructs the printer to emit a field value as short text, and the parser to expect text.
DateTimeFormatterBuilder
DateTimeFormatterBuilder.appendSignedDecimal(DateTimeFieldType fieldType, int minDigits, int maxDigits)
Instructs the printer to emit a field value as a decimal number, and the parser to expect a signed decimal number.
DateTimeFormatterBuilder
Instructs the printer to emit a field value as text, and the parser to expect text.
void
DateTimeParserBucket.saveField(DateTimeFieldType fieldType, String text, Locale locale)
Saves a datetime field text value.
void
Saves a datetime field value.

Uses in package org.joda.time.base

Methods with parameter type org.joda.time.DateTimeFieldType

int
Get the value of one of the fields of a datetime.
int
Get the value of one of the fields of a datetime using the chronology of the instant.
int
Get the value of one of the fields of a datetime.
int
Gets the index of the specified field, or -1 if the field is unsupported.
int
Gets the index of the specified field, throwing an exception if the field is unsupported.
boolean
Checks if the field type specified is supported by this instant and chronology.
boolean
Checks whether the field specified is supported by this partial.

Methods with return type org.joda.time.DateTimeFieldType

DateTimeFieldType
Gets the field type at the specifed index.
DateTimeFieldType[]
Gets an array of the field types that this partial supports.

Copyright (c) 2001-2006 - Joda.org