Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
buildAbsoluteNode(long timestamp)
Builds an interval node for an absolute interval using this unit and the
given timestamp.
|
String |
getUnitNodeName()
Returns the node name, i.e.
|
String |
name()
Returns this unit's internal name.
|
Calendar |
parseAbsolute(com.fasterxml.jackson.databind.JsonNode node)
Parses an absolute date/time into a calendar.
|
String name()
Enum.name()
since implementing classes are meant to be
enum.com.fasterxml.jackson.databind.JsonNode buildAbsoluteNode(long timestamp)
timestamp
- timestamp to turn into an interval nodeCalendar parseAbsolute(com.fasterxml.jackson.databind.JsonNode node)
node
- interval node to parseString getUnitNodeName()
Copyright © 2014. All rights reserved.