teambition / rrule-go

Go library for working with recurrence rules for calendar dates.
MIT License
310 stars 57 forks source link

Add RDate and ExDate setters #33

Closed fujiechen closed 5 years ago

fujiechen commented 5 years ago

Currently, we can only use RDate(time.Time) and ExDate(time.Time) to append the new date.

Added SetRDates([]time.Time) and SetExDates([]time.Time) setter for RDate and ExDate to set the entire RDates and ExDates after parsing it from string.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.002%) to 99.663% when pulling b3af435c31564addb19a91858182191a6418959b on imaple7:add-rdate-and-exdate-setters into fa4b79e2f4635e471013c37bd16b4012b6d1799f on teambition:master.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.002%) to 99.663% when pulling 63d6082cae01afec98020ddc2216fe3b92139003 on imaple7:add-rdate-and-exdate-setters into fa4b79e2f4635e471013c37bd16b4012b6d1799f on teambition:master.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.002%) to 99.663% when pulling 63d6082cae01afec98020ddc2216fe3b92139003 on imaple7:add-rdate-and-exdate-setters into fa4b79e2f4635e471013c37bd16b4012b6d1799f on teambition:master.

fujiechen commented 5 years ago

@zensh @damoye Could you please take a look about this PR? Thanks!

zensh commented 5 years ago

@imaple7 Thank you. v1.5.0 released.