atom feed13 messages in org.apache.wicket.devRe: VOTE: add Joda time as a dependency
FromSent OnAttachments
Eelco HilleniusFeb 2, 2007 1:07 pm 
Philip A. ChapmanFeb 2, 2007 1:32 pm 
Igor VaynbergFeb 2, 2007 2:24 pm 
Ryan SonnekFeb 2, 2007 3:04 pm 
Eelco HilleniusFeb 2, 2007 3:29 pm 
Eelco HilleniusFeb 2, 2007 3:30 pm 
Ryan SonnekFeb 2, 2007 4:32 pm 
Crash_NeoFeb 2, 2007 5:18 pm 
Johan CompagnerFeb 3, 2007 2:48 am 
Martijn DashorstFeb 3, 2007 4:13 am 
Igor VaynbergFeb 3, 2007 9:52 am 
Ryan SonnekFeb 3, 2007 10:18 am 
Erik van OostenFeb 4, 2007 12:28 pm 
Subject:Re: VOTE: add Joda time as a dependency
From:Igor Vaynberg (igor@gmail.com)
Date:Feb 2, 2007 2:24:12 pm
List:org.apache.wicket.dev

exactly what will you improve in core by having joda time? why cant it be a dependency on the extensions? or why not make it a core module all onto itself?

-igor

On 2/2/07, Philip A. Chapman <pcha@pcsw.us> wrote:

My non-binding vote is go for it.

Eelco Hillenius wrote:

Hi all,

For those who don't know, Joda Time: http://joda-time.sourceforge.net/ is a *much* better replacement of the Java date and time APIs it many ways (see their 'why Joda time section'). Also, Joda time will be the basis of JSR 310 (http://jcp.org/en/jsr/detail?id=310).

Date/ time handling wouldn't normally be part of Wicket's responsibility, wouldn't it be the fact that our date related components suffer from the JDKs API being bad. I wrote some components and a converter based on Joda time that work better than the current ones we have. The most important feature of those components is that they take the client's time zone into account. I've tried to write them against the normal date/time API, but got so sick of battling it that I gave up. And as soon as I adopted Joda time (which we were already using for our project), it worked superb!

My proposal is to include Joda time as a dependency of the wicket core project. I know *any* extra dependency raises eyebrows and I feel great about Wicket hardly having any dependencies at the moment. However, I feel this library is so good and could improve our core components and converters so much that it is worth having the extra dependency.

Joda time is a maven 2 project, is Apache 2.0 licensed, and version 1.4 is 512KB.

Your thoughts/ votes?