jameslairdsmith / gs

A grammar of recurring calendar events.
https://jameslairdsmith.github.io/gs/
Other
14 stars 0 forks source link

Convenience functions for last day of year and month. #9

Open jameslairdsmith opened 5 years ago

jameslairdsmith commented 5 years ago

There should be convenience functions for the last days of the year (either the 365th or 366th day depending on whether it is a leap year) and the last day of the month (varying according to the month and wether it is a leap year for February).

Along with making these common patterns easier for users, this would also be computationally more efficient.