menu
sunny_dart package
documentation
extensions/lang_extensions.dart
DateTimeNullableExtensions extension
DateTimeNullableExtensions extension
dark_mode
light_mode
DateTimeNullableExtensions
extension
on
DateTime
?
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
Methods
atStartOfDay
(
)
→
DateTime
?
atTime
(
[
int
hour
=
0
,
int
minute
=
0
,
int
second
=
0
])
→
DateTime
?
sunny_dart package
documentation
extensions/lang_extensions
DateTimeNullableExtensions extension
lang_extensions library