commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject RE: Re: Conversion utilities
Date Thu, 14 Nov 2002 21:09:27 GMT

DateRangeFactory.TIME_RANGE :)

Hen

On Thu, 14 Nov 2002 travis@thinkvirtual.com wrote:

> 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