commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject [lang] Dates/DateRanges [was Re: Re: Conversion utilities]
Date Thu, 14 Nov 2002 21:34:23 GMT
<blatant-self-advertising>
http://joda.sourceforge.net  has code for handling TimePeriods and comparing
dates (In fact its a complete rewrite of dates from the ground up). Only at
0.8 release though.
</blatant-self-advertising>

This is my biggest concern with putting Date and Calendar code into [lang].
There is a lot that can be done to try to fix up the current Date/Calendar
classes. But how much is worth it? Where do we in [lang] draw the line
between useful methods, and the Joda complete rewrite?

Stephen

----- Original Message -----
From: <travis@thinkvirtual.com>
> The problem with the range interface when relating to dates is that with
dates you would want to specify a field to give the range on, ex: days,
months, weeks, etc.
>
> Travis
>
> ---- Original Message ----
> From: Robert Leland <rleland@apache.org>
> Sent: 2002-11-14
> To: Jakarta Commons Developers List <commons-dev@jakarta.apache.org>
> Subject: Re: Conversion utilities
>
> Henri Yandell wrote:
> >
> > On Thu, 14 Nov 2002, Jeff Varszegi wrote:
> >
> >
> >>Janek,
> >>
> >>I made an interface called Range that is supported by classes called
> >>ComparableRange etc.  The ComparableRange class can use any objects
> >>that support Comparable (or, alternately, any objects with a supplied
> >>Comparator), and I also made specific versions for Date and Double to
>
> Sounds like you could coordinating with the commons-validator package
> there is already a intRange(), floatRange(), in the GenerocValidator
> class. It could definately make use of your Range interface though !
>
>
> -Rob
>
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:commons-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:commons-dev-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message