public void writeInstance(XmlSerializer writer, Object obj) throws IOException { writer.text(IsoDate.dateToString((Date) obj, IsoDate.DATE_TIME)); }
public Object readInstance( XmlPullParser parser, String namespace, String name, PropertyInfo expected) throws IOException, XmlPullParserException { return IsoDate.stringToDate(parser.nextText(), IsoDate.DATE_TIME); }