com.mizar.faces.javax.components
Class DateFilter

java.lang.Object
  extended by com.mizar.faces.javax.components.DateFilter

public class DateFilter
extends java.lang.Object


Field Summary
protected static java.lang.String ALL
           
protected static java.lang.String LAST_30_DAYS
           
protected static java.lang.String LAST_6_MONTHS
           
protected static java.lang.String LAST_7_DAYS
           
protected static java.lang.String MONTH_TO_DATE
           
protected static java.lang.String PREVIOUS_MONTH
           
protected static java.lang.String SET_CUSTOM_DATES
           
protected static java.lang.String TODAY
           
protected static java.lang.String YEAR_TO_DATE
           
protected static java.lang.String YESTERDAY
           
 
Constructor Summary
DateFilter()
           
 
Method Summary
 java.util.Date getCurrentRefDate()
           
 java.lang.String getCurrentTimePeriod()
           
 long getDaysBetween()
           
 java.util.Date getEarliestDate()
           
 java.util.Date getFromDate()
           
 java.util.Date getLatestDate()
           
 java.util.List getTimePeriodList()
           
 java.util.Date getToDate()
           
 void setCurrentRefDate(java.util.Date currentRefDate)
           
 void setCurrentTimePeriod(java.lang.String currentTimePeriod)
           
 void setEarliestDate(java.util.Date earliestDate)
           
 void setFromDate(java.util.Date fromDate)
           
 void setLatestDate(java.util.Date latestDate)
           
 void setTimePeriodList(java.util.List tpl)
           
 void setToDate(java.util.Date toDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

protected static final java.lang.String ALL
See Also:
Constant Field Values

TODAY

protected static final java.lang.String TODAY
See Also:
Constant Field Values

YESTERDAY

protected static final java.lang.String YESTERDAY
See Also:
Constant Field Values

LAST_7_DAYS

protected static final java.lang.String LAST_7_DAYS
See Also:
Constant Field Values

LAST_30_DAYS

protected static final java.lang.String LAST_30_DAYS
See Also:
Constant Field Values

LAST_6_MONTHS

protected static final java.lang.String LAST_6_MONTHS
See Also:
Constant Field Values

MONTH_TO_DATE

protected static final java.lang.String MONTH_TO_DATE
See Also:
Constant Field Values

PREVIOUS_MONTH

protected static final java.lang.String PREVIOUS_MONTH
See Also:
Constant Field Values

YEAR_TO_DATE

protected static final java.lang.String YEAR_TO_DATE
See Also:
Constant Field Values

SET_CUSTOM_DATES

protected static final java.lang.String SET_CUSTOM_DATES
See Also:
Constant Field Values
Constructor Detail

DateFilter

public DateFilter()
Method Detail

setTimePeriodList

public void setTimePeriodList(java.util.List tpl)

setCurrentTimePeriod

public void setCurrentTimePeriod(java.lang.String currentTimePeriod)

getTimePeriodList

public java.util.List getTimePeriodList()

getCurrentTimePeriod

public java.lang.String getCurrentTimePeriod()

setToDate

public void setToDate(java.util.Date toDate)

getToDate

public java.util.Date getToDate()

setFromDate

public void setFromDate(java.util.Date fromDate)

getFromDate

public java.util.Date getFromDate()

setCurrentRefDate

public void setCurrentRefDate(java.util.Date currentRefDate)

getCurrentRefDate

public java.util.Date getCurrentRefDate()

setEarliestDate

public void setEarliestDate(java.util.Date earliestDate)

getEarliestDate

public java.util.Date getEarliestDate()

setLatestDate

public void setLatestDate(java.util.Date latestDate)

getLatestDate

public java.util.Date getLatestDate()

getDaysBetween

public long getDaysBetween()