menu
more package
documentation
more.dart
TruncateToDateTimeExtension extension
TruncateToDateTimeExtension extension
dark_mode
light_mode
TruncateToDateTimeExtension
extension
on
DateTime
Methods
truncateTo
(
TimeUnit
unit
, {
int
startWeekday
=
DateTime.monday
})
→
DateTime
Truncates
DateTime
to the beginning of the provided
TimeUnit
.
more package
documentation
more
TruncateToDateTimeExtension extension
more library