ixc / python-edtf

MIT License
52 stars 19 forks source link

Add arithmetic to EDTF objects #8

Open cogat opened 7 years ago

cogat commented 7 years ago

It would be cool to do something like:


e + relativedelta(months=1)
Date("1979-09~")```

I suspect it would need careful definition, perhaps at the official EDTF spec level. e.g. Would it make sense to add 30 days (ie 1 month) when the days are unspecified?