RangeParameter class
Parameter defining the range of a change
This parameter can be specified on a property that specifies a recurrence identifier. The parameter specifies the effective range of recurrence instances that is specified by the property. The effective range is from the recurrence identifier specified by the property. If this parameter is not specified on an allowed property, then the default range is the single instance specified by the recurrence identifier value of the property. The parameter value can only be "THISANDFUTURE" to indicate a range defined by the recurrence identifier and all subsequent instances. The value "THISANDPRIOR" is deprecated by this revision of iCalendar and MUST NOT be generated by applications.
Constructors
- RangeParameter(String name, String textValue)
- Creates a new RangeParameter
- RangeParameter.value(String name, Range range)
- Creates a new RangeParameter
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isThisAndFuture → bool
-
Checks is this range affects the current subsequent instances
no setter
- name → String
-
the name of this parameter
finalinherited
- range → Range
-
Retrieves the range
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textValue → String
-
the unparsed text value of this parameter
finalinherited
- value → Range
-
The parsed value
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
String name, Range? value) → RangeParameter? -
Creates a new RangeParameter when the
value
is not null -
parse(
String textValue) → Range -
Parses the given
textValue
override