isBetween method

bool isBetween(
  1. DateTime minDate,
  2. DateTime maxDate
)

Implementation

bool isBetween(DateTime minDate, DateTime maxDate) =>
    this.isSameDayOrAfter(minDate) && this.isSameDayOrBefore(maxDate);