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.private intLocalDate. get0(TemporalField field)private intLocalTime. get0(TemporalField field)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 intChronoLocalDateTimeImpl. get(TemporalField field)intChronoZonedDateTime. get(TemporalField field)intHijrahEra. get(TemporalField field)intIsoEra. get(TemporalField field)intMinguoEra. get(TemporalField field)intThaiBuddhistEra. get(TemporalField field)longChronoLocalDateTimeImpl. getLong(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)booleanChronoLocalDateTimeImpl. isSupported(TemporalField field)booleanChronoZonedDateTimeImpl. 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)ValueRangeChronoLocalDateTimeImpl. range(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)ChronoLocalDateTimeImpl<D>ChronoLocalDateTimeImpl. with(TemporalField field, long newValue)abstract ChronoZonedDateTime<D>ChronoZonedDateTime. with(TemporalField field, long newValue)ChronoZonedDateTime<D>ChronoZonedDateTimeImpl. 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(java.util.Map<TemporalField,java.lang.Long> fieldValues, ResolverStyle resolverStyle)Resolves parsedChronoFieldvalues into a date during parsing.HijrahDateHijrahChronology. resolveDate(java.util.Map<TemporalField,java.lang.Long> fieldValues, ResolverStyle resolverStyle)LocalDateIsoChronology. resolveDate(java.util.Map<TemporalField,java.lang.Long> fieldValues, ResolverStyle resolverStyle)JapaneseDateJapaneseChronology. resolveDate(java.util.Map<TemporalField,java.lang.Long> fieldValues, ResolverStyle resolverStyle)MinguoDateMinguoChronology. resolveDate(java.util.Map<TemporalField,java.lang.Long> fieldValues, ResolverStyle resolverStyle)ThaiBuddhistDateThaiBuddhistChronology. resolveDate(java.util.Map<TemporalField,java.lang.Long> fieldValues, ResolverStyle resolverStyle)private JapaneseDateJapaneseChronology. resolveEYD(java.util.Map<TemporalField,java.lang.Long> fieldValues, ResolverStyle resolverStyle, JapaneseEra era, int yoe)private JapaneseDateJapaneseChronology. resolveEYMD(java.util.Map<TemporalField,java.lang.Long> fieldValues, ResolverStyle resolverStyle, JapaneseEra era, int yoe)(package private) voidChronology. updateResolveMap(java.util.Map<TemporalField,java.lang.Long> fieldValues, ChronoField field, long value)Updates the map of field-values during resolution. -
Uses of TemporalField in org.threeten.bp.format
Fields in org.threeten.bp.format declared as TemporalField Modifier and Type Field Description private TemporalFieldDateTimeFormatterBuilder.DefaultingParser. fieldprivate TemporalFieldDateTimeFormatterBuilder.FractionPrinterParser. field(package private) TemporalFieldDateTimeFormatterBuilder.NumberPrinterParser. fieldprivate TemporalFieldDateTimeFormatterBuilder.TextPrinterParser. fieldFields in org.threeten.bp.format with type parameters of type TemporalField Modifier and Type Field Description private java.util.concurrent.ConcurrentMap<java.util.Map.Entry<TemporalField,java.util.Locale>,java.lang.Object>SimpleDateTimeTextProvider. cacheCache.private static java.util.Map<java.lang.Character,TemporalField>DateTimeFormatterBuilder. FIELD_MAPMap of letters to fields.(package private) java.util.Map<TemporalField,java.lang.Long>DateTimeBuilder. fieldValuesThe map of other fields.(package private) java.util.Map<TemporalField,java.lang.Long>DateTimeParseContext.Parsed. fieldValuesprivate java.util.Set<TemporalField>DateTimeFormatter. resolverFieldsThe fields to use in resolving, null for all fields.Methods in org.threeten.bp.format that return types with arguments of type TemporalField Modifier and Type Method Description java.util.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 (package private) DateTimeBuilderDateTimeBuilder. addFieldValue(TemporalField field, long value)Adds a field-value pair to the builder.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, java.util.Map<java.lang.Long,java.lang.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.private java.lang.ObjectSimpleDateTimeTextProvider. createStore(TemporalField field, java.util.Locale locale)private java.lang.ObjectSimpleDateTimeTextProvider. findStore(TemporalField field, java.util.Locale locale)intDateTimeParseContext.Parsed. get(TemporalField field)private java.lang.LongDateTimeBuilder. getFieldValue0(TemporalField field)longDateTimeBuilder. getLong(TemporalField field)longDateTimeParseContext.Parsed. getLong(TemporalField field)(package private) java.lang.LongDateTimeParseContext. getParsed(TemporalField field)Gets the first value that was parsed for the specified field.abstract java.lang.StringDateTimeTextProvider. getText(TemporalField field, long value, TextStyle style, java.util.Locale locale)Gets the text for the specified field, locale and style for the purpose of printing.java.lang.StringSimpleDateTimeTextProvider. getText(TemporalField field, long value, TextStyle style, java.util.Locale locale)abstract java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Long>>DateTimeTextProvider. getTextIterator(TemporalField field, TextStyle style, java.util.Locale locale)Gets an iterator of text to field for the specified field, locale and style for the purpose of parsing.java.util.Iterator<java.util.Map.Entry<java.lang.String,java.lang.Long>>SimpleDateTimeTextProvider. getTextIterator(TemporalField field, TextStyle style, java.util.Locale locale)(package private) java.lang.LongDateTimePrintContext. getValue(TemporalField field)Gets the value of the specified field.booleanDateTimeBuilder. isSupported(TemporalField field)booleanDateTimeParseContext.Parsed. isSupported(TemporalField field)DateTimeFormatterBuilderDateTimeFormatterBuilder. parseDefaulting(TemporalField field, long value)Appends a default value for a field to the formatter for use in parsing.private voidDateTimeFormatterBuilder. parseField(char cur, int count, TemporalField field)private DateTimeBuilderDateTimeBuilder. putFieldValue0(TemporalField field, long value)private voidDateTimeBuilder. resolveMakeChanges(TemporalField targetField, ChronoLocalDate date)private voidDateTimeBuilder. resolveMakeChanges(TemporalField targetField, LocalTime time)(package private) intDateTimeParseContext. setParsedField(TemporalField field, long value, int errorPos, int successPos)Stores the parsed field.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 DateTimeBuilderDateTimeBuilder. resolve(ResolverStyle resolverStyle, java.util.Set<TemporalField> resolverFields)Resolves the builder, evaluating the date and time.DateTimeFormatterDateTimeFormatter. withResolverFields(java.util.Set<TemporalField> resolverFields)Returns a copy of this formatter with a new set of resolver fields.Constructors in org.threeten.bp.format with parameters of type TemporalField Constructor Description DateTimeBuilder(TemporalField field, long value)Creates a new instance of the builder with a single field-value.DefaultingParser(TemporalField field, long value)FractionPrinterParser(TemporalField field, int minWidth, int maxWidth, boolean decimalPoint)Constructor.NumberPrinterParser(TemporalField field, int minWidth, int maxWidth, SignStyle signStyle)Constructor.NumberPrinterParser(TemporalField field, int minWidth, int maxWidth, SignStyle signStyle, int subsequentWidth)Constructor.ReducedPrinterParser(TemporalField field, int width, int maxWidth, int baseValue, ChronoLocalDate baseDate)Constructor.ReducedPrinterParser(TemporalField field, int minWidth, int maxWidth, int baseValue, ChronoLocalDate baseDate, int subsequentWidth)TextPrinterParser(TemporalField field, TextStyle textStyle, DateTimeTextProvider provider)Constructor.Constructor parameters in org.threeten.bp.format with type arguments of type TemporalField Constructor Description DateTimeFormatter(DateTimeFormatterBuilder.CompositePrinterParser printerParser, java.util.Locale locale, DecimalStyle decimalStyle, ResolverStyle resolverStyle, java.util.Set<TemporalField> resolverFields, Chronology chrono, ZoneId zone)Constructor. -
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.private static classIsoFields.FieldImplementation of the field.private static classJulianFields.FieldHidden implementation.(package private) static classWeekFields.ComputedDayOfFieldField type that computes DayOfWeek, WeekOfMonth, and WeekOfYear based on a WeekFields.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.private TemporalFieldWeekFields. dayOfWeekThe field used to access the computed DayOfWeek.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.private TemporalFieldWeekFields. weekBasedYearThe field used to access the computed WeekBasedYear.private TemporalFieldWeekFields. weekOfMonthThe field used to access the computed WeekOfMonth.private TemporalFieldWeekFields. weekOfWeekBasedYearThe field used to access the computed WeekOfWeekBasedYear.private TemporalFieldWeekFields. weekOfYearThe field used to access the computed WeekOfYear.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(java.util.Map<TemporalField,java.lang.Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)TemporalAccessorIsoFields.Field. resolve(java.util.Map<TemporalField,java.lang.Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)TemporalAccessorJulianFields.Field. resolve(java.util.Map<TemporalField,java.lang.Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)TemporalAccessorTemporalField. resolve(java.util.Map<TemporalField,java.lang.Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)Resolves the date/time information in the builderTemporalAccessorWeekFields.ComputedDayOfField. resolve(java.util.Map<TemporalField,java.lang.Long> fieldValues, TemporalAccessor partialTemporal, ResolverStyle resolverStyle)
-