|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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, DEFAULT_FORMAT_KEY, DEFAULT_LOCALE_KEY, LOCK_CONFIG_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, configure, format, format, format, format, format, format, format, get, get, getCalendar, getDate, getDateFormat, getDateFormat, getDateFormat, getDay, getDay, getFormat, getMonth, getMonth, getStyleAsInt, getSystemCalendar, getSystemDate, getSystemTime, getTimeZone, getValue, getValue, getValue, getYear, getYear, setFormat, setLocale, toCalendar, toCalendar, toDate, toDate, toDate, toDate, toString |
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.DateTool
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |