vikunja-api/vendor/github.com/laurent22/ical-go/calendar.go

18 lines
285 B
Go
Raw Normal View History

2019-05-22 19:48:48 +02:00
package ical
type Calendar struct {
Items []CalendarEvent
}
func (this *Calendar) Serialize() string {
serializer := calSerializer{
calendar: this,
2019-05-24 19:45:33 +02:00
buffer: new(strBuffer),
2019-05-22 19:48:48 +02:00
}
return serializer.serialize()
}
func (this *Calendar) ToICS() string {
return this.Serialize()
}