Class DateRange
Defines a range of type Date.
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class DateRange extends RangeBase<Date>
Constructors
DateRange()
Initializes a new instance of DateRange.
Declaration
public DateRange()
DateRange(RangeBase<Date> range)
Initializes a new instance of DateRange.
Declaration
public DateRange(RangeBase<Date> range)
Parameters
| Type | Name | Description |
|---|---|---|
| RangeBase<Date> | range | The DateRange instance to initialize new range with. |
DateRange(Date min, Date max)
Initializes a new instance of DateRange.
Declaration
public DateRange(Date min, Date max)
Parameters
| Type | Name | Description |
|---|---|---|
| Date | min | The min value to initialize range with. |
| Date | max | The max value to initialize range with. |
Methods
clone()
Creates and returns a copy of this object
Declaration
public IRange<Date> clone()
Returns
| Type | Description |
|---|---|
| IRange<Date> |
Overrides
Exceptions
| Type | Condition |
|---|---|
| CloneNotSupportedException |
getMaxAsDouble()
Declaration
public double getMaxAsDouble()
Returns
| Type | Description |
|---|---|
| double |
getMinAsDouble()
Declaration
public double getMinAsDouble()
Returns
| Type | Description |
|---|---|
| double |
getValueType()
Declaration
public Class<Date> getValueType()
Returns
| Type | Description |
|---|---|
| Class<Date> |
growBy(double minFraction, double maxFraction)
Declaration
public void growBy(double minFraction, double maxFraction)
Parameters
| Type | Name | Description |
|---|---|---|
| double | minFraction | |
| double | maxFraction |