DateTimeRange Class

The DateTimeAxisX axis's range settings' storage.

Declaration

public class DateTimeRange
extends RangeBase

Inheritance

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)

Constructors

DateTimeRange() Constructor

Initializes a new DateTimeRange class instance with default parameters.

Declaration

public DateTimeRange()

DateTimeRange(Date, Date) Constructor

Initializes a new DateTimeRange class instance with the specified parameters.

Declaration

public DateTimeRange(Date min, Date max)

Parameters

Type Name Description
Date min

The data range's start value.

Date max

The data range's end value.

Methods

DateTimeRange.getMax() Method

Returns the end value of the data range that a chart can visualize.

Declaration

public Date getMax()

Returns

Type Description
Date

The Date object that is the range's end value.

Note that data that is outside the [min, max] range is never visualized.

DateTimeRange.getMin() Method

Returns the start value of the data range that a chart can visualize.

Declaration

public Date getMin()

Returns

Type Description
Date

The Date object that is the range's start value.

Note that data that is outside the [min, max] range is never visualized.

DateTimeRange.getVisualMax() Method

Returns the end value of the range that is displayed.

Declaration

public Date getVisualMax()

Returns

Type Description
Date

The Date object that is the end value of the on-screen range.

Note that this value should be within the [min, max] range.

DateTimeRange.getVisualMin() Method

Returns the start value of the range that is displayed.

Declaration

public Date getVisualMin()

Returns

Type Description
Date

The Date object that is the start value of the on-screen range.

Note that this value should be within the [min, max] range.

DateTimeRange.setMax(Date) Method

Specifies the end value of a data range that a chart can visualize.

Declaration

public void setMax(Date value)

Parameters

Type Name Description
Date value

The Date object that is the range's end value.

Note that data that is outside the [min, max] range is never visualized.

DateTimeRange.setMin(Date) Method

Specifies the start value of the data range that a chart can visualize.

Declaration

public void setMin(Date value)

Parameters

Type Name Description
Date value

The Date object that is the range's start value.

Note that data that is outside the [min, max] range is never visualized.

DateTimeRange.setVisualMax(Date) Method

Specifies the end value of the range that is displayed.

Declaration

public void setVisualMax(Date value)

Parameters

Type Name Description
Date value

The Date object that is the end value of the on-screen range.

Note that this value should be within the [min, max] range.

DateTimeRange.setVisualMin(Date) Method

Specifies the start value of the range that is displayed.

Declaration

public void setVisualMin(Date value)

Parameters

Type Name Description
Date value

The Date object that is the start value of the on-screen range.

Note that this value should be within a [min, max] range.