Private
Optional
_componentsPrivate
_hydratedThe same count as for _hydratedPropertyCount, but for subcomponents
Private
_hydratedHydrated properties are inserted into the _properties array at the same position as in the jCal array, so it is possible that the array contains undefined values for unhydrdated properties. To avoid iterating the array when checking if all properties have been hydrated, we save the count here.
Private
Optional
_propertiesPrivate
_timezoneA cache of hydrated time zone objects which may be used by consumers, keyed by time zone ID.
The name of this component
Private
_hydratePrivate
_hydratePrivate
_removePrivate
_removeRetrieve a time zone definition from the component tree, if any is present. If the tree contains no time zone definitions or the TZID cannot be matched, returns null.
The ID of the time zone to retrieve
The time zone corresponding to the ID, or null
Removes a single property by name or the instance of the specific property.
Property name or instance to remove
True, when deleted
Removes a single component by name or the instance of a specific component.
Name of component, or component
True when comp is removed
Helper method that will update or create a property of the given name and sets its value. If multiple properties with the given name exist, only the first is updated.
Property name to update
Property value
The created property
Static
fromGenerated using TypeDoc
Wraps a jCal component, adding convenience methods to add, remove and update subcomponents and properties.