On Fri, 2003-05-30 at 13:58, ow wrote: > --- Davanum Srinivas <[EMAIL PROTECTED]> wrote: > > > > Apache Axis implements JAX-RPC 1.0 Spec. We cannot release a version of Axis > > if we don't pass the > > TCK (http://www.jcp.org/en/resources/tdk) for JAX-RPC 1.0. The specification > > states that > > xsd:dataTime be mapped to java.util.Calendar. If you have a problem with the > > spec, there is a > > JAXRPC-INTEREST mailing list at sun (http://archives.java.sun.com/). > > Yes, this is bad since it means endless conversions between > java.util.Date/java.sql.Date and the Calendar. > > I'm surprised no one complained yet.
Ahem... I would complain had they not chosen to use Calendar. Calendar.getTime() makes conversion to a Date object easy, and Calendar is much more powerful. Date doesn't support TimeZones very well at all. Of course, there's more pain involved than there would have been in java.util.Date had been implemented RIGHT the first time, but that's a whole different ballgame. :-) > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com -- ======================================= Jess Sightler Senior Developer Exim Technologies 131 Falls Street Greenville SC 29601 Phone: 864-679-4651 =======================================