NAME

PGObject::Util::Type::DateTime::Infinite -- Infinite Date Times in PGObject

VERSION

2.1.1

SYNOPSIS

# for a timestamp infinitely far in the future
my $future = PGObject::Util::Type::DateTime::Infinite::Future->new

# or infinitely far in the past

my $past = PGObject::Util::Type::DateTime::Infinite::Past->new

DESCRIPTION

PostgreSQL supports timestamps of 'infinity' (can also be written '+infinity') and '-infinity' and it turns out Perl has support for the same. So this module implements a bridge between PGObject and this functionality.

SUBCLASSES

This module offers two subclasses for future and past.

PGObject::Util::Type::DateTime::Infinite::Future

This class +infinity and infinity to DateTime::Infinite::Future objects

PGObject::Util::Type::DateTime::Infinite::Past

This class maps -infinity to DateTime::Infinite::Past objects.

SEE ALSO

DateTime::Infinite
DateTime
PGObject::Type::DateTime

COPYING

See the terms of PGObject::Type::DateTime for the license agreement as this is part of that package.