public class YearAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Integer,java.time.Year>
| Constructor and Description |
|---|
YearAdapter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
marshal(java.time.Year v)
Deprecated.
|
java.time.Year |
unmarshal(java.lang.Integer v)
Deprecated.
|
public java.time.Year unmarshal(java.lang.Integer v)
throws java.lang.Exception
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Integer,java.time.Year>java.lang.Exceptionpublic java.lang.Integer marshal(java.time.Year v)
throws java.lang.Exception
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.Integer,java.time.Year>java.lang.Exception