timePicker.setCurrentMinute(0);
setTime.setPositiveButton(R.string.default_buttons_ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
choose.dismiss();
<BUG>Calendar cal = Calendar.getInstance();
boolean is24HourFormat = DateFormat.is24HourFormat(app);
int hour = cal.get(is24HourFormat ? Calendar.HOUR_OF_DAY : Calendar.HOUR);</BUG>
int minute = cal.get(Calendar.MINUTE);
<BUG>cal.set(is24HourFormat ? Calendar.HOUR_OF_DAY : Calendar.HOUR, hour + timePicker.getCurrentHour());
cal.set(Calendar.MINUTE, minute + timePicker.getCurrentMinute());
</BUG>
setParkingTime(cal.getTimeInMillis());

timePicker.setCurrentMinute(0);
setTime.setPositiveButton(R.string.default_buttons_ok, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
choose.dismiss();
Calendar cal = Calendar.getInstance();
int hour = cal.get(Calendar.HOUR_OF_DAY );
int minute = cal.get(Calendar.MINUTE);
cal.add(Calendar.HOUR_OF_DAY, timePicker.getCurrentHour());
cal.add(Calendar.MINUTE, timePicker.getCurrentMinute());
setParkingTime(cal.getTimeInMillis());
