Returns true if this contains partially other.
true
other
bool containsPartially(Period other) { return overlapsWith(other) && !containsFully(other); }