public final class TimestampFormatTrait extends StringTrait
| Modifier and Type | Class and Description |
|---|---|
static class |
TimestampFormatTrait.Format
The known
timestampFormat values. |
static class |
TimestampFormatTrait.Provider |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DATE_TIME |
static java.lang.String |
EPOCH_SECONDS |
static java.lang.String |
HTTP_DATE |
static ShapeId |
ID |
| Constructor and Description |
|---|
TimestampFormatTrait(java.lang.String value) |
TimestampFormatTrait(java.lang.String value,
SourceLocation sourceLocation) |
| Modifier and Type | Method and Description |
|---|---|
TimestampFormatTrait.Format |
getFormat()
Gets the
timestampFormat value as a Format enum. |
createNode, getValueequals, getSourceLocation, hashCode, setNodeCache, toNode, toShapeId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitflatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteNamepublic static final java.lang.String EPOCH_SECONDS
public static final java.lang.String DATE_TIME
public static final java.lang.String HTTP_DATE
public static final ShapeId ID
public TimestampFormatTrait(java.lang.String value,
SourceLocation sourceLocation)
public TimestampFormatTrait(java.lang.String value)
public TimestampFormatTrait.Format getFormat()
timestampFormat value as a Format enum.Format enum.