NAME

Gedcom::Date - Perl class for interpreting dates in Gedcom files

SYNOPSIS

use Gedcom::Date;

my $date = Gedcom::Date->parse( '10 JUL 2003' );

DESCRIPTION

Parse dates from Gedcom files.

METHODS

  • parse( $date )

    Create a Gedcom::Date object from a string.

  • earliest

    Return the earliest possible date; e.g. for the date "BET 10 JUL 2003 AND 20 JUL 2003" it returns July 10, 2003. The value returned is a DateTime object.

  • latest

    Return the latest possible date; e.g. for the date "BET 10 JUL 2003 AND 20 JUL 2003" it returns July 20, 2003. The value returned is a DateTime object.

AUTHOR

Eugene van der Pijll <pijll@gmx.net>

COPYRIGHT

Copyright (c) 2003 Eugene van der Pijll. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

perl(1).