roundToSecond method

DateTime roundToSecond()

Implementation

DateTime roundToSecond() {
  return DateTime(year, month, day, hour, minute, second);
}