0
votes

i wonder if it is possible with lib-recur to convert rrule to date, but take startDate from rrule itself like DTSTART instead of passing LocalDate to constructor like

RecurrenceRule rule = new RecurrenceRule("FREQ=YEARLY;BYMONTHDAY=23;BYMONTH=5");

DateTime start = new DateTime(1982, 4 /* 0-based month numbers! */,23);

RecurrenceRuleIterator it = rule.iterator(start);

i would like to do something like this

RecurrenceRule rule = new RecurrenceRule("DTSTART:20200220T022200Z\nFREQ=YEARLY;BYMONTHDAY=23;BYMONTH=5");

RecurrenceRuleIterator it = rule.iterator();

Is this possible with lib-recur, or with any other library?