public class StringIntervalAdapter extends XmlAdapter<String,org.joda.time.Duration>
| Modifier and Type | Field and Description |
|---|---|
static org.joda.time.format.PeriodFormatter |
DEFAULT_PERIOD_FORMATTER
Constant
DEFAULT_PERIOD_FORMATTER |
| Constructor and Description |
|---|
StringIntervalAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
marshal(org.joda.time.Duration v) |
org.joda.time.Duration |
unmarshal(String v) |
public static final org.joda.time.format.PeriodFormatter DEFAULT_PERIOD_FORMATTER
DEFAULT_PERIOD_FORMATTERpublic String marshal(org.joda.time.Duration v)
marshal in class XmlAdapter<String,org.joda.time.Duration>public org.joda.time.Duration unmarshal(String v)
unmarshal in class XmlAdapter<String,org.joda.time.Duration>Copyright © 2020. All rights reserved.