axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjaya Karunasena <sanja...@yahoo.com>
Subject Representing a Birthday in a distributed scenario
Date Tue, 08 Jul 2008 08:47:50 GMT
Hi All,

Usually to represent some thing like a Birthday java Date class is used. However, it internally
make use of a Calendar instance in most of the operations.
This means unless we send timezone information in a Web Service request with the birthday,
there is a time window, when the client and the server is in two different timezones, the
day get represented inaccurately.

I came across this library (http://joda-time.sourceforge.net) which doesn't suffer from such
design flaws. (http://joda-time.sourceforge.net/key_partial.html)

Thoughts? Probably we need to fix ADB to handle this.

/Sanjaya


      
Mime
View raw message