roundToDayEnd method

DateTime roundToDayEnd()

Returns a new DateTime rounded to the end of the day (23:59:59).

Implementation

DateTime roundToDayEnd() {
  return DateTimeCalculator.roundToDayEnd(this);
}