Beispiel #1
0
class Expand(BaseElement):
    tag = ns("caldav", "expand")

    def __init__(self, start, end=None):
        super(Expand, self).__init__()
        self.attributes['start'] = start.strftime("%Y%m%dT%H%M%SZ")
        if end is not None:
            self.attributes['end'] = end.strftime("%Y%m%dT%H%M%SZ")
Beispiel #2
0
class TextMatch(ValuedBaseElement):
    tag = ns("caldav", "text-match")

    def __init__(self, value, collation="i;octet", negate=False):
        super(TextMatch, self).__init__(value=value)
        self.attributes['collation'] = collation
        self.attributes['negate'] = "no"
        if negate:
            self.attributes['negate'] = "yes"
Beispiel #3
0
class TimeRange(BaseElement):
    tag = ns("caldav", "time-range")

    def __init__(self, start=None, end=None):
        super(TimeRange, self).__init__()
        if start is not None:
            self.attributes['start'] = \
                    start.strftime("%Y%m%dT%H%M%SZ")
        if end is not None:
            self.attributes['end'] = end.strftime("%Y%m%dT%H%M%SZ")
Beispiel #4
0
class MaxResourceSize(ValuedBaseElement):
    tag = ns("caldav", "max-resource-size")
Beispiel #5
0
class CalendarDescription(ValuedBaseElement):
    tag = ns("caldav", "calendar-description")
Beispiel #6
0
class CalendarHomeSet(BaseElement):
    tag = ns("caldav", "calendar-home-set")
Beispiel #7
0
class CalendarCollection(BaseElement):
    tag = ns("caldav", "calendar-collection")
Beispiel #8
0
class NotDefined(BaseElement):
    tag = ns("caldav", "is-not-defined")
Beispiel #9
0
class ScheduleTag(BaseElement):
    tag = ns("caldav", "schedule-tag")
Beispiel #10
0
class CalendarMultiget(BaseElement):
    tag = ns("caldav", "calendar-multiget")
Beispiel #11
0
class MaxAttendeesPerInstance(ValuedBaseElement):
    tag = ns("caldav", "max-attendees-per-instance")
Beispiel #12
0
class MaxInstances(ValuedBaseElement):
    tag = ns("caldav", "max-instances")
Beispiel #13
0
class MaxDateTime(ValuedBaseElement):
    tag = ns("caldav", "max-date-time")
Beispiel #14
0
class MinDateTime(ValuedBaseElement):
    tag = ns("caldav", "min-date-time")
Beispiel #15
0
class Mkcalendar(BaseElement):
    tag = ns("D", "mkcalendar")
Beispiel #16
0
class PropFilter(NamedBaseElement):
    tag = ns("caldav", "prop-filter")
Beispiel #17
0
class ParamFilter(NamedBaseElement):
    tag = ns("caldav", "param-filter")
Beispiel #18
0
class CalendarFreeBusySet(BaseElement):
    tag = ns("caldav", "calendar-free-busy-set")
Beispiel #19
0
class DefaultAlarmVeventDatetime(BaseElement):
    tag = ns("caldav", "default-alarm-vevent-datetime")
Beispiel #20
0
class ScheduleCalendarTransp(BaseElement):
    tag = ns("caldav", "schedule-calendar-transp")
Beispiel #21
0
class CalendarData(BaseElement):
    tag = ns("caldav", "calendar-data")
Beispiel #22
0
class Filter(BaseElement):
    tag = ns("caldav", "filter")
Beispiel #23
0
class Comp(NamedBaseElement):
    tag = ns("caldav", "comp")
Beispiel #24
0
class ScheduleDefaultCalendarUrl(BaseElement):
    tag = ns("caldav", "schedule-default-calendar-URL")
Beispiel #25
0
class CalendarQuery(BaseElement):
    tag = ns("caldav", "calendar-query")
Beispiel #26
0
class SupportedCalendarComponentSets(BaseElement):
    tag = ns("caldav", "supported-calendar-component-sets")
Beispiel #27
0
class Calendar(BaseElement):
    tag = ns("caldav", "calendar")
Beispiel #28
0
class CompFilter(NamedBaseElement):
    tag = ns("caldav", "comp-filter")
Beispiel #29
0
class CalendarTimeZone(ValuedBaseElement):
    tag = ns("caldav", "calendar-timezone")
Beispiel #30
0
class SupportedCalendarData(ValuedBaseElement):
    tag = ns("caldav", "supported-calendar-data")