Package org.opennms.netmgt.config.users
Class TimeZoneIdAdapter
- java.lang.Object
-
- javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.ZoneId>
-
- org.opennms.netmgt.config.users.TimeZoneIdAdapter
-
public class TimeZoneIdAdapter extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.ZoneId>
-
-
Constructor Summary
Constructors Constructor Description TimeZoneIdAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
marshal(java.time.ZoneId value)
java.time.ZoneId
unmarshal(java.lang.String value)
-
-
-
Method Detail
-
marshal
public java.lang.String marshal(java.time.ZoneId value)
- Specified by:
marshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.ZoneId>
-
unmarshal
public java.time.ZoneId unmarshal(java.lang.String value)
- Specified by:
unmarshal
in classjavax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.time.ZoneId>
-
-