public long getDuration() {
        return input.getDuration();
    }
Gets the current duration entered by the user.

@return the duration entered by the user in milliseconds.
android/third_party/time-duration-picker/src/main/java/mobi/upod/timedurationpicker/TimeDurationPicker.java