com.atlassian.jira.jql.util
Class DateRange
java.lang.Object
com.atlassian.jira.jql.util.DateRange
public final class DateRange
- extends Object
A simple class to represent a date range
- Since:
- v4.4
Constructor Summary |
DateRange(Date lowerDate,
Date upperDate)
The passed in dates can never be null and if the lower is higher than the upper then they are swapped into lower
then upper order. |
DateRange
public DateRange(Date lowerDate,
Date upperDate)
- The passed in dates can never be null and if the lower is higher than the upper then they are swapped into lower
then upper order.
- Parameters:
lowerDate
- the lower date of the rangeupperDate
- the upper date of the range
getLowerDate
public Date getLowerDate()
- Returns:
- the lower of the dates in the date range
getUpperDate
public Date getUpperDate()
- Returns:
- the lower of the dates in the date range
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2002-2012 Atlassian. All Rights Reserved.