Uses of Class
org.joda.time.DateTimeFieldType
Packages that use DateTimeFieldType
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
Implementation package providing abstract and base time classes.
Implementation package providing abstract and standard field classes.
Provides printing and parsing support for instants and durations.
-
Uses of DateTimeFieldType in org.joda.time
Subclasses of DateTimeFieldType in org.joda.timeModifier and TypeClassDescriptionprivate static classFields in org.joda.time declared as DateTimeFieldTypeModifier and TypeFieldDescriptionprivate static final DateTimeFieldTypeDateTimeFieldType.CENTURY_OF_ERA_TYPEThe centuryOfEra field type.private static final DateTimeFieldTypeDateTimeFieldType.CLOCKHOUR_OF_DAY_TYPEThe clockhourOfDay field type.private static final DateTimeFieldTypeDateTimeFieldType.CLOCKHOUR_OF_HALFDAY_TYPEThe clockhourOfHalfday field type.private static final DateTimeFieldTypeDateTimeFieldType.DAY_OF_MONTH_TYPEThe dayOfMonth field type.private static final DateTimeFieldTypeDateTimeFieldType.DAY_OF_WEEK_TYPEThe dayOfWeek field type.private static final DateTimeFieldTypeDateTimeFieldType.DAY_OF_YEAR_TYPEThe dayOfYear field type.private static final DateTimeFieldTypeDateTimeFieldType.ERA_TYPEThe era field type.private static final DateTimeFieldType[]MonthDay.FIELD_TYPESThe singleton set of field typesprivate static final DateTimeFieldType[]TimeOfDay.FIELD_TYPESDeprecated.The singleton set of field typesprivate static final DateTimeFieldType[]YearMonth.FIELD_TYPESThe singleton set of field typesprivate static final DateTimeFieldType[]YearMonthDay.FIELD_TYPESDeprecated.The singleton set of field typesprivate static final DateTimeFieldTypeDateTimeFieldType.HALFDAY_OF_DAY_TYPEThe halfday field type.private static final DateTimeFieldTypeDateTimeFieldType.HOUR_OF_DAY_TYPEThe hourOfDay field type.private static final DateTimeFieldTypeDateTimeFieldType.HOUR_OF_HALFDAY_TYPEThe hourOfHalfday field type.private final DateTimeFieldTypeIllegalFieldValueException.iDateTimeFieldTypeprivate final DateTimeFieldTypeDateTimeComparator.iLowerLimitThe lower limit of fields to compare, null if no limitprivate final DateTimeFieldType[]Partial.iTypesThe set of field types.private final DateTimeFieldTypeDateTimeComparator.iUpperLimitThe upper limit of fields to compare, null if no limitprivate static final DateTimeFieldTypeDateTimeFieldType.MILLIS_OF_DAY_TYPEThe millisOfDay field type.private static final DateTimeFieldTypeDateTimeFieldType.MILLIS_OF_SECOND_TYPEThe millisOfSecond field type.private static final DateTimeFieldTypeDateTimeFieldType.MINUTE_OF_DAY_TYPEThe minuteOfDay field type.private static final DateTimeFieldTypeDateTimeFieldType.MINUTE_OF_HOUR_TYPEThe minuteOfHour field type.private static final DateTimeFieldTypeDateTimeFieldType.MONTH_OF_YEAR_TYPEThe monthOfYear field type.private static final DateTimeFieldTypeDateTimeFieldType.SECOND_OF_DAY_TYPEThe secondOfDay field type.private static final DateTimeFieldTypeDateTimeFieldType.SECOND_OF_MINUTE_TYPEThe secondOfMinute field type.private static final DateTimeFieldTypeDateTimeFieldType.WEEK_OF_WEEKYEAR_TYPEThe weekOfWeekyear field type.private static final DateTimeFieldTypeDateTimeFieldType.WEEKYEAR_OF_CENTURY_TYPEThe weekyearOfCentury field type.private static final DateTimeFieldTypeDateTimeFieldType.WEEKYEAR_TYPEThe weekyear field type.private static final DateTimeFieldTypeDateTimeFieldType.YEAR_OF_CENTURY_TYPEThe yearOfCentury field type.private static final DateTimeFieldTypeDateTimeFieldType.YEAR_OF_ERA_TYPEThe yearOfEra field type.private static final DateTimeFieldTypeDateTimeFieldType.YEAR_TYPEThe year field type.Methods in org.joda.time that return DateTimeFieldTypeModifier and TypeMethodDescriptionstatic DateTimeFieldTypeDateTimeFieldType.centuryOfEra()Get the century of era field type.static DateTimeFieldTypeDateTimeFieldType.clockhourOfDay()Get the hour of day (offset to 1-24) field type.static DateTimeFieldTypeDateTimeFieldType.clockhourOfHalfday()Get the hour of am/pm (offset to 1-12) field type.static DateTimeFieldTypeDateTimeFieldType.dayOfMonth()Get the day of month field type.static DateTimeFieldTypeDateTimeFieldType.dayOfWeek()Get the day of week field type.static DateTimeFieldTypeDateTimeFieldType.dayOfYear()Get the day of year field type.static DateTimeFieldTypeDateTimeFieldType.era()Get the era field type.IllegalFieldValueException.getDateTimeFieldType()Returns the DateTimeFieldType whose value was invalid, or null if not applicable.MonthDay.getFieldType(int index) Gets the field type at the specified index.Partial.getFieldType(int index) Gets the field type at the specified index.ReadablePartial.getFieldType(int index) Gets the field type at the specified index.TimeOfDay.getFieldType(int index) Deprecated.Gets the field type at the specified index.YearMonth.getFieldType(int index) Gets the field type at the specified index.YearMonthDay.getFieldType(int index) Deprecated.Gets the field type at the specified index.MonthDay.getFieldTypes()Gets an array of the field type of each of the fields that this partial supports.Partial.getFieldTypes()Gets an array of the field type of each of the fields that this partial supports.TimeOfDay.getFieldTypes()Deprecated.Gets an array of the field type of each of the fields that this partial supports.YearMonth.getFieldTypes()Gets an array of the field type of each of the fields that this partial supports.YearMonthDay.getFieldTypes()Deprecated.Gets an array of the field type of each of the fields that this partial supports.DateTimeComparator.getLowerLimit()Gets the field type that represents the lower limit of comparison.abstract DateTimeFieldTypeDateTimeField.getType()Get the type of the field.DateTimeComparator.getUpperLimit()Gets the field type that represents the upper limit of comparison.static DateTimeFieldTypeDateTimeFieldType.halfdayOfDay()Get the AM(0) PM(1) field type.static DateTimeFieldTypeDateTimeFieldType.hourOfDay()Get the hour of day (0-23) field type.static DateTimeFieldTypeDateTimeFieldType.hourOfHalfday()Get the hour of am/pm (0-11) field type.static DateTimeFieldTypeDateTimeFieldType.millisOfDay()Get the millis of day field type.static DateTimeFieldTypeDateTimeFieldType.millisOfSecond()Get the millis of second field type.static DateTimeFieldTypeDateTimeFieldType.minuteOfDay()Get the minute of day field type.static DateTimeFieldTypeDateTimeFieldType.minuteOfHour()Get the minute of hour field type.static DateTimeFieldTypeDateTimeFieldType.monthOfYear()Get the month of year field type.static DateTimeFieldTypeDateTimeFieldType.secondOfDay()Get the second of day field type.static DateTimeFieldTypeDateTimeFieldType.secondOfMinute()Get the second of minute field type.static DateTimeFieldTypeDateTimeFieldType.weekOfWeekyear()Get the week of a week based year field type.static DateTimeFieldTypeDateTimeFieldType.weekyear()Get the year of a week based year field type.static DateTimeFieldTypeDateTimeFieldType.weekyearOfCentury()Get the year of a week based year within a century field type.static DateTimeFieldTypeDateTimeFieldType.year()Get the year field type.static DateTimeFieldTypeDateTimeFieldType.yearOfCentury()Get the year of century field type.static DateTimeFieldTypeDateTimeFieldType.yearOfEra()Get the year of era field type.Methods in org.joda.time with parameters of type DateTimeFieldTypeModifier and TypeMethodDescriptionintLocalDate.get(DateTimeFieldType fieldType) Get the value of one of the fields of a datetime.intLocalDateTime.get(DateTimeFieldType type) Get the value of one of the fields of a datetime.intLocalTime.get(DateTimeFieldType fieldType) Get the value of one of the fields of time.intReadableInstant.get(DateTimeFieldType type) Get the value of one of the fields of a datetime.intReadablePartial.get(DateTimeFieldType field) Gets the value of one of the fields.static DateTimeComparatorDateTimeComparator.getInstance(DateTimeFieldType lowerLimit) Returns a DateTimeComparator with a lower limit only.static DateTimeComparatorDateTimeComparator.getInstance(DateTimeFieldType lowerLimit, DateTimeFieldType upperLimit) Returns a DateTimeComparator with a lower and upper limit.booleanLocalDate.isSupported(DateTimeFieldType type) Checks if the field type specified is supported by this local date and chronology.booleanLocalDateTime.isSupported(DateTimeFieldType type) Checks if the field type specified is supported by this local datetime and chronology.booleanLocalTime.isSupported(DateTimeFieldType type) Checks if the field type specified is supported by this local time and chronology.booleanReadableInstant.isSupported(DateTimeFieldType field) Checks whether the field type specified is supported by this implementation.booleanReadablePartial.isSupported(DateTimeFieldType field) Checks whether the field type specified is supported by this partial.DateMidnight.property(DateTimeFieldType type) Deprecated.Gets the property object for the specified type, which contains many useful methods.DateTime.property(DateTimeFieldType type) Gets the property object for the specified type, which contains many useful methods.LocalDate.property(DateTimeFieldType fieldType) Gets the property object for the specified type, which contains many useful methods.LocalDateTime.property(DateTimeFieldType fieldType) Gets the property object for the specified type, which contains many useful methods.LocalTime.property(DateTimeFieldType fieldType) Gets the property object for the specified type, which contains many useful methods.MonthDay.property(DateTimeFieldType type) Gets the property object for the specified type, which contains many useful methods.MutableDateTime.property(DateTimeFieldType type) Gets the property object for the specified type, which contains many useful methods.Partial.property(DateTimeFieldType type) Gets the property object for the specified type, which contains many useful methods for getting and manipulating the partial.TimeOfDay.property(DateTimeFieldType type) Deprecated.Gets the property object for the specified type, which contains many useful methods.YearMonth.property(DateTimeFieldType type) Gets the property object for the specified type, which contains many useful methods.YearMonthDay.property(DateTimeFieldType type) Deprecated.Gets the property object for the specified type, which contains many useful methods.voidMutableDateTime.set(DateTimeFieldType type, int value) Sets the value of one of the fields of the instant, such as hourOfDay.voidReadWritableInstant.set(DateTimeFieldType type, int value) Sets the value of one of the fields of the instant, such as hourOfDay.Partial.with(DateTimeFieldType fieldType, int value) Gets a copy of this date with the specified field set to a new value.DateMidnight.withField(DateTimeFieldType fieldType, int value) Deprecated.Returns a copy of this date with the specified field set to a new value.DateTime.withField(DateTimeFieldType fieldType, int value) Returns a copy of this datetime with the specified field set to a new value.LocalDate.withField(DateTimeFieldType fieldType, int value) Returns a copy of this date with the specified field set to a new value.LocalDateTime.withField(DateTimeFieldType fieldType, int value) Returns a copy of this datetime with the specified field set to a new value.LocalTime.withField(DateTimeFieldType fieldType, int value) Returns a copy of this time with the specified field set to a new value.MonthDay.withField(DateTimeFieldType fieldType, int value) Returns a copy of this month-day with the specified field set to a new value.Partial.withField(DateTimeFieldType fieldType, int value) Gets a copy of this Partial with the specified field set to a new value.TimeOfDay.withField(DateTimeFieldType fieldType, int value) Deprecated.Returns a copy of this time with the specified field set to a new value.YearMonth.withField(DateTimeFieldType fieldType, int value) Returns a copy of this year-month with the specified field set to a new value.YearMonthDay.withField(DateTimeFieldType fieldType, int value) Deprecated.Returns a copy of this date with the specified field set to a new value.Partial.without(DateTimeFieldType fieldType) Gets a copy of this date with the specified field removed.Constructors in org.joda.time with parameters of type DateTimeFieldTypeModifierConstructorDescriptionprotectedDateTimeComparator(DateTimeFieldType lowerLimit, DateTimeFieldType upperLimit) Restricted constructor.IllegalFieldValueException(DateTimeFieldType fieldType, Number value, Number lowerBound, Number upperBound) Constructor.IllegalFieldValueException(DateTimeFieldType fieldType, Number value, Number lowerBound, Number upperBound, String explain) Constructor.IllegalFieldValueException(DateTimeFieldType fieldType, Number value, String explain) Constructor.IllegalFieldValueException(DateTimeFieldType fieldType, String value) Constructor.(package private)Partial(Chronology chronology, DateTimeFieldType[] types, int[] values) Constructs a Partial with the specified chronology, fields and values.Partial(DateTimeFieldType[] types, int[] values) Constructs a Partial with the specified fields and values.Partial(DateTimeFieldType[] types, int[] values, Chronology chronology) Constructs a Partial with the specified fields and values.Partial(DateTimeFieldType type, int value) Constructs a Partial with the specified field and value.Partial(DateTimeFieldType type, int value, Chronology chronology) Constructs a Partial with the specified field and value. -
Uses of DateTimeFieldType in org.joda.time.base
Methods in org.joda.time.base that return DateTimeFieldTypeModifier and TypeMethodDescriptionAbstractPartial.getFieldType(int index) Gets the field type at the specified index.AbstractPartial.getFieldTypes()Gets an array of the field types that this partial supports.Methods in org.joda.time.base with parameters of type DateTimeFieldTypeModifier and TypeMethodDescriptionintAbstractDateTime.get(DateTimeFieldType type) Get the value of one of the fields of a datetime.intAbstractInstant.get(DateTimeFieldType type) Get the value of one of the fields of a datetime using the chronology of the instant.intAbstractPartial.get(DateTimeFieldType type) Get the value of one of the fields of a datetime.intAbstractPartial.indexOf(DateTimeFieldType type) Gets the index of the specified field, or -1 if the field is unsupported.protected intAbstractPartial.indexOfSupported(DateTimeFieldType type) Gets the index of the specified field, throwing an exception if the field is unsupported.booleanAbstractInstant.isSupported(DateTimeFieldType type) Checks if the field type specified is supported by this instant and chronology.booleanAbstractPartial.isSupported(DateTimeFieldType type) Checks whether the field specified is supported by this partial. -
Uses of DateTimeFieldType in org.joda.time.field
Fields in org.joda.time.field declared as DateTimeFieldTypeModifier and TypeFieldDescriptionprivate final DateTimeFieldTypeBaseDateTimeField.iTypeThe field type.private final DateTimeFieldTypeDelegatedDateTimeField.iTypeThe override field type.private final DateTimeFieldTypeUnsupportedDateTimeField.iTypeThe field typeFields in org.joda.time.field with type parameters of type DateTimeFieldTypeModifier and TypeFieldDescriptionprivate static HashMap<DateTimeFieldType, UnsupportedDateTimeField> UnsupportedDateTimeField.cCacheThe cache of unsupported datetime field instancesMethods in org.joda.time.field that return DateTimeFieldTypeModifier and TypeMethodDescriptionAbstractPartialFieldProperty.getFieldType()Gets the field type being used.AbstractReadableInstantFieldProperty.getFieldType()Gets the field type being used.final DateTimeFieldTypeBaseDateTimeField.getType()DelegatedDateTimeField.getType()UnsupportedDateTimeField.getType()Methods in org.joda.time.field with parameters of type DateTimeFieldTypeModifier and TypeMethodDescriptionstatic UnsupportedDateTimeFieldUnsupportedDateTimeField.getInstance(DateTimeFieldType type, DurationField durationField) Gets an instance of UnsupportedDateTimeField for a specific named field.static voidFieldUtils.verifyValueBounds(DateTimeFieldType fieldType, int value, int lowerBound, int upperBound) Verify that input values are within specified bounds.Constructors in org.joda.time.field with parameters of type DateTimeFieldTypeModifierConstructorDescriptionprotectedConstructor.protectedDecoratedDateTimeField(DateTimeField field, DateTimeFieldType type) 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.DividedDateTimeField(RemainderDateTimeField remainderField, DateTimeFieldType type) Construct a DividedDateTimeField that compliments the given RemainderDateTimeField.DividedDateTimeField(RemainderDateTimeField remainderField, DurationField rangeField, DateTimeFieldType type) Construct a DividedDateTimeField that compliments the given RemainderDateTimeField.ImpreciseDateTimeField(DateTimeFieldType type, long unitMillis) Constructor.OffsetDateTimeField(DateTimeField field, DateTimeFieldType type, int offset) Constructor.OffsetDateTimeField(DateTimeField field, DateTimeFieldType type, int offset, int minValue, int maxValue) Constructor.PreciseDateTimeField(DateTimeFieldType type, DurationField unit, DurationField range) Constructor.Constructor.RemainderDateTimeField(DateTimeField field, DateTimeFieldType type, int divisor) Constructor.RemainderDateTimeField(DateTimeField field, DurationField rangeField, DateTimeFieldType type, int divisor) Constructor.RemainderDateTimeField(DividedDateTimeField dividedField, DateTimeFieldType type) Construct a RemainderDateTimeField that compliments the given DividedDateTimeField.RemainderDateTimeField(DividedDateTimeField dividedField, DurationField durationField, DateTimeFieldType type) Construct a RemainderDateTimeField that compliments the given DividedDateTimeField.privateUnsupportedDateTimeField(DateTimeFieldType type, DurationField durationField) Constructor.ZeroIsMaxDateTimeField(DateTimeField field, DateTimeFieldType type) Constructor. -
Uses of DateTimeFieldType in org.joda.time.format
Fields in org.joda.time.format declared as DateTimeFieldTypeModifier and TypeFieldDescriptionprivate final DateTimeFieldTypeDateTimeFormatterBuilder.Fraction.iFieldTypeprotected final DateTimeFieldTypeDateTimeFormatterBuilder.NumberFormatter.iFieldTypeprivate final DateTimeFieldTypeDateTimeFormatterBuilder.TextField.iFieldTypeprivate final DateTimeFieldTypeDateTimeFormatterBuilder.TwoDigitYear.iTypeThe field to print/parse.Fields in org.joda.time.format with type parameters of type DateTimeFieldTypeModifier and TypeFieldDescriptionprivate static Map<Locale, Map<DateTimeFieldType, Object[]>> DateTimeFormatterBuilder.TextField.cParseCacheMethods in org.joda.time.format with parameters of type DateTimeFieldTypeModifier and TypeMethodDescriptionDateTimeFormatterBuilder.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.appendFixedDecimal(DateTimeFieldType fieldType, int numDigits) 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.appendFixedSignedDecimal(DateTimeFieldType fieldType, int numDigits) 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.appendFraction(DateTimeFieldType fieldType, int minDigits, int maxDigits) Instructs the printer to emit a remainder of time as a decimal fraction, without decimal point.DateTimeFormatterBuilder.appendShortText(DateTimeFieldType fieldType) Instructs the printer to emit a field value as short text, and the parser to expect text.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.appendText(DateTimeFieldType fieldType) Instructs the printer to emit a field value as text, and the parser to expect text.voidDateTimeParserBucket.saveField(DateTimeFieldType fieldType, int value) Saves a datetime field value.voidDateTimeParserBucket.saveField(DateTimeFieldType fieldType, String text, Locale locale) Saves a datetime field text value.Method parameters in org.joda.time.format with type arguments of type DateTimeFieldTypeModifier and TypeMethodDescriptionprivate static voidISODateTimeFormat.checkNotStrictISO(Collection<DateTimeFieldType> fields, boolean strictISO) Checks that the iso only flag is not set, throwing an exception if it is.private static booleanISODateTimeFormat.dateByMonth(DateTimeFormatterBuilder bld, Collection<DateTimeFieldType> fields, boolean extended, boolean strictISO) Creates a date using the calendar date format.private static booleanISODateTimeFormat.dateByOrdinal(DateTimeFormatterBuilder bld, Collection<DateTimeFieldType> fields, boolean extended, boolean strictISO) Creates a date using the ordinal date format.private static booleanISODateTimeFormat.dateByWeek(DateTimeFormatterBuilder bld, Collection<DateTimeFieldType> fields, boolean extended, boolean strictISO) Creates a date using the calendar date format.static DateTimeFormatterISODateTimeFormat.forFields(Collection<DateTimeFieldType> fields, boolean extended, boolean strictISO) Returns a formatter that outputs only those fields specified.private static voidISODateTimeFormat.time(DateTimeFormatterBuilder bld, Collection<DateTimeFieldType> fields, boolean extended, boolean strictISO, boolean reducedPrec, boolean datePresent) Adds the time fields to the builder.Constructors in org.joda.time.format with parameters of type DateTimeFieldTypeModifierConstructorDescriptionprotectedFixedNumber(DateTimeFieldType fieldType, int numDigits, boolean signed) protectedFraction(DateTimeFieldType fieldType, int minDigits, int maxDigits) (package private)NumberFormatter(DateTimeFieldType fieldType, int maxParsedDigits, boolean signed) protectedPaddedNumber(DateTimeFieldType fieldType, int maxParsedDigits, boolean signed, int minPrintedDigits) (package private)TextField(DateTimeFieldType fieldType, boolean isShort) (package private)TwoDigitYear(DateTimeFieldType type, int pivot, boolean lenientParse) protectedUnpaddedNumber(DateTimeFieldType fieldType, int maxParsedDigits, boolean signed)