isBetween method

bool isBetween(
  1. DateTime start,
  2. DateTime end
)

Checks if this DateTime is between the start and end DateTimes (inclusive).

Implementation

bool isBetween(DateTime start, DateTime end) {
  return DateTimeCalculator.isBetween(this, start, end);
}