Date date = value instanceof Date ? (Date) value :
((Calendar) value).getTime();
// Serialize including convert to GMT
synchronized (zulu) {
// Sun JDK bug http://developer.java.sun.com/developer/bugParade/bugs/4229798.html
return zulu.format(date);
}
Return XML schema for the specified type, suitable for insertion into
the <types> element of a WSDL document, or underneath an
<element> or <attribute> declaration.
param
javaType the Java Class we're writing out schema for
param
types the Java2WSDL Types object which holds the context
for the WSDL being generated.
return
a type element containing a schema simpleType/complexType