程序包 | 说明 |
---|---|
org.opencms.gwt.client.util |
Utility classes for GWT.
|
限定符和类型 | 方法和说明 |
---|---|
static CmsDateTimeUtil.Format |
CmsDateTimeUtil.Format.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static CmsDateTimeUtil.Format[] |
CmsDateTimeUtil.Format.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
CmsDateTimeUtil.getDate(java.util.Date date,
CmsDateTimeUtil.Format format)
Returns a formated date String from a Date value,
the formatting based on the provided options.
|
java.lang.String |
CmsMessages.getDate(java.util.Date date,
CmsDateTimeUtil.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 |
CmsDateTimeUtil.getDateTime(java.util.Date date,
CmsDateTimeUtil.Format format)
Returns a formated date and time String from a Date value,
the formatting based on the provided options.
|
java.lang.String |
CmsMessages.getDateTime(java.util.Date date,
CmsDateTimeUtil.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 |
CmsDateTimeUtil.getTime(java.util.Date date,
CmsDateTimeUtil.Format format)
Returns a formated time String from a Date value,
the formatting based on the provided options.
|