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

Reply via email to