pub fn snap(minutes: f32, step: u16) -> u16
calendar
minutes rounded to the nearest step, kept within the day.
minutes
step