Skip to main content
A newer version of this page is available.

DateTimeRange Class

The DateTimeAxisX axis’s range settings’ storage.

Declaration

public class DateTimeRange
extends RangeBase

Inherited Members

java.lang.Object.equals(java.lang.Object)(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)(long)
java.lang.Object.wait(long, int)(long,int)

Inheritance

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

Name Type Description
min Date

The data range’s start value.

max Date

The data range’s end value.

Methods

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.

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.

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.

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.

setMax(Date) Method

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

Declaration

public void setMax(Date value)

Parameters

Name Type Description
value Date

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

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

setMin(Date) Method

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

Declaration

public void setMin(Date value)

Parameters

Name Type Description
value Date

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

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

setVisualMax(Date) Method

Specifies the end value of the range that is displayed.

Declaration

public void setVisualMax(Date value)

Parameters

Name Type Description
value 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.

setVisualMin(Date) Method

Specifies the start value of the range that is displayed.

Declaration

public void setVisualMin(Date value)

Parameters

Name Type Description
value Date

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

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