Home | History | Annotate | Download | only in temporal

Lines Matching refs:query

84  * These can be accessed via {@linkplain #query(TemporalQuery) queries} using
164 * @param field the field to query the range for, not null
260 * This queries this date-time using the specified query strategy object.
265 * Examples might be a query that checks if the date is the day before February 29th
268 * The most common query implementations are method references, such as
275 * if (query == TemporalQueries.zoneId() ||
276 * query == TemporalQueries.chronology() || query == TemporalQueries.precision()) {
279 * return query.queryFrom(this);
284 * {@code TemporalAccessor.super.query(query)}. JDK classes may avoid calling
293 * if (query == TemporalQueries.precision()) {
296 * return TemporalAccessor.super.query(query);
303 * @param query the query to invoke, not null
304 * @return the query result, null may be returned (defined by the query)
305 * @throws DateTimeException if unable to query
308 default <R> R query(TemporalQuery<R> query) {
309 if (query == TemporalQueries.zoneId()
310 || query == TemporalQueries.chronology()
311 || query == TemporalQueries.precision()) {
314 return query.queryFrom(this);