public class TimeUnitAdapter
extends javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.concurrent.TimeUnit>
| Constructor and Description |
|---|
TimeUnitAdapter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
marshal(java.util.concurrent.TimeUnit t) |
java.util.concurrent.TimeUnit |
unmarshal(java.lang.String s) |
public java.util.concurrent.TimeUnit unmarshal(java.lang.String s)
throws java.lang.Exception
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.concurrent.TimeUnit>java.lang.Exceptionpublic java.lang.String marshal(java.util.concurrent.TimeUnit t)
throws java.lang.Exception
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<java.lang.String,java.util.concurrent.TimeUnit>java.lang.Exception