@Override
    public Dialog onCreateDialog(Bundle savedInstanceState) {
        return new TimeDurationPickerDialog(getActivity(), this, getInitialDuration(), setTimeUnits());
    }
Base class for implementing a time duration picker dialog fragment as described in the
<a href="https://developer.android.com/guide/topics/ui/controls/pickers.html">Pickers</a> guide in the
android documentation.
<p>
You need to implement #onDurationSet in your derived class. You can override #getInitialDuration if you want to
provide an initial duration to be set when the dialog starts.

@see TimeDurationPickerDialog
@see TimeDurationPicker
android/third_party/time-duration-picker/src/main/java/mobi/upod/timedurationpicker/TimeDurationPickerDialogFragment.java