Skip to main content

DateTimeSeriesData Interface

The interface which a class that provides data points with date-time arguments should implement.

Declaration

public interface DateTimeSeriesData
extends XYSeriesData

Implements

Methods

getArgument(int) Method

Returns the data point’s argument at the specified index.

Declaration

public Date getArgument(int index)

Parameters

Name Type Description
index int

The data point’s index.

Returns

Type Description
Date

The Date object specifying a data point’s argument.

getDataCount() Method

Declaration

public int getDataCount()

Returns

Type
int

getValue(int) Method

Returns the data point’s value at the specified index.

Declaration

public double getValue(int index)

Parameters

Name Type Description
index int

The data point’s index.

Returns

Type Description
double

The data point’s value.