A query for {@code LocalDate} returning null if not found.
!(p)
This returns a {@code TemporalQuery} that can be used to query a temporal
object for the local date. The query will return null if the temporal
object cannot supply a local date.
!(p)
The query implementation examines the {@link ChronoField#EPOCH_DAY EPOCH_DAY}
field and uses it to create a {@code LocalDate}.
!(p)
The method {@link ZoneOffset#from(TemporalAccessor)} can be used as a
{@code TemporalQuery} via a method reference, {@code LocalDate.from}.
This query and {@code LocalDate.from} will return the same result if the
temporal object contains a date. If the temporal object does not contain
a date, then the method reference will throw an exception, whereas this
query will return null.
@return a query that can obtain the date of a temporal, not null
A query for {@code LocalDate} returning null if not found. !(p) This returns a {@code TemporalQuery} that can be used to query a temporal object for the local date. The query will return null if the temporal object cannot supply a local date. !(p) The query implementation examines the {@link ChronoField#EPOCH_DAY EPOCH_DAY} field and uses it to create a {@code LocalDate}. !(p) The method {@link ZoneOffset#from(TemporalAccessor)} can be used as a {@code TemporalQuery} via a method reference, {@code LocalDate.from}. This query and {@code LocalDate.from} will return the same result if the temporal object contains a date. If the temporal object does not contain a date, then the method reference will throw an exception, whereas this query will return null.
@return a query that can obtain the date of a temporal, not null