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

Recurring Dates Computing

  Windows   Rrule   Date

Monthly on the first and last day from a start date involving last day of a 31-day month
Steps Outcome
Given the start date 2021-03-31
SUCCESS 009ms
When the rrule FREQ=MONTHLY;COUNT=12;BYMONTHDAY=1,-1 is applied
SUCCESS 004ms
Then the recurring dates should be
date
2021-03-31
2021-04-01
2021-04-30
2021-05-01
2021-05-31
2021-06-01
2021-06-30
2021-07-01
2021-07-31
2021-08-01
2021-08-31
2021-09-01
SUCCESS 019ms
SUCCESS 0.04s
Serenity BDD version 3.6.22