public toSegment(): TimeslotSegment[] {
    return Array.from(this.map((t) => t.toSegment()));
  }