Home > Date And Time > Time steps specification and computation > Recurring Dates Computing > Daily, monthly and yearly computing from a start date not involving last day of the month
Report generated 11-04-2023 10:42

Recurring Dates Computing

  Windows   Rrule   Date

Daily, monthly and yearly computing from a start date not involving last day of the month
Steps Outcome
Given the start date 2021-03-21
SUCCESS 007ms
When the rrules in the following list are applied in order
FREQ=DAILY;COUNT=11
FREQ=MONTHLY;COUNT=12;BYMONTHDAY=-1
FREQ=YEARLY;COUNT=5
SUCCESS 003ms
Then the recurring dates should be
date
2021-03-21
2021-03-22
2021-03-23
2021-03-24
2021-03-25
2021-03-26
2021-03-27
2021-03-28
2021-03-29
2021-03-30
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
2025-02-28
2026-02-28
SUCCESS 016ms
SUCCESS 0.03s
Serenity BDD version 3.6.22