Open chengfang opened 1 year ago
Since the specification does state 0 is a valid value, I believe "10/0" should be valid. Looking at this example from the specification:
Example: Every 10 seconds within the minute, starting at second 30
second = "30/10"
The following is equivalent:
second = "30,40,50"
The value "30" being the initial value, and then incrementing "10" would result in the 40 and 50 values. It would seem the only way to treat "30/0" as valid would be to have the initial value of "30", and then the "0" would result in no increment, so the equivalent to "30/0" would be just "30"... as you suggest. Thus, the specification could provide an example like this:
Example: Every 0 seconds within the minute, starting at second 30
second = "30/0"
The following is equivalent:
second = "30"
This timer service section states that:
Given the value range of [0, 59], 0 increment value as in
second="10/0"
fall into the valid range, though 0 increment value doesn't seem right. What's the expected behavior here?Shall we consider
"10/0"
as equivalent to a single-value"10"
, or consider it invalid?