|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TimePeriod | |
com.jrefinery.data | Data interfaces and classes. |
Uses of TimePeriod in com.jrefinery.data |
Subclasses of TimePeriod in com.jrefinery.data | |
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 TimePeriod. |
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
Represents a week within a particular year. |
class |
Year
Represents a year in the range 1900 to 9999. |
Methods in com.jrefinery.data that return TimePeriod | |
abstract TimePeriod |
TimePeriod.previous()
Returns the time period preceding this one, or null if some lower limit has been reached. |
abstract TimePeriod |
TimePeriod.next()
Returns the time period following this one, or null if some limit has been reached. |
TimePeriod |
Year.previous()
Returns the year preceding this one. |
TimePeriod |
Year.next()
Returns the year following this one. |
TimePeriod |
Month.previous()
Returns the month preceding this one. |
TimePeriod |
Month.next()
Returns the month following this one. |
TimePeriod |
Hour.previous()
Returns the hour preceding this one. |
TimePeriod |
Hour.next()
Returns the hour following this one. |
TimePeriod |
BasicTimeSeries.getTimePeriod(int index)
Returns the time period at the specified index. |
TimePeriod |
BasicTimeSeries.getNextTimePeriod()
Returns a time period that would be the next in sequence on the end of the time series. |
TimePeriod |
Week.previous()
Returns the week preceding this one. |
TimePeriod |
Week.next()
Returns the week following this one. |
TimePeriod |
Day.previous()
Returns the day preceding this one. |
TimePeriod |
Day.next()
Returns the day following this one, or null if some limit has been reached. |
TimePeriod |
Minute.previous()
Returns the minute preceding this one. |
TimePeriod |
Minute.next()
Returns the minute following this one. |
TimePeriod |
FixedMillisecond.previous()
Returns the millisecond preceding this one. |
TimePeriod |
FixedMillisecond.next()
Returns the millisecond following this one. |
TimePeriod |
TimeSeriesDataPair.getPeriod()
Returns the time period. |
TimePeriod |
Second.previous()
Returns the second preceding this one. |
TimePeriod |
Second.next()
Returns the second following this one. |
TimePeriod |
Millisecond.previous()
Returns the millisecond preceding this one. |
TimePeriod |
Millisecond.next()
Returns the millisecond following this one. |
TimePeriod |
Quarter.previous()
Returns the quarter preceding this one. |
TimePeriod |
Quarter.next()
Returns the quarter following this one. |
Methods in com.jrefinery.data with parameters of type TimePeriod | |
TimeSeriesDataPair |
BasicTimeSeries.getDataPair(TimePeriod period)
Returns the data pair for a specific period. |
int |
BasicTimeSeries.getIndex(TimePeriod period)
Returns the index of the specified time period. |
java.lang.Number |
BasicTimeSeries.getValue(TimePeriod period)
Returns the value for a time period. |
void |
BasicTimeSeries.add(TimePeriod period,
double value)
Adds a new data item to the series. |
void |
BasicTimeSeries.add(TimePeriod period,
java.lang.Number value)
Adds a new data item to the series. |
void |
BasicTimeSeries.update(TimePeriod period,
java.lang.Number value)
Updates (changes) the value for a time period. |
TimeSeriesDataPair |
BasicTimeSeries.addOrUpdate(TimePeriod period,
java.lang.Number value)
Adds or updates the times series. |
void |
BasicTimeSeries.delete(TimePeriod period)
Deletes data for the given time period. |
BasicTimeSeries |
BasicTimeSeries.createCopy(TimePeriod start,
TimePeriod end)
Creates a new timeseries by copying a subset of the data in this time series. |
Constructors in com.jrefinery.data with parameters of type TimePeriod | |
TimeSeriesDataPair(TimePeriod period,
java.lang.Number value)
Constructs a new data pair. |
|
TimeSeriesDataPair(TimePeriod period,
double value)
Constructs a new data pair. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |