Uses of Interface
org.threeten.bp.temporal.TemporalField
-
Packages that use TemporalField Package Description org.threeten.bp The main API for dates, times, instants, and durations.org.threeten.bp.chrono Support for calendar systems other than the default ISO.org.threeten.bp.format Provides classes to print and parse dates and times.org.threeten.bp.jdk8 Simulates JDK 8 features on JDK 7.org.threeten.bp.temporal Access to date and time using fields and units. -
-
Uses of TemporalField in org.threeten.bp
Methods in org.threeten.bp with parameters of type TemporalField Modifier and Type Method Description intDayOfWeek. get(TemporalField field)Gets the value of the specified field from this day-of-week as anint.intInstant. get(TemporalField field)Gets the value of the specified field from this instant as anint.intLocalDate. get(TemporalField field)Gets the value of the specified field from this date as anint.intLocalDateTime. get(TemporalField field)Gets the value of the specified field from this date-time as anint.intLocalTime. get(TemporalField field)Gets the value of the specified field from this time as anint.intMonth. get(TemporalField field)Gets the value of the specified field from this month-of-year as anint.intMonthDay. get(TemporalField field)Gets the value of the specified field from this month-day as anint.intOffsetDateTime. get(TemporalField field)Gets the value of the specified field from this date-time as anint.intOffsetTime. get(TemporalField field)Gets the value of the specified field from this time as anint.intYear. get(TemporalField field)Gets the value of the specified field from this year as anint.intYearMonth. get(TemporalField field)Gets the value of the specified field from this year-month as anint.intZonedDateTime. get(TemporalField field)Gets the value of the specified field from this date-time as anint.intZoneOffset. get(TemporalField field)Gets the value of the specified field from this offset as anint.longDayOfWeek. getLong(TemporalField field)Gets the value of the specified field from this day-of-week as along.longInstant. getLong(TemporalField field)Gets the value of the specified field from this instant as along.longLocalDate. getLong(TemporalField field)Gets the value of the specified field from this date as along.longLocalDateTime. getLong(TemporalField field)Gets the value of the specified field from this date-time as along.longLocalTime. getLong(TemporalField field)Gets the value of the specified field from this time as along.longMonth. getLong(TemporalField field)Gets the value of the specified field from this month-of-year as along.longMonthDay. getLong(TemporalField field)Gets the value of the specified field from this month-day as along.longOffsetDateTime. getLong(TemporalField field)Gets the value of the specified field from this date-time as along.longOffsetTime. getLong(TemporalField field)Gets the value of the specified field from this time as along.longYear. getLong(TemporalField field)Gets the value of the specified field from this year as along.longYearMonth. getLong(TemporalField field)Gets the value of the specified field from this year-month as along.longZonedDateTime. getLong(TemporalField field)Gets the value of the specified field from this date-time as along.longZoneOffset. getLong(TemporalField field)Gets the value of the specified field from this offset as along.booleanDayOfWeek. isSupported(TemporalField field)Checks if the specified field is supported.booleanInstant. isSupported(TemporalField field)Checks if the specified field is supported.booleanLocalDate. isSupported(TemporalField field)Checks if the specified field is supported.booleanLocalDateTime. isSupported(TemporalField field)Checks if the specified field is supported.booleanLocalTime. isSupported(TemporalField field)Checks if the specified field is supported.booleanMonth. isSupported(TemporalField field)Checks if the specified field is supported.booleanMonthDay. isSupported(TemporalField field)Checks if the specified field is supported.booleanOffsetDateTime. isSupported(TemporalField field)Checks if the specified field is supported.booleanOffsetTime. isSupported(TemporalField field)Checks if the specified field is supported.booleanYear. isSupported(TemporalField field)Checks if the specified field is supported.booleanYearMonth. isSupported(TemporalField field)Checks if the specified field is supported.booleanZonedDateTime. isSupported(TemporalField field)Checks if the specified field is supported.booleanZoneOffset. isSupported(TemporalField field)Checks if the specified field is supported.ValueRangeDayOfWeek. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeInstant. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeLocalDate. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeLocalDateTime. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeLocalTime. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeMonth. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeMonthDay. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeOffsetDateTime. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeOffsetTime. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeYear. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeYearMonth. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeZonedDateTime. range(TemporalField field)Gets the range of valid values for the specified field.ValueRangeZoneOffset. range(TemporalField field)Gets the range of valid values for the specified field.InstantInstant. with(TemporalField field, long newValue)Returns a copy of this instant with the specified field set to a new value.LocalDateLocalDate. with(TemporalField field, long newValue)Returns a copy of this date with the specified field set to a new value.LocalDateTimeLocalDateTime. with(TemporalField field, long newValue)Returns a copy of this date-time with the specified field set to a new value.LocalTimeLocalTime. with(TemporalField field, long newValue)Returns a copy of this time with the specified field set to a new value.OffsetDateTimeOffsetDateTime. with(TemporalField field, long newValue)Returns a copy of this date-time with the specified field set to a new value.OffsetTimeOffsetTime. with(TemporalField field, long newValue)Returns a copy of this time with the specified field set to a new value.YearYear. with(TemporalField field, long newValue)Returns a copy of this year with the specified field set to a new value.YearMonthYearMonth. with(TemporalField field, long newValue)Returns a copy of this year-month with the specified field set to a new value.ZonedDateTimeZonedDateTime. with(TemporalField field, long newValue)Returns a copy of this date-time with the specified field set to a new value. -
Uses of TemporalField in org.threeten.bp.chrono
Methods in org.threeten.bp.chrono with parameters of type TemporalField Modifier and Type Method Description intChronoZonedDateTime. get(TemporalField field)intHijrahEra. get(TemporalField field)intIsoEra. get(TemporalField field)intMinguoEra. get(TemporalField field)intThaiBuddhistEra. get(TemporalField field)longChronoZonedDateTime. getLong(TemporalField field)longHijrahDate. getLong(TemporalField field)longHijrahEra. getLong(TemporalField field)longIsoEra. getLong(TemporalField field)longJapaneseDate. getLong(TemporalField field)longMinguoDate. getLong(TemporalField field)longMinguoEra. getLong(TemporalField field)longThaiBuddhistDate. getLong(TemporalField field)longThaiBuddhistEra. getLong(TemporalField field)booleanChronoLocalDate. isSupported(TemporalField field)booleanHijrahEra. isSupported(TemporalField field)booleanIsoEra. isSupported(TemporalField field)booleanJapaneseDate. isSupported(TemporalField field)Checks if the specified field is supported.booleanMinguoEra. isSupported(TemporalField field)booleanThaiBuddhistEra. isSupported(TemporalField field)ValueRangeChronoZonedDateTime. range(TemporalField field)ValueRangeHijrahDate. range(TemporalField field)ValueRangeHijrahEra. range(TemporalField field)ValueRangeIsoEra. range(TemporalField field)ValueRangeJapaneseDate. range(TemporalField field)ValueRangeJapaneseEra. range(TemporalField field)ValueRangeMinguoDate. range(TemporalField field)ValueRangeMinguoEra. range(TemporalField field)ValueRangeThaiBuddhistDate. range(TemporalField field)ValueRangeThaiBuddhistEra. range(TemporalField field)abstract ChronoLocalDateChronoLocalDate. with(TemporalField field, long newValue)abstract ChronoLocalDateTime<D>ChronoLocalDateTime. with(TemporalField field, long newValue)abstract ChronoZonedDateTime<D>ChronoZonedDateTime. with(TemporalField field, long newValue)HijrahDateHijrahDate. with(TemporalField field, long newValue)JapaneseDateJapaneseDate. with(TemporalField field, long newValue)MinguoDateMinguoDate. with(TemporalField field, long newValue)ThaiBuddhistDateThaiBuddhistDate. with(TemporalField field, long newValue)Method parameters in org.threeten.bp.chrono with type arguments of type TemporalField Modifier and Type Method Description abstract ChronoLocalDateChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)Resolves parsedChronoFieldvalues into a date during parsing.HijrahDateHijrahChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)LocalDateIsoChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)JapaneseDateJapaneseChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)MinguoDateMinguoChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle)ThaiBuddhistDateThaiBuddhistChronology. resolveDate(Map<TemporalField,Long> fieldValues, ResolverStyle resolverStyle) -
Uses of TemporalField in org.threeten.bp.format
Methods in org.threeten.bp.format that return types with arguments of type TemporalField Modifier and Type Method Description Set<TemporalField>DateTimeFormatter. getResolverFields()Gets the resolver fields to use during parsing.Methods in org.threeten.bp.format with parameters of type TemporalField Modifier and Type Method Description DateTimeFormatterBuilderDateTimeFormatterBuilder. appendFraction(TemporalField field, int minWidth, int maxWidth, boolean decimalPoint)Appends the fractional value of a date-time field to the formatter.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendText(TemporalField field)Appends the text of a date-time field to the formatter using the full text style.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendText(TemporalField field, Map<Long,String> textLookup)Appends the text of a date-time field to the formatter using the specified map to supply the text.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendText(TemporalField field, TextStyle textStyle)Appends the text of a date-time field to the formatter.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendValue(TemporalField field)Appends the value of a date-time field to the formatter using a normal output style.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendValue(TemporalField field, int width)Appends the value of a date-time field to the formatter using a fixed width, zero-padded approach.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendValue(TemporalField field, int minWidth, int maxWidth, SignStyle signStyle)Appends the value of a date-time field to the formatter providing full control over printing.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendValueReduced(TemporalField field, int width, int maxWidth, int baseValue)Appends the reduced value of a date-time field to the formatter.DateTimeFormatterBuilderDateTimeFormatterBuilder. appendValueReduced(TemporalField field, int width, int maxWidth, ChronoLocalDate baseDate)Appends the reduced value of a date-time field to the formatter.abstract StringDateTimeTextProvider. getText(TemporalField field, long value, TextStyle style, Locale locale)Gets the text for the specified field, locale and style for the purpose of printing.abstract Iterator<Map.Entry<String,Long>>DateTimeTextProvider. getTextIterator(TemporalField field, TextStyle style, Locale locale)Gets an iterator of text to field for the specified field, locale and style for the purpose of parsing.DateTimeFormatterBuilderDateTimeFormatterBuilder. parseDefaulting(TemporalField field, long value)Appends a default value for a field to the formatter for use in parsing.DateTimeFormatterDateTimeFormatter. withResolverFields(TemporalField... resolverFields)Returns a copy of this formatter with a new set of resolver fields.Method parameters in org.threeten.bp.format with type arguments of type TemporalField Modifier and Type Method Description DateTimeFormatterDateTimeFormatter. withResolverFields(Set<TemporalField> resolverFields)Returns a copy of this formatter with a new set of resolver fields. -
Uses of TemporalField in org.threeten.bp.jdk8
Methods in org.threeten.bp.jdk8 with parameters of type TemporalField Modifier and Type Method Description intDefaultInterfaceEra. get(TemporalField field)intDefaultInterfaceTemporalAccessor. get(TemporalField field)longDefaultInterfaceEra. getLong(TemporalField field)booleanDefaultInterfaceEra. isSupported(TemporalField field)ValueRangeDefaultInterfaceTemporalAccessor. range(TemporalField field) -
Uses of TemporalField in org.threeten.bp.temporal
Classes in org.threeten.bp.temporal that implement TemporalField Modifier and Type Class Description classChronoFieldA standard set of fields.Fields in org.threeten.bp.temporal declared as TemporalField Modifier and Type Field Description static TemporalFieldIsoFields. DAY_OF_QUARTERThe field that represents the day-of-quarter.static TemporalFieldJulianFields. JULIAN_DAYJulian Day field.static TemporalFieldJulianFields. MODIFIED_JULIAN_DAYModified Julian Day field.static TemporalFieldIsoFields. QUARTER_OF_YEARThe field that represents the quarter-of-year.static TemporalFieldJulianFields. RATA_DIERata Die field.static TemporalFieldIsoFields. WEEK_BASED_YEARThe field that represents the week-based-year.static TemporalFieldIsoFields. WEEK_OF_WEEK_BASED_YEARThe field that represents the week-of-week-based-year.Methods in org.threeten.bp.temporal that return TemporalField Modifier and Type Method Description TemporalFieldWeekFields. dayOfWeek()Returns a field to access the day of week based on thisWeekFields.TemporalFieldWeekFields. weekBasedYear()Returns a field to access the year of a week-based-year based on thisWeekFields.TemporalFieldWeekFields. weekOfMonth()Returns a field to access the week of month based on thisWeekFields.TemporalFieldWeekFields. weekOfWeekBasedYear()Returns a field to access the week of a week-based-year based on thisWeekFields.TemporalFieldWeekFields. weekOfYear()Returns a field to access the week of year based on thisWeekFields.Methods in org.threeten.bp.temporal with parameters of type TemporalField Modifier and Type Method Description intValueRange. checkValidIntValue(long value, TemporalField field)Checks that the specified value is valid and fits in anint.longValueRange. checkValidValue(long value, TemporalField field)Checks that the specified value is valid.intTemporalAccessor. get(TemporalField field)Gets the value of the specified field as anint.longTemporalAccessor. getLong(TemporalField field)Gets the value of the specified field as along.booleanTemporalAccessor. isSupported(TemporalField field)Checks if the specified field is supported.ValueRangeTemporalAccessor. range(TemporalField field)Gets the range of valid values for the specified field.TemporalTemporal. with(TemporalField field, long newValue)Returns an object of the same type as this object with the specified field altered.Method parameters in org.threeten.bp.temporal with type arguments of type TemporalField Modifier and Type Method Description TemporalAccessorChronoField. resolve(Map<TemporalField,Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)TemporalAccessorTemporalField. resolve(Map<TemporalField,Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)Resolves the date/time information in the builder
-