Uses of Class
org.joda.time.DateTimeFieldType
-
Packages that use DateTimeFieldType Package Description org.joda.time Provides support for dates, times, time zones, durations, intervals, and partials.org.joda.time.base Implementation package providing abstract and base time classes.org.joda.time.field Implementation package providing abstract and standard field classes.org.joda.time.format Provides printing and parsing support for instants and durations. -
-
Uses of DateTimeFieldType in org.joda.time
Subclasses of DateTimeFieldType in org.joda.time Modifier and Type Class Description private static classDateTimeFieldType.StandardDateTimeFieldTypeFields in org.joda.time declared as DateTimeFieldType Modifier and Type Field Description private static DateTimeFieldTypeDateTimeFieldType. CENTURY_OF_ERA_TYPEThe centuryOfEra field type.private static DateTimeFieldTypeDateTimeFieldType. CLOCKHOUR_OF_DAY_TYPEThe clockhourOfDay field type.private static DateTimeFieldTypeDateTimeFieldType. CLOCKHOUR_OF_HALFDAY_TYPEThe clockhourOfHalfday field type.private static DateTimeFieldTypeDateTimeFieldType. DAY_OF_MONTH_TYPEThe dayOfMonth field type.private static DateTimeFieldTypeDateTimeFieldType. DAY_OF_WEEK_TYPEThe dayOfWeek field type.private static DateTimeFieldTypeDateTimeFieldType. DAY_OF_YEAR_TYPEThe dayOfYear field type.private static DateTimeFieldTypeDateTimeFieldType. ERA_TYPEThe era field type.private static DateTimeFieldType[]MonthDay. FIELD_TYPESThe singleton set of field typesprivate static DateTimeFieldType[]TimeOfDay. FIELD_TYPESDeprecated.The singleton set of field typesprivate static DateTimeFieldType[]YearMonth. FIELD_TYPESThe singleton set of field typesprivate static DateTimeFieldType[]YearMonthDay. FIELD_TYPESDeprecated.The singleton set of field typesprivate static DateTimeFieldTypeDateTimeFieldType. HALFDAY_OF_DAY_TYPEThe halfday field type.private static DateTimeFieldTypeDateTimeFieldType. HOUR_OF_DAY_TYPEThe hourOfDay field type.private static DateTimeFieldTypeDateTimeFieldType. HOUR_OF_HALFDAY_TYPEThe hourOfHalfday field type.private DateTimeFieldTypeIllegalFieldValueException. iDateTimeFieldTypeprivate DateTimeFieldTypeDateTimeComparator. iLowerLimitThe lower limit of fields to compare, null if no limitprivate DateTimeFieldType[]Partial. iTypesThe set of field types.private DateTimeFieldTypeDateTimeComparator. iUpperLimitThe upper limit of fields to compare, null if no limitprivate static DateTimeFieldTypeDateTimeFieldType. MILLIS_OF_DAY_TYPEThe millisOfDay field type.private static DateTimeFieldTypeDateTimeFieldType. MILLIS_OF_SECOND_TYPEThe millisOfSecond field type.private static DateTimeFieldTypeDateTimeFieldType. MINUTE_OF_DAY_TYPEThe minuteOfDay field type.private static DateTimeFieldTypeDateTimeFieldType. MINUTE_OF_HOUR_TYPEThe minuteOfHour field type.private static DateTimeFieldTypeDateTimeFieldType. MONTH_OF_YEAR_TYPEThe monthOfYear field type.private static DateTimeFieldTypeDateTimeFieldType. SECOND_OF_DAY_TYPEThe secondOfDay field type.private static DateTimeFieldTypeDateTimeFieldType. SECOND_OF_MINUTE_TYPEThe secondOfMinute field type.private static DateTimeFieldTypeDateTimeFieldType. WEEK_OF_WEEKYEAR_TYPEThe weekOfWeekyear field type.private static DateTimeFieldTypeDateTimeFieldType. WEEKYEAR_OF_CENTURY_TYPEThe weekyearOfCentury field type.private static DateTimeFieldTypeDateTimeFieldType. WEEKYEAR_TYPEThe weekyear field type.private static DateTimeFieldTypeDateTimeFieldType. YEAR_OF_CENTURY_TYPEThe yearOfCentury field type.private static DateTimeFieldTypeDateTimeFieldType. YEAR_OF_ERA_TYPEThe yearOfEra field type.private static DateTimeFieldTypeDateTimeFieldType. YEAR_TYPEThe year field type.Methods in org.joda.time that return DateTimeFieldType Modifier and Type Method Description static 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.DateTimeFieldTypeIllegalFieldValueException. getDateTimeFieldType()Returns the DateTimeFieldType whose value was invalid, or null if not applicable.DateTimeFieldTypeMonthDay. getFieldType(int index)Gets the field type at the specified index.DateTimeFieldTypePartial. getFieldType(int index)Gets the field type at the specified index.DateTimeFieldTypeReadablePartial. getFieldType(int index)Gets the field type at the specified index.DateTimeFieldTypeTimeOfDay. getFieldType(int index)Deprecated.Gets the field type at the specified index.DateTimeFieldTypeYearMonth. getFieldType(int index)Gets the field type at the specified index.DateTimeFieldTypeYearMonthDay. getFieldType(int index)Deprecated.Gets the field type at the specified index.DateTimeFieldType[]MonthDay. getFieldTypes()Gets an array of the field type of each of the fields that this partial supports.DateTimeFieldType[]Partial. getFieldTypes()Gets an array of the field type of each of the fields that this partial supports.DateTimeFieldType[]TimeOfDay. getFieldTypes()Deprecated.Gets an array of the field type of each of the fields that this partial supports.DateTimeFieldType[]YearMonth. getFieldTypes()Gets an array of the field type of each of the fields that this partial supports.DateTimeFieldType[]YearMonthDay. getFieldTypes()Deprecated.Gets an array of the field type of each of the fields that this partial supports.DateTimeFieldTypeDateTimeComparator. getLowerLimit()Gets the field type that represents the lower limit of comparison.abstract DateTimeFieldTypeDateTimeField. getType()Get the type of the field.DateTimeFieldTypeDateTimeComparator. 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 DateTimeFieldType Modifier and Type Method Description intLocalDate. 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.PropertyDateMidnight. property(DateTimeFieldType type)Deprecated.Gets the property object for the specified type, which contains many useful methods.DateTime.PropertyDateTime. property(DateTimeFieldType type)Gets the property object for the specified type, which contains many useful methods.LocalDate.PropertyLocalDate. property(DateTimeFieldType fieldType)Gets the property object for the specified type, which contains many useful methods.LocalDateTime.PropertyLocalDateTime. property(DateTimeFieldType fieldType)Gets the property object for the specified type, which contains many useful methods.LocalTime.PropertyLocalTime. property(DateTimeFieldType fieldType)Gets the property object for the specified type, which contains many useful methods.MonthDay.PropertyMonthDay. property(DateTimeFieldType type)Gets the property object for the specified type, which contains many useful methods.MutableDateTime.PropertyMutableDateTime. property(DateTimeFieldType type)Gets the property object for the specified type, which contains many useful methods.Partial.PropertyPartial. property(DateTimeFieldType type)Gets the property object for the specified type, which contains many useful methods for getting and manipulating the partial.TimeOfDay.PropertyTimeOfDay. property(DateTimeFieldType type)Deprecated.Gets the property object for the specified type, which contains many useful methods.YearMonth.PropertyYearMonth. property(DateTimeFieldType type)Gets the property object for the specified type, which contains many useful methods.YearMonthDay.PropertyYearMonthDay. 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.PartialPartial. with(DateTimeFieldType fieldType, int value)Gets a copy of this date with the specified field set to a new value.DateMidnightDateMidnight. withField(DateTimeFieldType fieldType, int value)Deprecated.Returns a copy of this date with the specified field set to a new value.DateTimeDateTime. withField(DateTimeFieldType fieldType, int value)Returns a copy of this datetime with the specified field set to a new value.LocalDateLocalDate. withField(DateTimeFieldType fieldType, int value)Returns a copy of this date with the specified field set to a new value.LocalDateTimeLocalDateTime. withField(DateTimeFieldType fieldType, int value)Returns a copy of this datetime with the specified field set to a new value.LocalTimeLocalTime. withField(DateTimeFieldType fieldType, int value)Returns a copy of this time with the specified field set to a new value.MonthDayMonthDay. withField(DateTimeFieldType fieldType, int value)Returns a copy of this month-day with the specified field set to a new value.PartialPartial. withField(DateTimeFieldType fieldType, int value)Gets a copy of this Partial with the specified field set to a new value.TimeOfDayTimeOfDay. withField(DateTimeFieldType fieldType, int value)Deprecated.Returns a copy of this time with the specified field set to a new value.YearMonthYearMonth. withField(DateTimeFieldType fieldType, int value)Returns a copy of this year-month with the specified field set to a new value.YearMonthDayYearMonthDay. withField(DateTimeFieldType fieldType, int value)Deprecated.Returns a copy of this date with the specified field set to a new value.PartialPartial. without(DateTimeFieldType fieldType)Gets a copy of this date with the specified field removed.Constructors in org.joda.time with parameters of type DateTimeFieldType Constructor Description DateTimeComparator(DateTimeFieldType lowerLimit, DateTimeFieldType upperLimit)Restricted constructor.IllegalFieldValueException(DateTimeFieldType fieldType, java.lang.Number value, java.lang.Number lowerBound, java.lang.Number upperBound)Constructor.IllegalFieldValueException(DateTimeFieldType fieldType, java.lang.Number value, java.lang.String explain)Constructor.IllegalFieldValueException(DateTimeFieldType fieldType, java.lang.String value)Constructor.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 DateTimeFieldType Modifier and Type Method Description DateTimeFieldTypeAbstractPartial. getFieldType(int index)Gets the field type at the specified index.DateTimeFieldType[]AbstractPartial. getFieldTypes()Gets an array of the field types that this partial supports.Methods in org.joda.time.base with parameters of type DateTimeFieldType Modifier and Type Method Description intAbstractDateTime. 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 DateTimeFieldType Modifier and Type Field Description private DateTimeFieldTypeBaseDateTimeField. iTypeThe field type.private DateTimeFieldTypeDelegatedDateTimeField. iTypeThe override field type.private DateTimeFieldTypeUnsupportedDateTimeField. iTypeThe field typeFields in org.joda.time.field with type parameters of type DateTimeFieldType Modifier and Type Field Description private static java.util.HashMap<DateTimeFieldType,UnsupportedDateTimeField>UnsupportedDateTimeField. cCacheThe cache of unsupported datetime field instancesMethods in org.joda.time.field that return DateTimeFieldType Modifier and Type Method Description DateTimeFieldTypeAbstractPartialFieldProperty. getFieldType()Gets the field type being used.DateTimeFieldTypeAbstractReadableInstantFieldProperty. getFieldType()Gets the field type being used.DateTimeFieldTypeBaseDateTimeField. getType()DateTimeFieldTypeDelegatedDateTimeField. getType()DateTimeFieldTypeUnsupportedDateTimeField. getType()Methods in org.joda.time.field with parameters of type DateTimeFieldType Modifier and Type Method Description static 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 DateTimeFieldType Constructor Description BaseDateTimeField(DateTimeFieldType type)Constructor.DecoratedDateTimeField(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.PreciseDurationDateTimeField(DateTimeFieldType type, DurationField unit)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.UnsupportedDateTimeField(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 DateTimeFieldType Modifier and Type Field Description private DateTimeFieldTypeDateTimeFormatterBuilder.Fraction. iFieldTypeprotected DateTimeFieldTypeDateTimeFormatterBuilder.NumberFormatter. iFieldTypeprivate DateTimeFieldTypeDateTimeFormatterBuilder.TextField. iFieldTypeprivate DateTimeFieldTypeDateTimeFormatterBuilder.TwoDigitYear. iTypeThe field to print/parse.Fields in org.joda.time.format with type parameters of type DateTimeFieldType Modifier and Type Field Description private static java.util.Map<java.util.Locale,java.util.Map<DateTimeFieldType,java.lang.Object[]>>DateTimeFormatterBuilder.TextField. cParseCacheMethods in org.joda.time.format with parameters of type DateTimeFieldType Modifier and Type Method Description DateTimeFormatterBuilderDateTimeFormatterBuilder. 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.DateTimeFormatterBuilderDateTimeFormatterBuilder. 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.DateTimeFormatterBuilderDateTimeFormatterBuilder. 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.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendFraction(DateTimeFieldType fieldType, int minDigits, int maxDigits)Instructs the printer to emit a remainder of time as a decimal fraction, without decimal point.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendShortText(DateTimeFieldType fieldType)Instructs the printer to emit a field value as short text, and the parser to expect text.DateTimeFormatterBuilderDateTimeFormatterBuilder. 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.DateTimeFormatterBuilderDateTimeFormatterBuilder. 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, java.lang.String text, java.util.Locale locale)Saves a datetime field text value.Method parameters in org.joda.time.format with type arguments of type DateTimeFieldType Modifier and Type Method Description private static voidISODateTimeFormat. checkNotStrictISO(java.util.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, java.util.Collection<DateTimeFieldType> fields, boolean extended, boolean strictISO)Creates a date using the calendar date format.private static booleanISODateTimeFormat. dateByOrdinal(DateTimeFormatterBuilder bld, java.util.Collection<DateTimeFieldType> fields, boolean extended, boolean strictISO)Creates a date using the ordinal date format.private static booleanISODateTimeFormat. dateByWeek(DateTimeFormatterBuilder bld, java.util.Collection<DateTimeFieldType> fields, boolean extended, boolean strictISO)Creates a date using the calendar date format.static DateTimeFormatterISODateTimeFormat. forFields(java.util.Collection<DateTimeFieldType> fields, boolean extended, boolean strictISO)Returns a formatter that outputs only those fields specified.private static voidISODateTimeFormat. time(DateTimeFormatterBuilder bld, java.util.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 DateTimeFieldType Constructor Description FixedNumber(DateTimeFieldType fieldType, int numDigits, boolean signed)Fraction(DateTimeFieldType fieldType, int minDigits, int maxDigits)NumberFormatter(DateTimeFieldType fieldType, int maxParsedDigits, boolean signed)PaddedNumber(DateTimeFieldType fieldType, int maxParsedDigits, boolean signed, int minPrintedDigits)TextField(DateTimeFieldType fieldType, boolean isShort)TwoDigitYear(DateTimeFieldType type, int pivot, boolean lenientParse)UnpaddedNumber(DateTimeFieldType fieldType, int maxParsedDigits, boolean signed)
-