HoraIterableMinMaxExt extension

Extension providing min/max operations for Iterable<Hora>.

on

Properties

maxHora Hora

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Gets the maximum date.
no setter
maxHoraOrNull Hora?

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Gets the maximum date or null if empty.
no setter
medianHora Hora?

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Gets the median date.
no setter
minHora Hora

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Gets the minimum date.
no setter
minHoraOrNull Hora?

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Gets the minimum date or null if empty.
no setter
minMaxHora MinMaxResult

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Gets both min and max.
no setter
minMaxHoraOrNull MinMaxResult?

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Gets both min and max or null if empty.
no setter
sortedChronologically List<Hora>

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Sorts this iterable chronologically.
no setter
sortedReverseChronologically List<Hora>

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Sorts this iterable reverse chronologically.
no setter
span Duration

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Gets the span between the earliest and latest dates.
no setter

Methods

groupByDay() Map<String, List<Hora>>

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Groups dates by day.
groupByMonth() Map<String, List<Hora>>

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Groups dates by month.
groupByYear() Map<int, List<Hora>>

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Groups dates by year.
withinRange(Hora start, Hora end) Iterable<Hora>

Available on Iterable<Hora>, provided by the HoraIterableMinMaxExt extension

Gets dates that fall within a range.