Constraints for a duration parameter.
The maximum allowed duration value.
The minimum allowed duration value.