Joda time key concepts can be easily mapped to XSD Date and Time data types.

http://www.w3schools.com/Schema/schema_dtypes_date.asp

http://joda-time.sourceforge.net/key_instant.html
http://joda-time.sourceforge.net/key_partial.html
http://joda-time.sourceforge.net/key_chronology.html
http://joda-time.sourceforge.net/key_duration.html 

/Sanjaya



----- Original Message ----
From: Sanjaya Karunasena <[EMAIL PROTECTED]>
To: Axis Dev <[email protected]>
Sent: Tuesday, July 8, 2008 2:17:50 PM
Subject: Representing a Birthday in a distributed scenario


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


      

Reply via email to