public class YearMonthXmlAdapter extends XmlAdapter<String,YearMonth>
XmlAdapter mapping JSR-310 YearMonth to a string such as 2007-12
String format details:
XmlAdapter,
YearMonth| Constructor and Description |
|---|
YearMonthXmlAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(YearMonth value) |
YearMonth |
unmarshal(String stringValue) |
Copyright © 2015. All rights reserved.