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

Packages that use RegularTimePeriod
Package | Description
--- | ---
org.jfree.chart.axis | Axis classes and interfaces.
org.jfree.data.time | Interfaces and classes for time-related data.
org.jfree.data.time.ohlc | Classes for representing financial data in open-high-low-close form.

### Uses of RegularTimePeriod in org.jfree.chart.axis

Methods in org.jfree.chart.axis that return RegularTimePeriod
Modifier and Type | Method and Description
--- | ---
`RegularTimePeriod` | PeriodAxisLabelInfo.`createInstance(java.util.Date millisecond, java.util.TimeZone zone)` Deprecated. As of 1.0.13, use the method that specifies the locale also.
`RegularTimePeriod` | PeriodAxisLabelInfo.`createInstance(java.util.Date millisecond, java.util.TimeZone zone, java.util.Locale locale)` Creates a time period that includes the specified millisecond, assuming the given time zone.
`RegularTimePeriod` | PeriodAxis.`getFirst()` Returns the first time period in the axis range.
`RegularTimePeriod` | PeriodAxis.`getLast()` Returns the last time period in the axis range.

Methods in org.jfree.chart.axis with parameters of type RegularTimePeriod
Modifier and Type | Method and Description
--- | ---
`void` | PeriodAxis.`setFirst(RegularTimePeriod first)` Sets the first time period in the axis range and sends an `AxisChangeEvent` to all registered listeners.
`void` | PeriodAxis.`setLast(RegularTimePeriod last)` Sets the last time period in the axis range and sends an `AxisChangeEvent` to all registered listeners.

Constructors in org.jfree.chart.axis with parameters of type RegularTimePeriod
Constructor and Description
`PeriodAxis(java.lang.String label, RegularTimePeriod first, RegularTimePeriod last)` Creates a new axis.
`PeriodAxis(java.lang.String label, RegularTimePeriod first, RegularTimePeriod last, java.util.TimeZone timeZone)` Deprecated. As of version 1.0.13, you should use the constructor that specifies a Locale also.
`PeriodAxis(java.lang.String label, RegularTimePeriod first, RegularTimePeriod last, java.util.TimeZone timeZone, java.util.Locale locale)` Creates a new axis.

### Uses of RegularTimePeriod in org.jfree.data.time

Subclasses of RegularTimePeriod in org.jfree.data.time
Modifier and Type | Class and Description
--- | ---
`class` | `Day` Represents a single day in the range 1-Jan-1900 to 31-Dec-9999.
`class` | `FixedMillisecond` Wrapper for a `java.util.Date` object that allows it to be used as a `RegularTimePeriod`.
`class` | `Hour` Represents an hour in a specific day.
`class` | `Millisecond` Represents a millisecond.
`class` | `Minute` Represents a minute.
`class` | `Month` Represents a single month.
`class` | `Quarter` Defines a quarter (in a given year).
`class` | `Second` Represents a second in a particular day.
`class` | `Week` A calendar week.
`class` | `Year` Represents a year in the range -9999 to 9999.

Fields in org.jfree.data.time declared as RegularTimePeriod
Modifier and Type | Field and Description
--- | ---
`protected RegularTimePeriod[]` | DynamicTimeSeriesCollection.`pointsInTime` Storage for the x-values.

Methods in org.jfree.data.time that return RegularTimePeriod
Modifier and Type | Method and Description
--- | ---
`RegularTimePeriod` | DynamicTimeSeriesCollection.`advanceTime()` 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.
`static RegularTimePeriod` | RegularTimePeriod.`createInstance(java.lang.Class c, java.util.Date millisecond, java.util.TimeZone zone)` Creates a time period that includes the specified millisecond, assuming the given time zone.
`RegularTimePeriod` | DynamicTimeSeriesCollection.`getNewestTime()` Returns the newest time.
`RegularTimePeriod` | TimeSeries.`getNextTimePeriod()` Returns a time period that would be the next in sequence on the end of the time series.
`RegularTimePeriod` | DynamicTimeSeriesCollection.`getOldestTime()` Returns the oldest time.
`RegularTimePeriod` | TimeSeriesDataItem.`getPeriod()` Returns the time period.
`RegularTimePeriod` | TimeSeries.`getTimePeriod(int index)` Returns the time period at the specified index.
`RegularTimePeriod` | Year.`next()` Returns the year following this one.
`RegularTimePeriod` | Week.`next()` Returns the week following this one.
`RegularTimePeriod` | Second.`next()` Returns the second following this one.
`abstract RegularTimePeriod` | RegularTimePeriod.`next()` Returns the time period following this one, or `null` if some limit has been reached.
`RegularTimePeriod` | Quarter.`next()` Returns the quarter following this one.
`RegularTimePeriod` | Month.`next()` Returns the month following this one.
`RegularTimePeriod` | Minute.`next()` Returns the minute following this one.
`RegularTimePeriod` | Millisecond.`next()` Returns the millisecond following this one.
`RegularTimePeriod` | Hour.`next()` Returns the hour following this one.
`RegularTimePeriod` | FixedMillisecond.`next()` Returns the millisecond following this one.
`RegularTimePeriod` | Day.`next()` Returns the day following this one, or `null` if some limit has been reached.
`RegularTimePeriod` | Year.`previous()` Returns the year preceding this one.
`RegularTimePeriod` | Week.`previous()` Returns the week preceding this one.
`RegularTimePeriod` | Second.`previous()` Returns the second preceding this one.
`abstract RegularTimePeriod` | RegularTimePeriod.`previous()` Returns the time period preceding this one, or `null` if some lower limit has been reached.
`RegularTimePeriod` | Quarter.`previous()` Returns the quarter preceding this one.
`RegularTimePeriod` | Month.`previous()` Returns the month preceding this one.
`RegularTimePeriod` | Minute.`previous()` Returns the minute preceding this one.
`RegularTimePeriod` | Millisecond.`previous()` Returns the millisecond preceding this one.
`RegularTimePeriod` | Hour.`previous()` Returns the hour preceding this one.
`RegularTimePeriod` | FixedMillisecond.`previous()` Returns the millisecond preceding this one.
`RegularTimePeriod` | Day.`previous()` Returns the day preceding this one.

Methods in org.jfree.data.time with parameters of type RegularTimePeriod
Modifier and Type | Method and Description
--- | ---
`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.
`void` | TimeSeries.`add(RegularTimePeriod period, java.lang.Number value)` Adds a new data item to the series and sends a `SeriesChangeEvent` to all registered listeners.
`void` | TimeSeries.`add(RegularTimePeriod period, java.lang.Number value, boolean notify)` Adds a new data item to the 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.
`TimeSeriesDataItem` | TimeSeries.`addOrUpdate(RegularTimePeriod period, java.lang.Number value)` Adds or updates an item in the times series and sends a `SeriesChangeEvent` to all registered listeners.
`TimeSeries` | TimeSeries.`createCopy(RegularTimePeriod start, RegularTimePeriod end)` Creates a new timeseries by copying a subset of the data in this time series.
`void` | TimeSeries.`delete(RegularTimePeriod period)` Deletes the data item for the given time period and sends a `SeriesChangeEvent` to all registered listeners.
`TimeSeriesDataItem` | TimeSeries.`getDataItem(RegularTimePeriod period)` Returns the data item for a specific period.
`int` | TimeSeries.`getIndex(RegularTimePeriod period)` Returns the index for the item (if any) that corresponds to a time period.
`java.lang.Number` | TimeSeries.`getValue(RegularTimePeriod period)` Returns the value for a time period.
`protected long` | TimeSeriesCollection.`getX(RegularTimePeriod period)` Returns the x-value for a time period.
`long` | DynamicTimeSeriesCollection.`setTimeBase(RegularTimePeriod start)` Fill the pointsInTime with times using TimePeriod.next(): Will silently return if the time array was already populated.
`void` | TimeSeries.`update(RegularTimePeriod period, double value)` Updates (changes) the value for a time period.
`void` | TimeSeries.`update(RegularTimePeriod period, java.lang.Number value)` Updates (changes) the value for a time period.

Constructors in org.jfree.data.time with parameters of type RegularTimePeriod
Constructor and Description
`DynamicTimeSeriesCollection(int nSeries, int nMoments, RegularTimePeriod timeSample)` Creates a new dataset.
`DynamicTimeSeriesCollection(int nSeries, int nMoments, RegularTimePeriod timeSample, java.util.TimeZone zone)` Creates a new dataset.
`TimeSeriesDataItem(RegularTimePeriod period, double value)` Constructs a new data item that associates a value with a time period.
`TimeSeriesDataItem(RegularTimePeriod period, java.lang.Number value)` Constructs a new data item that associates a value with a time period.

### Uses of RegularTimePeriod in org.jfree.data.time.ohlc

Methods in org.jfree.data.time.ohlc that return RegularTimePeriod
Modifier and Type | Method and Description
--- | ---
`RegularTimePeriod` | OHLCItem.`getPeriod()` Returns the period.
`RegularTimePeriod` | OHLCSeries.`getPeriod(int index)` Returns the time period for the specified item.

Methods in org.jfree.data.time.ohlc with parameters of type RegularTimePeriod
Modifier and Type | Method and Description
--- | ---
`void` | OHLCSeries.`add(RegularTimePeriod period, double open, double high, double low, double close)` Adds a data item to the series.
`protected long` | OHLCSeriesCollection.`getX(RegularTimePeriod period)` Returns the x-value for a time period.

Constructors in org.jfree.data.time.ohlc with parameters of type RegularTimePeriod
Constructor and Description
`OHLCItem(RegularTimePeriod period, double open, double high, double low, double close)` Creates a new instance of `OHLCItem`.