min static method
Gets the minimum from a list of dates.
Throws StateError if the list is empty.
Implementation
static Hora min(Iterable<Hora> dates) {
if (dates.isEmpty) {
throw StateError('Cannot find min of empty collection');
}
return dates.reduce(min2);
}