The type of data that modifies the schedule.
Creates a new schedule modifier.
The map of values mapped by their Identifiers.
Clears the modifier of all modifications.
Builds a list of the descriptions of the identifiers in this modifier.
If the description should use shorter language or longer.
The built list of descriptions.
Builds a map of the values/modifications keyed by the descripton of the identifier computed via Identifier.describe.
If the description should use shorter language or longer.
The built map of description to values/modifications.
Gets the most specific value in this modifier for the given day, if none
exists otherwise
is returned. A modifier can have multiple values for a
given day because Identifiers represent a span of time.
The day to get a value for.
What to return if no value exists for the given day.
If the specific time of the given day should be looked at.
The most specific value for the given day, or otherwise
.
Gets all values in this modifier for the given day. If none exist, an empty array is returned. The values returned in the array are returned in most specific to least specific.
The day to get the values for.
An array of values (modifications) for the given day.
Gets the most specific identifier type for the span over the given day.
If the day does not have a modification, null
is returned.
The day to get the type for.
If the specific time of the given day should be looked at.
The most specific identifier for the given day, otherwise null
.
Returns all identifiers stored in this modifier.
Returns true
if this modifier lacks any modifications, otherwise false
.
Iterates through the modifiers passing the identifier and the related value.
A new instance of an [[Iterator]].
Moves the value/modification from one identifier to another.
The day to take the identifier from.
The identifier type.
The day to move the value to.
The identifier type to move the value to.
Queries the modifier for all values/modifications which fall in the time span that the given identifier represents. All identifiers and their value are passed to the given callback.
A new instance of an [[Iterator]].
Removes any identifiers and modifications that are at the given time.
The time to remove.
The number of modifiers removed.
Sets the value/modification in this map given a day, the value, and the identifier type.
The day to take an identifier from.
The value/modification to set.
The identifier type.
Builds a list of spans and the associated values. The spans are calculated from the identifier key via Identifier.span.
If the end date in the spans should be the last millisecond of the timespan or the first millisecond of the next.
An array of spans calculated from the identifiers with the associated values/modifications.
Removes the value/modification from this modifier based on the identifier pulled from the day.
The day to take an identifier from.
The identifier type.
Generated using TypeDoc
A class that can modify the events of a schedule by storing Identifiers and an associated value.