The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Date::Set::ICal - an Infinity + Date::ICal object

SYNOPSIS

        See Date::Set

- Date::Set internal use only!

METHODS

$new( $self, $arg)

$arg can be a string, another Date::Set::ICal object, a Date::ICal object, or a Set::Infinite::Element_Inf object.

Internals

The object is a pointer to $NEW_CACHE{$string}. Using memoization with %NEW_CACHE makes the program 16% faster.

Each $NEW_CACHE{$string} has 3 keys:

{string} - optional key - a string representation. What you get if you put one of these objects in doublequotes.

{epoch} - a number representation.

{ical} - a Date::ICal object.

or

{inf} - a Set:Infinite::Element_Inf object.

$self->as_string

Stringifies the object; what gets called if you put one of these objects in doublequotes.

$self->date_ical

Returns the object as a "standard" Date::ICal object.

We don't know what happens if we input an 'infinity' value.

AUTHOR

        Flavio Soibelmann Glock <fglock@pucrs.br>