Jsp-jstl-format-parsedate-tag
提供:Dev Guides
JSTL-コア<fmt:parseDate>タグ
属性
Attribute | Description | Required | Default |
---|---|---|---|
Value | Date value to read (parse) | No | Body |
type | DATE, TIME, or BOTH | No | date |
dateStyle | FULL, LONG, MEDIUM, SHORT, or DEFAULT | No | Default |
timeStyle | FULL, LONG, MEDIUM, SHORT, or DEFAULT | No | Default |
parseLocale | Locale to use when parsing the date | No | Default locale |
pattern | Custom parsing pattern | No | None |
timeZone | Time zone of the parsed date | No | Default time zone |
var | Name of the variable to store the parsed date | No | Print to page |
scope | Scope of the variable to store the formatted date | No | page |
例
上記のコードは、次の結果を生成します-