This change makes a fix to Calendar.RecurrenceRule with regards to leap months and adds a few tests to verify correctness. When constructing the base sequence, we include isLeapMonth of the start date in the date components. Before, start dates falling on a leap month would have been treated the same as dates which do fall on the non-leap month before.
This change makes a fix to
Calendar.RecurrenceRule
with regards to leap months and adds a few tests to verify correctness. When constructing the base sequence, we includeisLeapMonth
of the start date in the date components. Before, start dates falling on a leap month would have been treated the same as dates which do fall on the non-leap month before.