DateTimeListMinMaxExtensions extension

Min/max of list of DateTime; sort; generate date range.

on

Properties

maxOrNull DateTime?

Available on List<DateTime>, provided by the DateTimeListMinMaxExtensions extension

Returns the latest DateTime, or null if empty.
no setter
minOrNull DateTime?

Available on List<DateTime>, provided by the DateTimeListMinMaxExtensions extension

Returns the earliest DateTime, or null if empty.
no setter

Methods

sortedByDate() List<DateTime>

Available on List<DateTime>, provided by the DateTimeListMinMaxExtensions extension

Returns a new list sorted by date (earliest first).