Thanks for clearing that up, Stephen!

On 7/6/06, Stephen Colebourne <[EMAIL PROTECTED]> wrote:

A zero-length interval is likely to come into existence as the result of
some other calculation, perhaps (contrived example) by subtracting
instant a from b and c from d, with the two results being used to create
an interval.

Ah.  I see now, and it's not so contrived.  If I recall correctly, said intervals are all [x,y), aren't they? 
Sorry to be obtuse.  I'm a lurker and I haven't used joda in a few months.

A zero-length interval is useful in that it has zero length when
converted to a Duration or Period.

I do see the utility of it under those circumstances.   

At question is whether a zero-length interval is useful in defining a
particular instant.

I also see that, except when determining length, it's challenging to define unless you leave the mathematical set definiton out of it.
A zero length interval it seems to define a "not-a-time" instant.  I suppose the only way to convert it to an actual instant is to take one of the two (equal) endpoints out and use them independently.  

Converting that interval to an instant seems odd to me for some reason.  Maybe it's because I've never had to cross that bridge, though.

Thanks again!

Mykel
 

--

Never wear anything that panics the cat. -- P. J. O'Rourke
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Joda-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to