Uses of Class
org.apache.velocity.tools.generic.ComparisonDateTool.Comparison

Packages that use ComparisonDateTool.Comparison
org.apache.velocity.tools.generic Contains a collection of reusable, general-purpose "tools" for Velocity. 
 

Uses of ComparisonDateTool.Comparison in org.apache.velocity.tools.generic
 

Methods in org.apache.velocity.tools.generic that return ComparisonDateTool.Comparison
 ComparisonDateTool.Comparison ComparisonDateTool.Comparison.abbr(boolean abbr)
          Sets whether or not this comparison is to be rendered in abbreviated form or not.
protected  ComparisonDateTool.Comparison ComparisonDateTool.compare(java.lang.Object now, java.lang.Object then, int type)
           
 ComparisonDateTool.Comparison ComparisonDateTool.Comparison.depth(int depth)
          Set the maximum number of units to render for this comparison.
 ComparisonDateTool.Comparison ComparisonDateTool.difference(java.lang.Object now, java.lang.Object then)
          Returns a ComparisonDateTool.Comparison between the result of the second specified date and the first specified date.
 ComparisonDateTool.Comparison ComparisonDateTool.Comparison.getAbbr()
          This is equivalent to calling abbr(boolean abbr) with true as the argument, thus setting this comparison to be rendered in abbreviated form.
 ComparisonDateTool.Comparison ComparisonDateTool.Comparison.getDifference()
          Sets this comparison to be rendered as a ComparisonDateTool.difference(java.lang.Object, java.lang.Object).
 ComparisonDateTool.Comparison ComparisonDateTool.Comparison.getFull()
          Sets the depth(int depth) to which this comparison is rendered to the maximum number of time units available to the tool.
 ComparisonDateTool.Comparison ComparisonDateTool.Comparison.getRelative()
          Sets this comparison to be rendered as if it where generated using the ComparisonDateTool.whenIs(Object now, Object then) method.
 ComparisonDateTool.Comparison ComparisonDateTool.Comparison.locale(java.util.Locale loc)
          Sets the locale used to look up the textual portions of the rendering.
 ComparisonDateTool.Comparison ComparisonDateTool.whenIs(java.lang.Object then)
          Returns a ComparisonDateTool.Comparison between the result of DateTool.getCalendar() and the specified date.
 ComparisonDateTool.Comparison ComparisonDateTool.whenIs(java.lang.Object now, java.lang.Object then)
          Returns a ComparisonDateTool.Comparison between the second specified date and the first specified date.
 



Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.