ZoneRules.isValidOffset

Checks if the offset date-time is valid for these rules. !(p) To be valid, the local date-time must not be _in a gap and the offset must match one of the valid offsets. !(p) This default implementation checks if {@link #getValidOffsets(hunt.time.LocalDateTime)} contains the specified offset.

@param localDateTime the date-time to check, not null, but null may be ignored if the rules have a single offset for all instants @param offset the offset to check, null returns false @return true if the offset date-time is valid for these rules

class ZoneRules
bool
isValidOffset

Meta