lastSecond method

DateTime lastSecond()

Gets the last second of this day

Implementation

DateTime lastSecond() {
  return DateTime(year, month, day, 23, 59, 59);
}