roundToHour property
DateTime
get
roundToHour
Rounds this date to the nearest hour
Implementation
DateTime get roundToHour => DateCalculations.roundToHour(this);
Rounds this date to the nearest hour
DateTime get roundToHour => DateCalculations.roundToHour(this);