DateTimeNullableXX extension

on

Properties

elapsed Duration
Returns how much time has elapsed since this date. If the date is null or in the future, then Duration.zero will be returned
no setter
isFuture bool
no setter
isPast bool
no setter

Methods

atStartOfDay() DateTime?
atTime([int hour = 0, int minute = 0, int second = 0]) DateTime?