I've been trying to find a crate to deal with complex time sequences.
Using the excellent kronos crate, I can create TimeSequences like the "10th day of every month" or "the first Monday of every year" with NthOf and Grains().
// 10th day of every month
tenth_day = NthOf(10, Grains(Grain::Day), Grains(Grain::Month));
// 1st Monday of every year
first_monday = Nth(1, Weekday(1), Grains(Grain::Year));
But I want to do this for more complex TimeSequences, like "the 27th day of every other month".
There are the Grain::Quarter and Grain::Half enum variants for every 3 and 6 months, respectively, but these are hard-coded and do not generalize to months that don't divide the year evenly, like every 5 months.
Is there a way I can get these more complex TimeSequences with kronos? Or is there another crate I could use for this problem?