code: private Timepoint roundToValidTime(Timepoint newSelection, int currentItemShowing) {
          switch(currentItemShowing) {
              case HOUR_INDEX:
                  return mController.roundToNearest(newSelection, null);
              case MINUTE_INDEX:
                  return mController.roundToNearest(newSelection, Timepoint.TYPE.HOUR);
              default:
                  return mController.roundToNearest(newSelection, Timepoint.TYPE.MINUTE);
          }
      }
docs: Snap the input to a selectable value
  @param newSelection Timepoint - Time which should be rounded
  @param currentItemShowing int - The index of the current view
  @return Timepoint - the rounded value