teambition / rrule-go

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

Get last event time #45

Closed tarrencev closed 3 years ago

tarrencev commented 3 years ago

Is it possible to extract the Until property of a set computed from a string?

zensh commented 3 years ago

Like this:

if rule := set.GetRRule(); rule != nil {
    untilTime = rule.GetUntil()
}