| |
|
| java.lang.Object org.openharmonise.rm.resources.metadata.properties.ranges.AbstractRange org.openharmonise.rm.resources.metadata.properties.ranges.DateRange
DateRange | public class DateRange extends AbstractRange implements Range,Publishable,Cloneable(Code) | | Class which represents a Property range which is
restricted to Date values.
author: Michael Bell version: $Revision: 1.2 $ |
DATETIME_FORMAT | final public static String DATETIME_FORMAT(Code) | | Date format used to save datetime restrictions to the database
|
DATE_FORMAT | final public static String DATE_FORMAT(Code) | | Date format used to save date restrictions to the database
|
TAG_DATE_RANGE | final public static String TAG_DATE_RANGE(Code) | | Date range tag name
|
DateRange | public DateRange()(Code) | | Constructs a new DateRange
|
DateRange | public DateRange(String sDetails)(Code) | | Constructs a DateRange with restrictions.
Parameters: sDetails - the String representation of the daterestrictions for this range |
getMax | public Date getMax()(Code) | | Returns the maximum limit for this range.
the maximum limit for this range |
getMin | public Date getMin()(Code) | | Returns the minimum limit for this range.
the minimum limit for this range |
hasMax | public boolean hasMax()(Code) | | Returns true if this range has a maximum limit.
true if this range has a maximum limit |
hasMin | public boolean hasMin()(Code) | | Returns true if this range has a minimum limit.
true if this range has a minimum limit |
includeTime | public void includeTime(boolean bIncludeTime)(Code) | | Sets whether the date represented by this range includes time.
Parameters: bIncludeTime - true if dates in this range include time |
includeTime | public boolean includeTime()(Code) | | Returns true if the dates in this range include time.
true if the dates in this range include time |
setMax | public void setMax(Date max)(Code) | | Sets maximum date for this range.
Parameters: max - the maximum date for this range |
setMin | public void setMin(Date min)(Code) | | Sets manimum date for this range.
Parameters: min - the manimum date for this range |
|
|
|