onlyTime method

DateTime onlyTime()

Create a new date with only time value (0 for year, month and day).

Implementation

DateTime onlyTime() => _copyWith(year: 0, month: 0, day: 0);