public void setDuration(long millis) {
        input.setDuration(millis);
        updateHoursMinutesSeconds();
    }
Sets the current duration.

@param millis the duration in milliseconds
android/third_party/time-duration-picker/src/main/java/mobi/upod/timedurationpicker/TimeDurationPicker.java