copyWithEmptyTime method

DateTime copyWithEmptyTime()

Returns a copy with time set to zero/empty.

Implementation

DateTime copyWithEmptyTime() =>
    copyWith(hour: 0, minute: 0, second: 0, millisecond: 0, microsecond: 0);