4.2.1 Simple Types (java.util.Date)

From: ow <oneway_111_at_YAHOO.COM>
Date: Fri, 30 May 2003 14:18:44 -0600


Somehow it is not clear to me why xsd:dateTime is mapped to java.util.Calendar instead of java.util.Date.

Why force people who do not need the functionality of Calendar to go through conversion from java.util.Date (say, 5000 records for every call)? People who want to use Calendar will also have to go through conversion since, e.g., they can't store Calendar in the database and the rest of JDK expects Date all over the place, not Calendar.

Sounds like a very strange design choice to me.