Re: Demo: Modelling Cost of Travel Paths Between Towns

From: Marshall Spight <mspight_at_dnai.com>
Date: Tue, 16 Nov 2004 17:19:21 GMT
Message-ID: <tEqmd.104479$R05.68388_at_attbi_s53>


"Laconic2" <laconic2_at_comcast.net> wrote in message news:WrmdnRtJ5Pg2OgncRVn-pQ_at_comcast.com...
>
>
> Let's say that we are given two times, and asked whether they are equal or
> not.
>
> Here are the two times:
>
> 2004.11.11 24:00
> 2004.11.12 00:00 [year value corrected]
>
> The above form is for illustration purposes only.
>
> Now a naive comparator would answer the question "no". But a comparator
> that really understands what we are talking about
> might take a closer look, and come up with the answer: "yes". I like the
> answer "yes", myself, better.

I like the answer where the date constructor fails on the "24:00" value because it's invalid. But maybe I'm just being smarmy.

Marshall Received on Tue Nov 16 2004 - 18:19:21 CET

Original text of this message