public final class DatatypeConverter extends Object
Constructor and Description |
---|
DatatypeConverter() |
Modifier and Type | Method and Description |
---|---|
static LocalDateTime |
parseDateTime(String value)
Convert the Phoenix representation of a date time into a Date instance.
|
static DayOfWeek |
parseDay(String value)
Convert the Phoenix representation of a day into a Day instance.
|
static Duration |
parseDuration(String value)
Convert the Phoenix representation of a duration into a Duration instance.
|
static LocalDateTime |
parseFinishDateTime(String value)
Convert the Phoenix representation of a finish date time into a Date instance.
|
static Integer |
parseInteger(String value)
Convert the Phoenix representation of an integer into a Java Integer instance.
|
static RelationType |
parseRelationType(String value)
Convert the Phoenix representation of a task relationship type into a RelationType instance.
|
static ResourceType |
parseResourceType(String value)
Convert the Phoenix representation of a resource type into a ResourceType instance.
|
static TimeUnit |
parseTimeUnits(String value)
Convert the Phoenix representation of a time unit into a TimeUnit instance.
|
static UUID |
parseUUID(String value)
Convert the Phoenix representation of a UUID into a Java UUID instance.
|
static String |
printDateTime(LocalDateTime value)
Retrieve a date time in the form required by Phoenix.
|
static String |
printDay(DayOfWeek value)
Retrieve a day in the form required by Phoenix.
|
static String |
printDuration(Duration duration)
Retrieve a duration in the form required by Phoenix.
|
static String |
printFinishDateTime(LocalDateTime value)
Retrieve a finish date time in the form required by Phoenix.
|
static String |
printInteger(Integer value)
Retrieve an integer in the form required by Phoenix.
|
static String |
printRelationType(RelationType type)
Retrieve a relation type in the form required by Phoenix.
|
static String |
printResourceType(ResourceType type)
Retrieve a resource type in the form required by Phoenix.
|
static String |
printTimeUnits(TimeUnit type)
Retrieve a time unit in the form required by Phoenix.
|
static String |
printUUID(UUID guid)
Retrieve a UUID in the form required by Phoenix.
|
public static final UUID parseUUID(String value)
value
- Phoenix UUIDpublic static String printUUID(UUID guid)
guid
- UUID instancepublic static final String printInteger(Integer value)
value
- integer valuepublic static final Integer parseInteger(String value)
value
- Phoenix integerpublic static final ResourceType parseResourceType(String value)
value
- Phoenix resource typepublic static final String printResourceType(ResourceType type)
type
- ResourceType instancepublic static final RelationType parseRelationType(String value)
value
- Phoenix relationship typepublic static final String printRelationType(RelationType type)
type
- RelationType instancepublic static final TimeUnit parseTimeUnits(String value)
value
- Phoenix time unitpublic static final String printTimeUnits(TimeUnit type)
type
- TimeUnit instancepublic static final String printDateTime(LocalDateTime value)
value
- Date instancepublic static final LocalDateTime parseDateTime(String value)
value
- Phoenix date timepublic static final Duration parseDuration(String value)
value
- Phoenix durationpublic static final String printDuration(Duration duration)
duration
- Duration instancepublic static final DayOfWeek parseDay(String value)
value
- Phoenix daypublic static final String printFinishDateTime(LocalDateTime value)
value
- Date instancepublic static final LocalDateTime parseFinishDateTime(String value)
value
- Phoenix date timeCopyright © 2000–2024 Packwood Software. All rights reserved.