| Package | Description |
|---|---|
| com.alkacon.geranium.client.util |
| Modifier and Type | Method and Description |
|---|---|
static DateTimeUtil.Format |
DateTimeUtil.Format.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeUtil.Format[] |
DateTimeUtil.Format.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
DateTimeUtil.getDate(java.util.Date date,
DateTimeUtil.Format format)
Returns a formated date String from a Date value,
the formatting based on the provided options.
|
java.lang.String |
Messages.getDate(java.util.Date date,
DateTimeUtil.Format format)
Returns a formated date String from a Date value,
the formatting based on the provided option and the locale
based on this instance.
|
static java.lang.String |
DateTimeUtil.getDateTime(java.util.Date date,
DateTimeUtil.Format format)
Returns a formated date and time String from a Date value,
the formatting based on the provided options.
|
java.lang.String |
Messages.getDateTime(java.util.Date date,
DateTimeUtil.Format format)
Returns a formated date and time String from a Date value,
the formatting based on the provided option and the locale
based on this instance.
|
static java.lang.String |
DateTimeUtil.getTime(java.util.Date date,
DateTimeUtil.Format format)
Returns a formated time String from a Date value,
the formatting based on the provided options.
|