org.exoplatform.services.wcm.search
Class QueryCriteria.DatetimeRange

java.lang.Object
  extended by org.exoplatform.services.wcm.search.QueryCriteria.DatetimeRange
Enclosing class:
QueryCriteria

public static class QueryCriteria.DatetimeRange
extends java.lang.Object

The Class DatetimeRange.


Constructor Summary
QueryCriteria.DatetimeRange(java.util.Calendar fromDate, java.util.Calendar toDate)
          Instantiates a new datetime range.
 
Method Summary
 java.util.Calendar getFromDate()
          Gets the from date.
 java.util.Calendar getToDate()
          Gets the to date.
 void setFromDate(java.util.Calendar fromDate)
          Sets the from date.
 void setToDate(java.util.Calendar toDate)
          Sets the to date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryCriteria.DatetimeRange

public QueryCriteria.DatetimeRange(java.util.Calendar fromDate,
                                   java.util.Calendar toDate)
Instantiates a new datetime range.

Parameters:
fromDate - the from date
toDate - the to date
Method Detail

getFromDate

public java.util.Calendar getFromDate()
Gets the from date.

Returns:
the from date

setFromDate

public void setFromDate(java.util.Calendar fromDate)
Sets the from date.

Parameters:
fromDate - the new from date

getToDate

public java.util.Calendar getToDate()
Gets the to date.

Returns:
the to date

setToDate

public void setToDate(java.util.Calendar toDate)
Sets the to date.

Parameters:
toDate - the new to date


Copyright © 2010 eXo Platform SAS. All Rights Reserved.