Returns true if this contains timeRange
this
timeRange
bool containsRange(TimeRange timeRange) => timeRange.from >= from && timeRange.to <= to;