public abstract class XmlTimeFormat<T> extends java.lang.Object implements XmlFormat<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
XmlTimeFormat.UInt32TimeFormat |
static class |
XmlTimeFormat.UInt64TimeFormat |
| Modifier | Constructor and Description |
|---|---|
protected |
XmlTimeFormat(com.cinnober.msgcodec.TypeDef.Time type) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
convertFromLong(long timeValue) |
protected abstract long |
convertToLong(T value) |
java.lang.String |
format(T value) |
T |
parse(java.lang.String str) |
protected abstract long convertToLong(T value)
protected abstract T convertFromLong(long timeValue)
public java.lang.String format(T value) throws FormatException
format in interface XmlFormat<T>FormatExceptionpublic T parse(java.lang.String str) throws FormatException
parse in interface XmlFormat<T>FormatException