Home > Date And Time > Time steps specification and computation > Recurring Dates Computing > Monthly and yearly computing from a start date with involving day of a 31-day month
Report generated 11-04-2023 10:42

Recurring Dates Computing

  Windows   Rrule   Date

Monthly and yearly computing from a start date with involving day of a 31-day month
Steps Outcome
Given the start date 2021-03-31
SUCCESS 012ms
When the rrules in the following list are applied in order
FREQ=MONTHLY;COUNT=12;BYMONTHDAY=-1
FREQ=YEARLY;COUNT=3
SUCCESS 004ms
Then the recurring dates should be
date
2021-03-31
2021-04-30
2021-05-31
2021-06-30
2021-07-31
2021-08-31
2021-09-30
2021-10-31
2021-11-30
2021-12-31
2022-01-31
2022-02-28
2023-02-28
2024-02-28
SUCCESS 018ms
SUCCESS 0.05s
Serenity BDD version 3.6.22