containsFully method

bool containsFully(
  1. Period other
)

Returns true if this fully contains other.

Implementation

bool containsFully(Period other) {
  return contains(other.start) && contains(other.end);
}