| Package | Description |
|---|---|
| com.holonplatform.core.i18n | |
| com.holonplatform.core.presentation | |
| com.holonplatform.core.property | |
| com.holonplatform.core.temporal |
| 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. |
| 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.getTemporalType(Temporal temporal)
Get temporal macro-type of given
temporal instance |
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.
|
Copyright © 2017 The Holon Platform. All rights reserved.