org.springframework.web.servlet.view.velocity
Class VelocityView.LocaleAwareDateTool

java.lang.Object
  extended by DateTool
      extended by org.springframework.web.servlet.view.velocity.VelocityView.LocaleAwareDateTool
Enclosing class:
VelocityView

private static class VelocityView.LocaleAwareDateTool
extends DateTool

Subclass of DateTool from Velocity Tools, using a passed-in Locale (usually the RequestContext Locale) instead of the default Locale.N

See Also:
RequestContextUtils.getLocale(HttpServletRequest)

Field Summary
private  java.util.Locale locale
           
 
Constructor Summary
private VelocityView.LocaleAwareDateTool(java.util.Locale locale)
           
 
Method Summary
 java.util.Locale getLocale()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locale

private final java.util.Locale locale
Constructor Detail

VelocityView.LocaleAwareDateTool

private VelocityView.LocaleAwareDateTool(java.util.Locale locale)
Method Detail

getLocale

public java.util.Locale getLocale()