public final class DatatypeConverter extends Object
Constructor and Description |
---|
DatatypeConverter() |
Modifier and Type | Method and Description |
---|---|
static CurrencySymbolPosition |
parseCurrencySymbolPosition(String value)
Parse a currency symbol position from a string representation.
|
static LocalDate |
parseDate(String value)
Parse a date value.
|
static LocalDateTime |
parseDateTime(String value)
Parse a date time value.
|
static DayOfWeek |
parseDay(String value)
Parse a Day.
|
static Double |
parseDouble(String value)
Parse a double value.
|
static Integer |
parseInteger(String value)
Parse an integer value.
|
static Integer |
parseMinutesFromHours(String value)
Parse a duration in minutes form a number of hours.
|
static Double |
parsePercent(String value)
Parse a percentage value.
|
static Priority |
parsePriority(String value)
Parse a priority value.
|
static RelationType |
parseRelationType(String value)
Parse a relation type value.
|
static ResourceType |
parseResourceType(String value)
Parse a resource type value.
|
static TaskType |
parseTaskType(String value)
Parse a task type value.
|
static LocalTime |
parseTime(String value)
Parse a time value.
|
static TimeUnit |
parseTimeUnit(String value)
Parse a time unit value.
|
static String |
printCurrencySymbolPosition(CurrencySymbolPosition value)
Print a currency symbol position.
|
static String |
printDate(LocalDate value)
Print a date value.
|
static String |
printDateTime(LocalDateTime value)
Print a date time value.
|
static String |
printDay(DayOfWeek value)
Print a Day.
|
static String |
printDouble(Double value)
Print a double value.
|
static String |
printHoursFromMinutes(Integer value)
Print a duration in hours from a number of minutes.
|
static String |
printInteger(Integer value)
Print an integer value.
|
static String |
printPercent(Double value)
Print a percentage value.
|
static String |
printPriority(Priority value)
Print a priority value.
|
static String |
printRelationType(RelationType value)
Print a relation type value.
|
static String |
printResourceType(ResourceType value)
Print a resource type value.
|
static String |
printTaskType(TaskType value)
Print a task type value.
|
static String |
printTime(LocalTime value)
Print a time value.
|
static String |
printTimeUnit(TimeUnit value)
Print a time unit value.
|
public static final Integer parseInteger(String value)
value
- string representationpublic static final String printInteger(Integer value)
value
- integer valuepublic static final Double parseDouble(String value)
value
- String representation.public static final String printDouble(Double value)
value
- Double instancepublic static final Double parsePercent(String value)
value
- String representationpublic static final String printPercent(Double value)
value
- Double instancepublic static final Integer parseMinutesFromHours(String value)
value
- String representationpublic static final String printHoursFromMinutes(Integer value)
value
- String representationpublic static final CurrencySymbolPosition parseCurrencySymbolPosition(String value)
value
- String representationpublic static final String printCurrencySymbolPosition(CurrencySymbolPosition value)
value
- CurrencySymbolPosition instancepublic static final DayOfWeek parseDay(String value)
value
- String representationpublic static final String printDay(DayOfWeek value)
value
- Day instancepublic static final LocalTime parseTime(String value)
value
- String representationpublic static final String printTime(LocalTime value)
value
- Date instancepublic static final LocalDate parseDate(String value)
value
- String representationpublic static final String printDate(LocalDate value)
value
- Date instancepublic static final LocalDateTime parseDateTime(String value)
value
- String representationpublic static final String printDateTime(LocalDateTime value)
value
- Date instancepublic static final TimeUnit parseTimeUnit(String value)
value
- String representationpublic static final String printTimeUnit(TimeUnit value)
value
- TimeUnit instancepublic static final ResourceType parseResourceType(String value)
value
- String representationpublic static final String printResourceType(ResourceType value)
value
- ResourceType instancepublic static final Priority parsePriority(String value)
value
- String representationpublic static final String printPriority(Priority value)
value
- Priority instancepublic static final TaskType parseTaskType(String value)
value
- String representationpublic static final String printTaskType(TaskType value)
value
- TaskType instancepublic static final RelationType parseRelationType(String value)
value
- String representationpublic static final String printRelationType(RelationType value)
value
- RelationType instanceCopyright © 2000–2024 Packwood Software. All rights reserved.