Search code examples
rubyice-cube

IceCube/Ruby A rule for every 1 month and 10 days


Is it possible to make a rule like every 1 month and 10 days? Obviously 40 days isn't correct since months have a variable number of days in them, and it isn't by day of month or a particular day of the week?

Something that would generate:

1/01/2014
2/10/2014
3/20/2014
4/30/2014
6/09/2014

Solution

  • Since IceCube's goal is to be iCal compliant, and that type of recurrence rule is not supported by the iCal spec as far as I can tell, this type of rule is impossible with IceCube.

    Had to roll my own system.