public JavaQName getRuntimeType(SimpleTypeSG pController) { return CALENDAR_TYPE; }
public TypedValue getCastFromString(SimpleTypeSG pController, String pValue)
throws SAXException {
try {
Calendar calendar = new DatatypeConverterImpl().parseDate(pValue);
return new TypedValueImpl(
new Object[] { "new java.util.GregorianCalendar("
+ calendar.get(Calendar.YEAR) + ","
+ calendar.get(Calendar.MONTH) + ","
+ calendar.get(Calendar.DAY_OF_MONTH) + ")" },