--- /dev/null
+package net.pterodactylus.rhynodge.filters.webpages.savoy;
+
+import java.time.LocalDateTime;
+import java.util.Comparator;
+
+/**
+ * Information about a performance and a link to buy a ticket.
+ */
+public class Performance {
+
+ private final LocalDateTime time;
+ private final String link;
+
+ public static final Comparator<Performance> byTime = (leftPerformance, rightPerformance) -> leftPerformance.getTime().compareTo(rightPerformance.getTime());
+
+ public Performance(LocalDateTime time, String link) {
+ this.time = time;
+ this.link = link;
+ }
+
+ public LocalDateTime getTime() {
+ return time;
+ }
+
+ public String getLink() {
+ return link;
+ }
+
+}