isStartsBetweenOther method

bool isStartsBetweenOther(
  1. DateTimeRange other
)

Implementation

bool isStartsBetweenOther(DateTimeRange other) {
  return start.isAfter(other.start) && start.isBefore(other.end);
}