public void writeInstance(XmlSerializer writer, Object obj) throws IOException { writer.text(IsoDate.dateToString((Date) obj, IsoDate.DATE_TIME)); }
@Override public void writeInstance(XmlSerializer xmlSerializer, Object o) throws IOException { xmlSerializer.text(IsoDate.dateToString((Date) o, 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); }
@Override public Object readInstance( XmlPullParser xmlPullParser, String s, String s1, PropertyInfo propertyInfo) throws IOException, XmlPullParserException { return IsoDate.stringToDate(xmlPullParser.nextText(), IsoDate.DATE_TIME); }