DateTimeListExtension extension
Methods
-
diff(
) → Iterable< Duration> -
Available on List<
get Duration between each elemnt of a List of DateTimesDateTime> , provided by the DateTimeListExtension extension -
findBlocks(
[Duration delta = const Duration(minutes: 2)]) → Iterable< Timespan> -
Available on List<
find continuous blocks of DateTimes in a List<DateTime>. Every section of one or more blocks where the Duration between each element and its neighbours is less thanDateTime> , provided by the DateTimeListExtension extensiondelta
is counted as a block