You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/dmfs/rfc5545/recur/RecurrenceRule.java
+32-18Lines changed: 32 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ public enum RfcMode
50
50
* Parses recurrence rules according to <a href="http://tools.ietf.org/html/rfc2445#section-4.3.10">RFC 2445</a>. Every error will cause an exception to
51
51
* be thrown.
52
52
*/
53
-
RFC2445_STRICT,
53
+
RFC2445_STRICT(false),
54
54
55
55
/**
56
56
* Parses recurrence rules according to <a href="http://tools.ietf.org/html/rfc2445#section-4.3.10">RFC 2445</a> in a more tolerant way. The parser will
@@ -59,13 +59,13 @@ public enum RfcMode
59
59
* differently than with {@link #RFC5545_LAX}. {@link #RFC5545_LAX} will just drop all invalid parts and evaluate the rule according to RFC 5545. This
60
60
* mode will evaluate all rules. <p> Also this mode will output rules that comply with RFC 2445. </p>
61
61
*/
62
-
RFC2445_LAX,
62
+
RFC2445_LAX(true),
63
63
64
64
/**
65
65
* Parses recurrence rules according to <a href="http://tools.ietf.org/html/rfc5545#section-3.3.10">RFC 5545</a>. Every error will cause an exception to
66
66
* be thrown.
67
67
*/
68
-
RFC5545_STRICT,
68
+
RFC5545_STRICT(false),
69
69
70
70
/**
71
71
* Parses recurrence rules according to <a href="http://tools.ietf.org/html/rfc5545#section-3.3.10">RFC 5545</a> in a more tolerant way. The parser will
@@ -74,7 +74,15 @@ public enum RfcMode
74
74
* are evaluated differently than with {@link #RFC2445_LAX}. This mode will just drop all invalid parts and evaluate the rule according to RFC 5545.
75
75
* {@link #RFC2445_LAX} will evaluate all rules. <p> Also this mode will output rules that comply with RFC 5545. </p>
0 commit comments