toZeroHour method

DateTime toZeroHour()

Converts DateTime to the zero time of the day.

Implementation

DateTime toZeroHour() {
  return DateTime(year, month, day);
}