Re: Representing ambiguity in datetime?

2005-05-18 Thread Dan Christensen
Ron Adam <[EMAIL PROTECTED]> writes: > So it seems using 0's for the missing day or month may be how to do it. This doesn't allow more specific amounts of ambiguity. I suggest either a pair of dates, which represent the earliest and latest that the event could have been (and are equal if there i

Re: Representing ambiguity in datetime?

2005-05-17 Thread Andrew Dalke
Ron Adam wrote: > This is a very common problem in genealogy research as well as other > sciences that deal with history, such as geology, geography, and archeology. .. > So it seems using 0's for the missing day or month may be how to do it. Except of course humans like to make things more com

Re: Representing ambiguity in datetime?

2005-05-17 Thread Peter Hansen
Terry Hancock wrote: > What do you do when a date or time is > incompletely specified? Doesn't the answer to this pretty much entirely depend on how you are going to make use of the information? What are your use cases? -- http://mail.python.org/mailman/listinfo/python-list

Re: Representing ambiguity in datetime?

2005-05-17 Thread Ivan Van Laningham
Hi All-- Ron Adam wrote: > > John Machin wrote: > > > On Tue, 17 May 2005 17:38:30 -0500, Terry Hancock > > <[EMAIL PROTECTED]> wrote: > > > > > >>What do you do when a date or time is > >>incompletely specified? > > The reason the ranges for the month and day specifiers begin > with zero is t

Re: Representing ambiguity in datetime?

2005-05-17 Thread Ron Adam
John Machin wrote: > On Tue, 17 May 2005 17:38:30 -0500, Terry Hancock > <[EMAIL PROTECTED]> wrote: > > >>What do you do when a date or time is >>incompletely specified? ISTM, that as it is, there is no >>formal way to store this --- you have to guess, and there's >>no way to indicate that the

Re: Representing ambiguity in datetime?

2005-05-17 Thread John Machin
On Tue, 17 May 2005 17:38:30 -0500, Terry Hancock <[EMAIL PROTECTED]> wrote: >What do you do when a date or time is >incompletely specified? ISTM, that as it is, there is no >formal way to store this --- you have to guess, and there's >no way to indicate that the guess is different from solid >in

Re: Representing ambiguity in datetime?

2005-05-17 Thread Steve Holden
Terry Hancock wrote: > What do you do when a date or time is > incompletely specified? ISTM, that as it is, there is no > formal way to store this --- you have to guess, and there's > no way to indicate that the guess is different from solid > information. As a result, I have sometimes had to aba

Representing ambiguity in datetime?

2005-05-17 Thread Terry Hancock
What do you do when a date or time is incompletely specified? ISTM, that as it is, there is no formal way to store this --- you have to guess, and there's no way to indicate that the guess is different from solid information. As a result, I have sometimes had to abandon datetime, even though it s