NAME

Reaction::UI::ViewPort::Field::TimeRange

SYNOPSIS

DESCRIPTION

METHODS

value

Accessor for a L<DateTime::SpanSet> object.

value_string

Returns: Encoded range string representing the value.

value_array

Returns: Arrayref of the elements of C<value_string>.

parent

L<Reaction::UI::ViewPort::TimeRangeCollection> object.

range_to_spanset

Arguments: $self, $time_from, $time_to, $repeat_from, $repeat_to, $pattern
where $time_from, $time_to, $repeat_from, $repeat_to are L<DateTime>
objects, and $pattern is a L<DateTime::Event::Recurrence> method name

Returns: $spanset

delete

Removes TimeRange from C<parent> collection.

delete_label

Label for the delete option. Default: 'Delete'.

SEE ALSO

Reaction::UI::ViewPort::Field

Reaction::UI::ViewPort::TimeRangeCollection

AUTHORS

See Reaction::Class for authors.

LICENSE

See Reaction::Class for the license.