    @Test
    public void mode12Hr_VerifyOnTimeSetCallback() {

        for (int time = 100; time <= 1259; time++) {
            if (time % 100 > 59) {
                System.out.println("Skipping invalid time " + time);
                continue;
            }
            System.out.println("Testing time " + time);
            for (int amOrPm = 0; amOrPm < 2; amOrPm++) {
                createNewViewAndPresenter(MODE_12HR);
                if (time <= 959) {
                    inputThreeDigitTime(time, MODE_12HR);
                } else {
                    inputFourDigitTime(time, MODE_12HR);
                }
                mPresenters[MODE_12HR].onAltKeyClick(altText(amOrPm, MODE_12HR));
                final int hour = (time >= 1200 ? 0 : time / 100) + (amOrPm == 1 ? 12 : 0);
                final int minute = time % 100;
                confirmTimeSelection(mPresenters[MODE_12HR], MODE_12HR, hour, minute);
            }
        }
    }