What is the best way to write an rrule that is Tuesday after the third Monday each June?
Currently I write the rule like this:
rule_mo = rrule(freq=YEARLY,
bymonth=6,
byweekday=MO(+3),
...)
rule = (x + relativedelta(weekday=TU(+1)) for x in rule_mo)
Is there a way to write this entire rule using just the rrule
and not having to use the second pass with the relativedelta
?
Reference : http://jkbr.github.io/rrule/