Skip to content

Commit edc4bb5

Browse files
committed
Update with comments clarifying the purpose of strict ranges.
1 parent 786d176 commit edc4bb5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/com/cronutils/model/field/definition/FieldDefinitionBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ public FieldDefinitionBuilder withValidRange(final int startRange, final int end
6868

6969
/**
7070
* Specifies that defined range for given field must be a strict range.
71+
* We understand strict range as a range defined as: "lowValue - highValue"
72+
* If some range value such as "highValue-lowValue" is specified in a field, it will fail to parse the field.
7173
*
7274
* @return same FieldDefinitionBuilder instance
7375
*/

0 commit comments

Comments
 (0)