I am looking for a class that would seem to me to be a basic and recurring need, but I am not finding it in JODA. What I am looking for is a class that captures the notion of a specific, real-world, time interval. That is to say, a class that: 1) Has a specific DateTime field that defines when it started, 2) Has a specific DateTime field that defines when it ended, 3) Implements java.lang.Comparable.
It would be nice if it could also provide: 1) the intelligent grasp of time passage that is in Period, 2) the ability to report its relationship to other "specific intervals", in much the same way that Joda's Interval class can do with other Intervals. I can write such a class, based on the current API in JODA, but it seems that this would be an obvious and highly reusable component, so I am wondering if I am just missing it in the current API? If it isn't there already, if I implemented such a class, what would it take to get it included in future releases? Possible applications: work-shifts, marriage dates, time someone/something was at a particular location, career length, political time in office, beginning/end of wars, previous flights of an air-plane, time when a component was in service etc. -- A. Rick Anderson 540-347-0311 ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Joda-interest mailing list Joda-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/joda-interest