develooper Front page | perl.gedcom | Postings from September 2011

Re: Announce: DateTime::Format::Gedcom V 1.00

Thread Previous | Thread Next
From:
Ron Savage
Date:
September 20, 2011 15:25
Subject:
Re: Announce: DateTime::Format::Gedcom V 1.00
Message ID:
1316557527.3716.358.camel@zigzag.savage.net.au
Hi Eugene

On Tue, 2011-09-20 at 20:45 +0200, Eugene van der Pijll wrote:
> Ron Savage schreef:
> > > * How does your module record the difference between "2000", "JAN 2000"
> > >   and "1 JAN 2000"?
> > 
> > How does you code distinguish between these cases?
> 
> It remembers the parts of the date (dmy, or my, or just y) that are
> known, and only uses those components. It fabricates the missing day or
> month where necessary, but these are never returned to the outside
> world.

Yes, thanx. I have seen that code. I thought you might have added
something else recently.

> > Do you one of the GEDCOM concepts About, Calculated, Estimated or
> > Interpreted?
> 
> Not at this moment. "1900" is equivalent to "BET 1 JAN 1900 AND 31 DEC
> 1900", and "BET 1897 AND 1903" is rougly equivalent to "ABT 1900", but I
> haven't (yet) added a method to convert these GEDCOM date strings to
> each other.

Interesting. It suggests many approximate dates could be reported as a
range of dates. More to think about...

-- 
Ron Savage
http://savage.net.au/
Ph: 0421 920 622


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About