Gets the maximum from a list, or null if empty.
static Hora? maxOrNull(Iterable<Hora> dates) { if (dates.isEmpty) return null; return dates.reduce(max2); }