TemporalUnit.isDateBased

Checks if this unit represents a component of a date. !(p) A date is time-based if it can be used to imply meaning from a date. It must have a {@linkplain #getDuration() duration} that is an integral multiple of the length of a standard day. Note that it is valid for both {@code isDateBased()} and {@code isTimeBased()} to return false, such as when representing a unit like 36 hours.

@return true if this unit is a component of a date

class TemporalUnit
bool
isDateBased
()

Meta