|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DateTimeFieldType | |
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 |
Methods in org.joda.time that return DateTimeFieldType | |
DateTimeFieldType |
YearMonthDay.getFieldType(int index)
Deprecated. Gets the field type at the specified index. |
DateTimeFieldType[] |
YearMonthDay.getFieldTypes()
Deprecated. Gets an array of the field type of each of the fields that this partial supports. |
DateTimeFieldType |
TimeOfDay.getFieldType(int index)
Deprecated. Gets the field type at the specified index. |
DateTimeFieldType[] |
TimeOfDay.getFieldTypes()
Deprecated. Gets an array of the field type of each of the fields that this partial supports. |
DateTimeFieldType |
ReadablePartial.getFieldType(int index)
Gets the field type at the specified index. |
DateTimeFieldType |
Partial.getFieldType(int index)
Gets the field type at the specified index. |
DateTimeFieldType[] |
Partial.getFieldTypes()
Gets an array of the field type of each of the fields that this partial supports. |
DateTimeFieldType |
IllegalFieldValueException.getDateTimeFieldType()
Returns the DateTimeFieldType whose value was invalid, or null if not applicable. |
static DateTimeFieldType |
DateTimeFieldType.millisOfSecond()
Get the millis of second field type. |
static DateTimeFieldType |
DateTimeFieldType.millisOfDay()
Get the millis of day field type. |
static DateTimeFieldType |
DateTimeFieldType.secondOfMinute()
Get the second of minute field type. |
static DateTimeFieldType |
DateTimeFieldType.secondOfDay()
Get the second of day field type. |
static DateTimeFieldType |
DateTimeFieldType.minuteOfHour()
Get the minute of hour field type. |
static DateTimeFieldType |
DateTimeFieldType.minuteOfDay()
Get the minute of day field type. |
static DateTimeFieldType |
DateTimeFieldType.hourOfDay()
Get the hour of day (0-23) field type. |
static DateTimeFieldType |
DateTimeFieldType.clockhourOfDay()
Get the hour of day (offset to 1-24) field type. |
static DateTimeFieldType |
DateTimeFieldType.hourOfHalfday()
Get the hour of am/pm (0-11) field type. |
static DateTimeFieldType |
DateTimeFieldType.clockhourOfHalfday()
Get the hour of am/pm (offset to 1-12) field type. |
static DateTimeFieldType |
DateTimeFieldType.halfdayOfDay()
Get the AM(0) PM(1) field type. |
static DateTimeFieldType |
DateTimeFieldType.dayOfWeek()
Get the day of week field type. |
static DateTimeFieldType |
DateTimeFieldType.dayOfMonth()
Get the day of month field type. |
static DateTimeFieldType |
DateTimeFieldType.dayOfYear()
Get the day of year field type. |
static DateTimeFieldType |
DateTimeFieldType.weekOfWeekyear()
Get the week of a week based year field type. |
static DateTimeFieldType |
DateTimeFieldType.weekyear()
Get the year of a week based year field type. |
static DateTimeFieldType |
DateTimeFieldType.weekyearOfCentury()
Get the year of a week based year within a century field type. |
static DateTimeFieldType |
DateTimeFieldType.monthOfYear()
Get the month of year field type. |
static DateTimeFieldType |
DateTimeFieldType.year()
Get the year field type. |
static DateTimeFieldType |
DateTimeFieldType.yearOfEra()
Get the year of era field type. |
static DateTimeFieldType |
DateTimeFieldType.yearOfCentury()
Get the year of century field type. |
static DateTimeFieldType |
DateTimeFieldType.centuryOfEra()
Get the century of era field type. |
static DateTimeFieldType |
DateTimeFieldType.era()
Get the era field type. |
abstract DateTimeFieldType |
DateTimeField.getType()
Get the type of the field. |
DateTimeFieldType |
DateTimeComparator.getLowerLimit()
Gets the field type that represents the lower limit of comparison. |
DateTimeFieldType |
DateTimeComparator.getUpperLimit()
Gets the field type that represents the upper limit of comparison. |
Methods in org.joda.time with parameters of type DateTimeFieldType | |
YearMonthDay |
YearMonthDay.withField(DateTimeFieldType fieldType,
int value)
Deprecated. Returns a copy of this date with the specified field set to a new value. |
YearMonthDay.Property |
YearMonthDay.property(DateTimeFieldType type)
Deprecated. Gets the property object for the specified type, which contains many useful methods. |
TimeOfDay |
TimeOfDay.withField(DateTimeFieldType fieldType,
int value)
Deprecated. Returns a copy of this time with the specified field set to a new value. |
TimeOfDay.Property |
TimeOfDay.property(DateTimeFieldType type)
Deprecated. Gets the property object for the specified type, which contains many useful methods. |
void |
ReadWritableInstant.set(DateTimeFieldType type,
int value)
Sets the value of one of the fields of the instant, such as hourOfDay. |
int |
ReadablePartial.get(DateTimeFieldType field)
Gets the value of one of the fields. |
boolean |
ReadablePartial.isSupported(DateTimeFieldType field)
Checks whether the field type specified is supported by this partial. |
int |
ReadableInstant.get(DateTimeFieldType type)
Get the value of one of the fields of a datetime. |
boolean |
ReadableInstant.isSupported(DateTimeFieldType field)
Checks whether the field type specified is supported by this implementation. |
Partial |
Partial.with(DateTimeFieldType fieldType,
int value)
Gets a copy of this date with the specified field set to a new value. |
Partial |
Partial.without(DateTimeFieldType fieldType)
Gets a copy of this date with the specified field removed. |
Partial |
Partial.withField(DateTimeFieldType fieldType,
int value)
Gets a copy of this Partial with the specified field set to a new value. |
Partial.Property |
Partial.property(DateTimeFieldType type)
Gets the property object for the specified type, which contains many useful methods for getting and manipulating the partial. |
void |
MutableDateTime.set(DateTimeFieldType type,
int value)
Sets the value of one of the fields of the instant, such as hourOfDay. |
MutableDateTime.Property |
MutableDateTime.property(DateTimeFieldType type)
Gets the property object for the specified type, which contains many useful methods. |
int |
LocalTime.get(DateTimeFieldType fieldType)
Get the value of one of the fields of time. |
boolean |
LocalTime.isSupported(DateTimeFieldType type)
Checks if the field type specified is supported by this local time and chronology. |
LocalTime |
LocalTime.withField(DateTimeFieldType fieldType,
int value)
Returns a copy of this time with the specified field set to a new value. |
LocalTime.Property |
LocalTime.property(DateTimeFieldType fieldType)
Gets the property object for the specified type, which contains many useful methods. |
int |
LocalDateTime.get(DateTimeFieldType type)
Get the value of one of the fields of a datetime. |
boolean |
LocalDateTime.isSupported(DateTimeFieldType type)
Checks if the field type specified is supported by this local datetime and chronology. |
LocalDateTime |
LocalDateTime.withField(DateTimeFieldType fieldType,
int value)
Returns a copy of this datetime with the specified field set to a new value. |
LocalDateTime.Property |
LocalDateTime.property(DateTimeFieldType fieldType)
Gets the property object for the specified type, which contains many useful methods. |
int |
LocalDate.get(DateTimeFieldType fieldType)
Get the value of one of the fields of a datetime. |
boolean |
LocalDate.isSupported(DateTimeFieldType type)
Checks if the field type specified is supported by this local date and chronology. |
LocalDate |
LocalDate.withField(DateTimeFieldType fieldType,
int value)
Returns a copy of this date with the specified field set to a new value. |
LocalDate.Property |
LocalDate.property(DateTimeFieldType fieldType)
Gets the property object for the specified type, which contains many useful methods. |
static DateTimeComparator |
DateTimeComparator.getInstance(DateTimeFieldType lowerLimit)
Returns a DateTimeComparator with a lower limit only. |
static DateTimeComparator |
DateTimeComparator.getInstance(DateTimeFieldType lowerLimit,
DateTimeFieldType upperLimit)
Returns a DateTimeComparator with a lower and upper limit. |
DateTime |
DateTime.withField(DateTimeFieldType fieldType,
int value)
Returns a copy of this datetime with the specified field set to a new value. |
DateTime.Property |
DateTime.property(DateTimeFieldType type)
Gets the property object for the specified type, which contains many useful methods. |
DateMidnight |
DateMidnight.withField(DateTimeFieldType fieldType,
int value)
Returns a copy of this date with the specified field set to a new value. |
DateMidnight.Property |
DateMidnight.property(DateTimeFieldType type)
Gets the property object for the specified type, which contains many useful methods. |
Constructors in org.joda.time with parameters of type DateTimeFieldType | |
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. |
|
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. |
|
IllegalFieldValueException(DateTimeFieldType fieldType,
Number value,
Number lowerBound,
Number upperBound)
Constructor. |
|
IllegalFieldValueException(DateTimeFieldType fieldType,
Number value,
String explain)
Constructor. |
|
IllegalFieldValueException(DateTimeFieldType fieldType,
String value)
Constructor. |
Uses of DateTimeFieldType in org.joda.time.base |
Methods in org.joda.time.base that return DateTimeFieldType | |
DateTimeFieldType |
AbstractPartial.getFieldType(int index)
Gets the field type at the specifed 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 | |
int |
AbstractPartial.get(DateTimeFieldType type)
Get the value of one of the fields of a datetime. |
boolean |
AbstractPartial.isSupported(DateTimeFieldType type)
Checks whether the field specified is supported by this partial. |
int |
AbstractPartial.indexOf(DateTimeFieldType type)
Gets the index of the specified field, or -1 if the field is unsupported. |
int |
AbstractInstant.get(DateTimeFieldType type)
Get the value of one of the fields of a datetime using the chronology of the instant. |
boolean |
AbstractInstant.isSupported(DateTimeFieldType type)
Checks if the field type specified is supported by this instant and chronology. |
int |
AbstractDateTime.get(DateTimeFieldType type)
Get the value of one of the fields of a datetime. |
Uses of DateTimeFieldType in org.joda.time.field |
Methods in org.joda.time.field that return DateTimeFieldType | |
DateTimeFieldType |
UnsupportedDateTimeField.getType()
|
DateTimeFieldType |
DelegatedDateTimeField.getType()
|
DateTimeFieldType |
BaseDateTimeField.getType()
|
DateTimeFieldType |
AbstractReadableInstantFieldProperty.getFieldType()
Gets the field type being used. |
DateTimeFieldType |
AbstractPartialFieldProperty.getFieldType()
Gets the field type being used. |
Methods in org.joda.time.field with parameters of type DateTimeFieldType | |
static UnsupportedDateTimeField |
UnsupportedDateTimeField.getInstance(DateTimeFieldType type,
DurationField durationField)
Gets an instance of UnsupportedDateTimeField for a specific named field. |
static void |
FieldUtils.verifyValueBounds(DateTimeFieldType fieldType,
int value,
int lowerBound,
int upperBound)
Verify that input values are within specified bounds. |
Uses of DateTimeFieldType in org.joda.time.format |
Methods in org.joda.time.format with parameters of type DateTimeFieldType | |
void |
DateTimeParserBucket.saveField(DateTimeFieldType fieldType,
int value)
Saves a datetime field value. |
void |
DateTimeParserBucket.saveField(DateTimeFieldType fieldType,
String text,
Locale locale)
Saves a datetime field text value. |
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 |
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 |
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 |
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 |
DateTimeFormatterBuilder.appendText(DateTimeFieldType fieldType)
Instructs the printer to emit a field value as text, and the parser to expect text. |
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.appendShortText(DateTimeFieldType fieldType)
Instructs the printer to emit a field value as short text, and the parser to expect text. |
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. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |