Uses of Interface
java.time.temporal.TemporalQuery
| Package | Description |
|---|---|
| java.time |
The main API for dates, times, instants, and durations.
|
| java.time.chrono |
Generic API for calendar systems other than the default ISO.
|
| java.time.format |
Provides classes to print and parse dates and times.
|
| java.time.temporal |
Access to date and time using fields and units, and date time adjusters.
|
-
Uses of TemporalQuery in java.time
Methods in java.time with parameters of type TemporalQuery Modifier and Type Method Description <R> RDayOfWeek. query(TemporalQuery<R> query)Queries this day-of-week using the specified query.<R> RInstant. query(TemporalQuery<R> query)Queries this instant using the specified query.<R> RLocalDate. query(TemporalQuery<R> query)Queries this date using the specified query.<R> RLocalDateTime. query(TemporalQuery<R> query)Queries this date-time using the specified query.<R> RLocalTime. query(TemporalQuery<R> query)Queries this time using the specified query.<R> RMonth. query(TemporalQuery<R> query)Queries this month-of-year using the specified query.<R> RMonthDay. query(TemporalQuery<R> query)Queries this month-day using the specified query.<R> ROffsetDateTime. query(TemporalQuery<R> query)Queries this date-time using the specified query.<R> ROffsetTime. query(TemporalQuery<R> query)Queries this time using the specified query.<R> RYear. query(TemporalQuery<R> query)Queries this year using the specified query.<R> RYearMonth. query(TemporalQuery<R> query)Queries this year-month using the specified query.<R> RZonedDateTime. query(TemporalQuery<R> query)Queries this date-time using the specified query.<R> RZoneOffset. query(TemporalQuery<R> query)Queries this offset using the specified query. -
Uses of TemporalQuery in java.time.chrono
Methods in java.time.chrono with parameters of type TemporalQuery Modifier and Type Method Description default <R> RChronoLocalDate. query(TemporalQuery<R> query)Queries this date using the specified query.default <R> RChronoLocalDateTime. query(TemporalQuery<R> query)Queries this date-time using the specified query.default <R> RChronoZonedDateTime. query(TemporalQuery<R> query)Queries this date-time using the specified query.default <R> REra. query(TemporalQuery<R> query)Queries this era using the specified query. -
Uses of TemporalQuery in java.time.format
Methods in java.time.format that return TemporalQuery Modifier and Type Method Description static 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 java.time.format with parameters of type TemporalQuery Modifier and Type Method Description <T> TDateTimeFormatter. parse(CharSequence text, TemporalQuery<T> query)Fully parses the text producing an object of the specified type.TemporalAccessorDateTimeFormatter. parseBest(CharSequence text, TemporalQuery<?>... queries)Fully parses the text producing an object of one of the specified types.FormatDateTimeFormatter. toFormat(TemporalQuery<?> parseQuery)Returns this formatter as ajava.text.Formatinstance that will parse using the specified query. -
Uses of TemporalQuery in java.time.temporal
Methods in java.time.temporal that return TemporalQuery Modifier and Type Method Description static TemporalQuery<Chronology>TemporalQueries. chronology()A query for theChronology.static TemporalQuery<LocalDate>TemporalQueries. localDate()A query forLocalDatereturning null if not found.static TemporalQuery<LocalTime>TemporalQueries. localTime()A query forLocalTimereturning null if not found.static TemporalQuery<ZoneOffset>TemporalQueries. offset()A query forZoneOffsetreturning 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 java.time.temporal with parameters of type TemporalQuery Modifier and Type Method Description default <R> RTemporalAccessor. query(TemporalQuery<R> query)Queries this date-time.