Uses of Interface
org.threeten.bp.temporal.TemporalQuery
Packages that use TemporalQuery
Package
Description
The main API for dates, times, instants, and durations.
Support for calendar systems other than the default ISO.
Provides classes to print and parse dates and times.
Access to date and time using fields and units.
-
Uses of TemporalQuery in org.threeten.bp
Fields in org.threeten.bp declared as TemporalQueryModifier and TypeFieldDescriptionstatic TemporalQuery<DayOfWeek>
DayOfWeek.FROM
Simulate JDK 8 method reference DayOfWeek::from.static TemporalQuery<Instant>
Instant.FROM
Simulate JDK 8 method reference Instant::from.static TemporalQuery<LocalTime>
LocalTime.FROM
Simulate JDK 8 method reference LocalTime::from.static TemporalQuery<Month>
Month.FROM
Simulate JDK 8 method reference Month::from.static TemporalQuery<OffsetDateTime>
OffsetDateTime.FROM
Simulate JDK 8 method reference OffsetDateTime::from.static TemporalQuery<OffsetTime>
OffsetTime.FROM
Simulate JDK 8 method reference OffsetTime::from.static TemporalQuery<ZoneId>
ZoneId.FROM
Simulate JDK 8 method reference ZoneId::from.Methods in org.threeten.bp with parameters of type TemporalQueryModifier and TypeMethodDescription<R> R
DayOfWeek.query(TemporalQuery<R> query)
Queries this day-of-week using the specified query.<R> R
Instant.query(TemporalQuery<R> query)
Queries this instant using the specified query.<R> R
LocalDate.query(TemporalQuery<R> query)
Queries this date using the specified query.<R> R
LocalDateTime.query(TemporalQuery<R> query)
Queries this date-time using the specified query.<R> R
LocalTime.query(TemporalQuery<R> query)
Queries this time using the specified query.<R> R
Month.query(TemporalQuery<R> query)
Queries this month-of-year using the specified query.<R> R
MonthDay.query(TemporalQuery<R> query)
Queries this month-day using the specified query.<R> R
OffsetDateTime.query(TemporalQuery<R> query)
Queries this date-time using the specified query.<R> R
OffsetTime.query(TemporalQuery<R> query)
Queries this time using the specified query.<R> R
Year.query(TemporalQuery<R> query)
Queries this year using the specified query.<R> R
YearMonth.query(TemporalQuery<R> query)
Queries this year-month using the specified query.<R> R
ZonedDateTime.query(TemporalQuery<R> query)
Queries this date-time using the specified query.<R> R
ZoneOffset.query(TemporalQuery<R> query)
Queries this offset using the specified query. -
Uses of TemporalQuery in org.threeten.bp.chrono
Methods in org.threeten.bp.chrono with parameters of type TemporalQueryModifier and TypeMethodDescription<R> R
ChronoLocalDate.query(TemporalQuery<R> query)
<R> R
ChronoLocalDateTime.query(TemporalQuery<R> query)
<R> R
ChronoZonedDateTime.query(TemporalQuery<R> query)
default <R> R
Era.query(TemporalQuery<R> query)
<R> R
HijrahEra.query(TemporalQuery<R> query)
<R> R
IsoEra.query(TemporalQuery<R> query)
<R> R
MinguoEra.query(TemporalQuery<R> query)
<R> R
ThaiBuddhistEra.query(TemporalQuery<R> query)
-
Uses of TemporalQuery in org.threeten.bp.format
Methods in org.threeten.bp.format that return TemporalQueryModifier and TypeMethodDescriptionstatic TemporalQuery<Period>
DateTimeFormatter.parsedExcessDays()
A query that provides access to the excess days that were parsed.static TemporalQuery<Boolean>
DateTimeFormatter.parsedLeapSecond()
A query that provides access to whether a leap-second was parsed.Methods in org.threeten.bp.format with parameters of type TemporalQueryModifier and TypeMethodDescription<R> R
DateTimeBuilder.build(TemporalQuery<R> type)
Builds the specified type from the values in this builder.<T> T
DateTimeFormatter.parse(CharSequence text, TemporalQuery<T> type)
Fully parses the text producing an object of the specified type.DateTimeFormatter.parseBest(CharSequence text, TemporalQuery<?>... types)
Fully parses the text producing an object of one of the specified types.<R> R
DateTimeBuilder.query(TemporalQuery<R> query)
DateTimeFormatter.toFormat(TemporalQuery<?> query)
Returns this formatter as ajava.text.Format
instance that will parse to the specified type. -
Uses of TemporalQuery in org.threeten.bp.temporal
Methods in org.threeten.bp.temporal that return TemporalQueryModifier and TypeMethodDescriptionstatic TemporalQuery<Chronology>
TemporalQueries.chronology()
A query for theChronology
.static TemporalQuery<LocalDate>
TemporalQueries.localDate()
A query forLocalDate
returning null if not found.static TemporalQuery<LocalTime>
TemporalQueries.localTime()
A query forLocalTime
returning null if not found.static TemporalQuery<ZoneOffset>
TemporalQueries.offset()
A query forZoneOffset
returning null if not found.static TemporalQuery<TemporalUnit>
TemporalQueries.precision()
A query for the smallest supported unit.static TemporalQuery<ZoneId>
TemporalQueries.zone()
A lenient query for theZoneId
, falling back to theZoneOffset
.static TemporalQuery<ZoneId>
TemporalQueries.zoneId()
A strict query for theZoneId
.Methods in org.threeten.bp.temporal with parameters of type TemporalQueryModifier and TypeMethodDescriptiondefault <R> R
TemporalAccessor.query(TemporalQuery<R> query)
Queries this date-time.