| Package | Description |
|---|---|
| com.holonplatform.core | |
| com.holonplatform.core.i18n | |
| com.holonplatform.core.presentation | |
| com.holonplatform.core.property | |
| com.holonplatform.core.temporal |
| Modifier and Type | Method and Description |
|---|---|
default Optional<TemporalType> |
TypedExpression.getTemporalType()
If the expression type represents a temporal type, get the actual
TemporalType of the type. |
| Modifier and Type | Method and Description |
|---|---|
default String |
LocalizationContext.format(Date date,
TemporalType type)
Format given
date according to current Context Locale using default format styles. |
String |
LocalizationContext.format(Date date,
TemporalType type,
TemporalFormat dateFormat,
TemporalFormat timeFormat)
Format given
date according to current Context Locale. |
default DateFormat |
LocalizationContext.getDateFormat(TemporalType type)
Get a
DateFormat for Date formatting and set it up according to context Locale and
Localization settings, using default format styles. |
DateFormat |
LocalizationContext.getDateFormat(TemporalType type,
TemporalFormat dateFormat,
TemporalFormat timeFormat)
Get a
DateFormat for Date formatting and set it up according to context Locale and
Localization settings. |
default DateTimeFormatter |
LocalizationContext.getDateTimeFormatter(TemporalType type)
Get a
DateTimeFormatter for javax.time.* types formatting and set it up according to context
Locale and Localization settings, using default format styles. |
DateTimeFormatter |
LocalizationContext.getDateTimeFormatter(TemporalType type,
TemporalFormat dateFormat,
TemporalFormat timeFormat)
Get a
DateTimeFormatter for javax.time.* types formatting and set it up according to context
Locale and Localization settings. |
| Modifier and Type | Field and Description |
|---|---|
static ConfigProperty<TemporalType> |
StringValuePresenter.TEMPORAL_TYPE
|
| Modifier and Type | Method and Description |
|---|---|
Optional<TemporalType> |
PropertyConfiguration.getTemporalType()
Get the optional
TemporalType specification for Date or Calendar type properties, which
can be used to perform consistent operations on property value, such as presentation, rendering or persistence
data manipulation. |
default Optional<TemporalType> |
Property.getTemporalType() |
| Modifier and Type | Method and Description |
|---|---|
void |
PropertyConfiguration.PropertyConfigurationEditor.setTemporalType(TemporalType temporalType)
|
B |
Property.Builder.temporalType(TemporalType temporalType)
Set the optional
TemporalType specification for Date or Calendar type properties,
which can be used to perform consistent operations on property value, such as presentation, rendering or
persistence data manipulation. |
| Modifier and Type | Method and Description |
|---|---|
static TemporalType |
TemporalType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TemporalType[] |
TemporalType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<TemporalType> |
TemporalType.getTemporalType(Class<?> type)
Get the temporal macro-type of given
type, if it is well-known temporal type. |
static Optional<TemporalType> |
TemporalType.getTemporalType(Temporal temporal)
Get the temporal macro-type of given
temporal instance, if available. |
Copyright © 2019 The Holon Platform. All rights reserved.