Java Utililty Methods Date XML Format

List of utility methods to do Date XML Format

Description

The list of methods to do Date XML Format are organized into topic(s).

Method

StringxmlSerialize(Date date)
xml Serialize
if (date == null) {
    return null;
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ");
sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
return sdf.format((Date) date);