Checks if the specified field is supported.
!(p)
This checks if this date-time can be queried for the specified field.
If false, then calling the {@link #range(TemporalField) range},
{@link #get(TemporalField) get} and {@link #_with(TemporalField, long)}
methods will throw an exception.
!(p)
If the field is a {@link ChronoField} then the query is implemented here.
The supported fields are:
!(ul)
!(li){@code NANO_OF_SECOND}
!(li){@code NANO_OF_DAY}
!(li){@code MICRO_OF_SECOND}
!(li){@code MICRO_OF_DAY}
!(li){@code MILLI_OF_SECOND}
!(li){@code MILLI_OF_DAY}
!(li){@code SECOND_OF_MINUTE}
!(li){@code SECOND_OF_DAY}
!(li){@code MINUTE_OF_HOUR}
!(li){@code MINUTE_OF_DAY}
!(li){@code HOUR_OF_AMPM}
!(li){@code CLOCK_HOUR_OF_AMPM}
!(li){@code HOUR_OF_DAY}
!(li){@code CLOCK_HOUR_OF_DAY}
!(li){@code AMPM_OF_DAY}
!(li){@code DAY_OF_WEEK}
!(li){@code ALIGNED_DAY_OF_WEEK_IN_MONTH}
!(li){@code ALIGNED_DAY_OF_WEEK_IN_YEAR}
!(li){@code DAY_OF_MONTH}
!(li){@code DAY_OF_YEAR}
!(li){@code EPOCH_DAY}
!(li){@code ALIGNED_WEEK_OF_MONTH}
!(li){@code ALIGNED_WEEK_OF_YEAR}
!(li){@code MONTH_OF_YEAR}
!(li){@code PROLEPTIC_MONTH}
!(li){@code YEAR_OF_ERA}
!(li){@code YEAR}
!(li){@code ERA}
</ul>
All other {@code ChronoField} instances will return false.
!(p)
If the field is not a {@code ChronoField}, then the result of this method
is obtained by invoking {@code TemporalField.isSupportedBy(TemporalAccessor)}
passing {@code this} as the argument.
Whether the field is supported is determined by the field.
@param field the field to check, null returns false
@return true if the field is supported on this date-time, false if not
Checks if the specified field is supported. !(p) This checks if this date-time can be queried for the specified field. If false, then calling the {@link #range(TemporalField) range}, {@link #get(TemporalField) get} and {@link #_with(TemporalField, long)} methods will throw an exception. !(p) If the field is a {@link ChronoField} then the query is implemented here. The supported fields are: !(ul) !(li){@code NANO_OF_SECOND} !(li){@code NANO_OF_DAY} !(li){@code MICRO_OF_SECOND} !(li){@code MICRO_OF_DAY} !(li){@code MILLI_OF_SECOND} !(li){@code MILLI_OF_DAY} !(li){@code SECOND_OF_MINUTE} !(li){@code SECOND_OF_DAY} !(li){@code MINUTE_OF_HOUR} !(li){@code MINUTE_OF_DAY} !(li){@code HOUR_OF_AMPM} !(li){@code CLOCK_HOUR_OF_AMPM} !(li){@code HOUR_OF_DAY} !(li){@code CLOCK_HOUR_OF_DAY} !(li){@code AMPM_OF_DAY} !(li){@code DAY_OF_WEEK} !(li){@code ALIGNED_DAY_OF_WEEK_IN_MONTH} !(li){@code ALIGNED_DAY_OF_WEEK_IN_YEAR} !(li){@code DAY_OF_MONTH} !(li){@code DAY_OF_YEAR} !(li){@code EPOCH_DAY} !(li){@code ALIGNED_WEEK_OF_MONTH} !(li){@code ALIGNED_WEEK_OF_YEAR} !(li){@code MONTH_OF_YEAR} !(li){@code PROLEPTIC_MONTH} !(li){@code YEAR_OF_ERA} !(li){@code YEAR} !(li){@code ERA} </ul> All other {@code ChronoField} instances will return false. !(p) If the field is not a {@code ChronoField}, then the result of this method is obtained by invoking {@code TemporalField.isSupportedBy(TemporalAccessor)} passing {@code this} as the argument. Whether the field is supported is determined by the field.
@param field the field to check, null returns false @return true if the field is supported on this date-time, false if not