org.blojsom.plugin.statistics
Class DaysSincePostedPlugin.DaysSincePostedHelper

java.lang.Object
  extended byorg.blojsom.plugin.statistics.DaysSincePostedPlugin.DaysSincePostedHelper
Enclosing class:
DaysSincePostedPlugin

public class DaysSincePostedPlugin.DaysSincePostedHelper
extends java.lang.Object

Class to handle days since posted calculation in templates


Constructor Summary
DaysSincePostedPlugin.DaysSincePostedHelper()
           
 
Method Summary
 java.lang.Integer daysSincePosted(java.util.Date date)
          Determine number of days between current date and date passed to the method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaysSincePostedPlugin.DaysSincePostedHelper

public DaysSincePostedPlugin.DaysSincePostedHelper()
Method Detail

daysSincePosted

public java.lang.Integer daysSincePosted(java.util.Date date)
Determine number of days between current date and date passed to the method

Parameters:
date - Date
Returns:
Number of days between dates