public void writeInstance(XmlSerializer writer, Object obj) throws IOException { writer.text(IsoDate.dateToString((Date) obj, IsoDate.DATE_TIME)); }