Uses of Class org.jfree.data.time.RegularTimePeriod

Uses in package org.jfree.data.time.ohlc

Constructors with parameter type org.jfree.data.time.RegularTimePeriod

OHLCItem.OHLCItem(RegularTimePeriod period, double open, double high, double low, double close)
Creates a new instance of OHLCItem.

Methods with parameter type org.jfree.data.time.RegularTimePeriod

void
OHLCSeries.add(RegularTimePeriod period, double open, double high, double low, double close)
Adds a data item to the series.
long
Returns the x-value for a time period.

Methods with return type org.jfree.data.time.RegularTimePeriod

RegularTimePeriod
Returns the period.
RegularTimePeriod
OHLCSeries.getPeriod(int index)
Returns the time period for the specified item.

Uses in package org.jfree.data.time

Classes derived from org.jfree.data.time.RegularTimePeriod

class
Represents a single day in the range 1-Jan-1900 to 31-Dec-9999.
class
Wrapper for a java.util.Date object that allows it to be used as a RegularTimePeriod.
class
Represents an hour in a specific day.
class
Represents a millisecond.
class
Represents a minute.
class
Represents a single month.
class
Defines a quarter (in a given year).
class
Represents a second in a particular day.
class
A calendar week.
class
Represents a year in the range 1900 to 9999.

Constructors with parameter type org.jfree.data.time.RegularTimePeriod

Creates a new dataset.
DynamicTimeSeriesCollection.DynamicTimeSeriesCollection(int nSeries, int nMoments, RegularTimePeriod timeSample, TimeZone zone)
Creates a new dataset.
Constructs a new data item that associates a value with a time period.
Constructs a new data item that associates a value with a time period.

Fields of type org.jfree.data.time.RegularTimePeriod

RegularTimePeriod[]
Storage for the x-values.

Methods with parameter type org.jfree.data.time.RegularTimePeriod

void
TimeSeries.add(RegularTimePeriod period, Number value)
Adds a new data item to the series and sends a SeriesChangeEvent to all registered listeners.
void
TimeSeries.add(RegularTimePeriod period, Number value, boolean notify)
Adds a new data item to the series and sends a SeriesChangeEvent to all registered listeners.
void
TimeSeries.add(RegularTimePeriod period, double value)
Adds a new data item to the series and sends a SeriesChangeEvent to all registered listeners.
void
TimeSeries.add(RegularTimePeriod period, double value, boolean notify)
Adds a new data item to the series and sends a SeriesChangeEvent to all registered listeners.
TimeSeriesDataItem
TimeSeries.addOrUpdate(RegularTimePeriod period, Number value)
Adds or updates an item in the times series and sends a SeriesChangeEvent to all registered listeners.
TimeSeriesDataItem
TimeSeries.addOrUpdate(RegularTimePeriod period, double value)
Adds or updates an item in the times series and sends a SeriesChangeEvent to all registered listeners.
TimeSeries
Creates a new timeseries by copying a subset of the data in this time series.
void
Deletes the data item for the given time period and sends a SeriesChangeEvent to all registered listeners.
TimeSeriesDataItem
Returns the data item for a specific period.
int
Returns the index for the item (if any) that corresponds to a time period.
Number
Returns the value for a time period.
long
Returns the x-value for a time period.
long
Fill the pointsInTime with times using TimePeriod.next(): Will silently return if the time array was already populated.
void
TimeSeries.update(RegularTimePeriod period, Number value)
Updates (changes) the value for a time period.

Methods with return type org.jfree.data.time.RegularTimePeriod

RegularTimePeriod
Adjust the array offset as needed when a new time-period is added: Increments the indices "oldestAt" and "newestAt", mod(array length), zeroes the series values at newestAt, returns the new TimePeriod.
RegularTimePeriod
RegularTimePeriod.createInstance(Class c, Date millisecond, TimeZone zone)
Creates a time period that includes the specified millisecond, assuming the given time zone.
RegularTimePeriod
Returns the newest time.
RegularTimePeriod
Returns a time period that would be the next in sequence on the end of the time series.
RegularTimePeriod
Returns the oldest time.
RegularTimePeriod
Returns the time period.
RegularTimePeriod
Returns the time period at the specified index.
RegularTimePeriod
Returns the day following this one, or null if some limit has been reached.
RegularTimePeriod
Returns the millisecond following this one.
RegularTimePeriod
Returns the hour following this one.
RegularTimePeriod
Returns the millisecond following this one.
RegularTimePeriod
Returns the minute following this one.
RegularTimePeriod
Returns the month following this one.
RegularTimePeriod
Returns the quarter following this one.
RegularTimePeriod
Returns the time period following this one, or null if some limit has been reached.
RegularTimePeriod
Returns the second following this one.
RegularTimePeriod
Returns the week following this one.
RegularTimePeriod
Returns the year following this one.
RegularTimePeriod
Returns the day preceding this one.
RegularTimePeriod
Returns the millisecond preceding this one.
RegularTimePeriod
Returns the hour preceding this one.
RegularTimePeriod
Returns the millisecond preceding this one.
RegularTimePeriod
Returns the minute preceding this one.
RegularTimePeriod
Returns the month preceding this one.
RegularTimePeriod
Returns the quarter preceding this one.
RegularTimePeriod
Returns the time period preceding this one, or null if some lower limit has been reached.
RegularTimePeriod
Returns the second preceding this one.
RegularTimePeriod
Returns the week preceding this one.
RegularTimePeriod
Returns the year preceding this one.

Uses in package org.jfree.chart.axis

Constructors with parameter type org.jfree.data.time.RegularTimePeriod

Creates a new axis.
PeriodAxis.PeriodAxis(String label, RegularTimePeriod first, RegularTimePeriod last, TimeZone timeZone)
Creates a new axis.

Methods with parameter type org.jfree.data.time.RegularTimePeriod

void
Sets the first time period in the axis range and sends an AxisChangeEvent to all registered listeners.
void
Sets the last time period in the axis range and sends an AxisChangeEvent to all registered listeners.

Methods with return type org.jfree.data.time.RegularTimePeriod

RegularTimePeriod
PeriodAxisLabelInfo.createInstance(Date millisecond, TimeZone zone)
Creates a time period that includes the specified millisecond, assuming the given time zone.
RegularTimePeriod
Returns the first time period in the axis range.
RegularTimePeriod
Returns the last time period in the axis range.