isWithin method

bool isWithin(
  1. Hora start,
  2. Hora end
)

Checks if this date is within a range (inclusive).

Implementation

bool isWithin(Hora start, Hora end) => !isBefore(start) && !isAfter(end);