PersistentCalendarInstance<T> class

Constructors

PersistentCalendarInstance(PersistentDeviceCalendar parent, PCEventBuilder<T> eventBuilder, PCIdSelector<T> idSelector, Calendar calendar, DeviceCalendarEventStore store)

Properties

calendar Calendar
getter/setter pair
eventBuilder PCEventBuilder<T>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idSelector PCIdSelector<T>
getter/setter pair
parent PersistentDeviceCalendar
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
store DeviceCalendarEventStore
getter/setter pair

Methods

add(Iterable<T> events) Future<void>
Adds a list of events possibly containing duplicates.
delete(Iterable<T> events) Future<void>
Deletes a list of events.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prune([TZDateTime? startOverride, TZDateTime? endOverride]) Future<void>
Removes event entries from the store, whose respective device calendar event is not present anymore. startOverride and endOverride define the scan range for the native calendar. Events which are outside of the scan range will be pruned. The default time range is 1900-2100 utc.
put(Iterable<T> events) Future<void>
Adds a list of events, possibly overriding already existing events.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited