Certain configuration properties take a duration as their allowed value.
A duration includes an integer, and a unit, specified in weeks (w), days (d), hours (h), minutes (m), seconds (s), or miliseconds (ms), or some combination with multiple specifiers. For example, you can specify one week as 1w, 7d, 168h, 10080m, or 604800s. Or you can specify ten and a half days as 1w3d12h0m0s.
Not all properties that require a duration support all duration specifiers (w, d, h, m, s, and ms).
A duration property can also include the following:
Specifies the minimum granularity that can be used to specify duration property values. For example, if the base unit is in seconds, values represented in milliseconds are not permitted.
Specifies the largest duration unit that can be used to specify duration property values. Values presented in units greater than this unit are not permitted.
Specifies the smallest duration permitted by the property.
Specifies the largest duration permitted by the property.
Certain properties allow you to specify an unlimited duration. This is represented using the decoded value, -1, or the encoded string value unlimited.