select Duration
Programmatically selects duration without dispatching DurationPicker user callbacks.
Parameters
The finite, non-negative, whole-minute duration to select.
Throws
Programmatically selects elapsed hours and minute-within-hour minutes.
Parameters
The non-negative elapsed whole-hour component.
The minute-within-hour component in 0..59.
Throws
if either part is outside its supported range.
Programmatically selects the closest duration to duration allowed by items.
Parameters
The requested finite, non-negative, whole-minute duration.
The item sources and scalar bounds used for coercion.
Throws
if the requested value or item configuration is invalid or the item configuration has no selectable scalar combination.
Programmatically selects the closest duration to hours/minutes allowed by items.
Parameters
The requested non-negative elapsed whole-hour component.
The requested minute-within-hour component in 0..59.
The item sources and scalar bounds used for coercion.
Throws
if the requested parts or item configuration are invalid or the item configuration has no selectable scalar combination.