DateTimeNullableExtensions extension

on

Properties

elapsed Duration

Available on DateTime?, provided by the DateTimeNullableExtensions extension

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

Methods

atStartOfDay() DateTime?

Available on DateTime?, provided by the DateTimeNullableExtensions extension

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

Available on DateTime?, provided by the DateTimeNullableExtensions extension