01

Sample Code

monthly-recurrence.py
spec = RecurrenceSpec(
    freq=Frequency.MONTHLY,
    bymonthday=(15,),
)
start = datetime(2024, 1, 15, 9, 0, tzinfo=UTC)
dates = engine.occurrences(spec, dtstart=start, count=12)
# All dates will be on the 15th of each month