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

Recurring Dates Computing

  Windows   Rrule   Date

Monthly computing from a start date involving last day of a 30-day month

The recurrence rule generates one invalid date (30 February 2022), and it's simply ignored.
Steps Outcome
Given the start date 2021-04-30
SUCCESS 006ms
When the rrule FREQ=MONTHLY;COUNT=12 is applied
SUCCESS 002ms
Then the recurring dates should be
date
2021-04-30
2021-05-30
2021-06-30
2021-07-30
2021-08-30
2021-09-30
2021-10-30
2021-11-30
2021-12-30
2022-01-30
2022-03-30
2022-04-30
SUCCESS 016ms
SUCCESS 0.04s
Serenity BDD version 3.6.22