my $future = DateTime::Infinite::Future->new; my $past = DateTime::Infinite::Past->new;
The objects are always in the ``floating'' timezone, and this cannot be changed.
All ``get'' methods in this module simply return infinity, positive or negative. If the method is expected to return a string, it returns the string representation of positive or negative infinity used by your system. For example, on my system calling "$dt->year"> returns a number which when printed appears either ``Inf'' or ``-Inf''.
This also applies to methods that are compound stringifications, which return the same strings even for things like "$dt->ymd" or "$dt->iso8601"
The object is not mutable, so the "$dt->set", "$dt->set_time_zone", and "$dt->truncate" methods are all do-nothing methods that simply return the object they are called with.
Obviously, the "$dt->is_finite" method returns false and the "$dt->is_infinite" method returns true.
Bugs may be submitted at <https://github.com/houseabsolute/DateTime.pm/issues>.
There is a mailing list available for users of this distribution, <mailto:datetime@perl.org>.
I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
The full text of the license can be found in the LICENSE file included with this distribution.