added round to nearest time interval