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
The RecurrenceRule class contains about 1500 lines of code (not counting blank lines, JavaDoc and comments), about 30% of the entire library. It really needs to be split into multiple classes. That way we also gain more flexibility.
First candidates are:
create dedicated Iterator classes and deprecate the iterator methods
externalize serialization to String, this way we can provide other options, e.g. regarding inclusion of default values (Interval not set if it is one #95)
Moving the enums to top level classes would be a breaking change that needs to be be considered carefully.
The
RecurrenceRuleclass contains about 1500 lines of code (not counting blank lines, JavaDoc and comments), about 30% of the entire library. It really needs to be split into multiple classes. That way we also gain more flexibility.First candidates are:
Iteratorclasses and deprecate theiteratormethodsMoving the enums to top level classes would be a breaking change that needs to be be considered carefully.