|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.velocity.tools.generic.SafeConfig
org.apache.velocity.tools.generic.LocaleConfig
org.apache.velocity.tools.generic.FormatConfig
org.apache.velocity.tools.generic.DateTool
org.springframework.web.servlet.view.velocity.VelocityView.LocaleAwareDateTool
private static class VelocityView.LocaleAwareDateTool
Subclass of DateTool from Velocity Tools, using a passed-in Locale (usually the RequestContext Locale) instead of the default Locale.N
RequestContextUtils.getLocale(javax.servlet.http.HttpServletRequest)| Field Summary | |
|---|---|
private java.util.Locale |
locale
|
| Fields inherited from class org.apache.velocity.tools.generic.DateTool |
|---|
DEFAULT_FORMAT_KEY, DEFAULT_LOCALE_KEY, TIMEZONE_KEY |
| Fields inherited from class org.apache.velocity.tools.generic.FormatConfig |
|---|
DEFAULT_FORMAT, FORMAT_KEY |
| Fields inherited from class org.apache.velocity.tools.generic.LocaleConfig |
|---|
DEFAULT_LOCALE |
| Fields inherited from class org.apache.velocity.tools.generic.SafeConfig |
|---|
LOCK_CONFIG_KEY, OLD_LOCK_CONFIG_KEY, SAFE_MODE_KEY |
| Constructor Summary | |
|---|---|
private |
VelocityView.LocaleAwareDateTool(java.util.Locale locale)
|
| Method Summary | |
|---|---|
java.util.Locale |
getLocale()
|
| Methods inherited from class org.apache.velocity.tools.generic.DateTool |
|---|
configure, format, format, format, format, format, format, format, get, get, getCalendar, getDate, getDateFormat, getDateFormat, getDateFormat, getDay, getDay, getMonth, getMonth, getStyleAsInt, getSystemCalendar, getSystemDate, getSystemTime, getTimeZone, getValue, getValue, getValue, getYear, getYear, setTimeZone, toCalendar, toCalendar, toDate, toDate, toDate, toDate, toString |
| Methods inherited from class org.apache.velocity.tools.generic.FormatConfig |
|---|
getFormat, setFormat |
| Methods inherited from class org.apache.velocity.tools.generic.LocaleConfig |
|---|
setLocale |
| Methods inherited from class org.apache.velocity.tools.generic.SafeConfig |
|---|
configure, isConfigLocked, isSafeMode, setLockConfig, setSafeMode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final java.util.Locale locale
| Constructor Detail |
|---|
private VelocityView.LocaleAwareDateTool(java.util.Locale locale)
| Method Detail |
|---|
public java.util.Locale getLocale()
getLocale in class org.apache.velocity.tools.generic.LocaleConfig
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||