| Home >> All >> org >> jfree >> data >> [ time Javadoc ] |
| | org.jfree.data.time.junit.* (22) |
org.jfree.data.time: Javadoc index of package org.jfree.data.time.
Package Samples:
org.jfree.data.time.junit: Interfaces and classes for time-related data.
Classes:
TimeSeriesDataItem: Represents one data item in a time series. The time period can be any of the following: Year Quarter Month Week Day Hour Minute Second Millisecond FixedMillisecond The time period is an immutable property of the data item. Data items will often be sorted within a list, and allowing the time period to be changed could destroy the sort order. Implements the Comparable interface so that standard Java sorting can be used to keep the data items in order.
Week: A calendar week. All years are considered to have 53 weeks, numbered from 1 to 53, although in many cases the 53rd week is empty. Most of the time, the 1st week of the year *begins* in the previous calendar year, but it always finishes in the current year (this behaviour matches the workings of the GregorianCalendar class). This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
DynamicTimeSeriesCollection: A dynamic dataset. Like FastTimeSeriesCollection, this class is a functional replacement for JFreeChart's TimeSeriesCollection _and_ TimeSeries classes. FastTimeSeriesCollection is appropriate for a fixed time range; for real-time applications this subclass adds the ability to append new data and discard the oldest. In this class, the arrays used in FastTimeSeriesCollection become FIFO's. NOTE:As presented here, all data is assumed >= 0, an assumption which is embodied only in methods associated with interface RangeInfo.
TimePeriodValuesCollection: A collection of TimePeriodValues objects. This class implements the org.jfree.data.xy.XYDataset interface, as well as the extended org.jfree.data.xy.IntervalXYDataset interface. This makes it a convenient dataset for use with the org.jfree.chart.plot.XYPlot class.
TimePeriodValues: A structure containing zero, one or many TimePeriodValue instances. The time periods can overlap, and are maintained in the order that they are added to the collection. This is similar to the TimeSeries class, except that the time periods can have irregular lengths.
TimeSeriesCollection: A collection of time series objects. This class implements the org.jfree.data.xy.XYDataset interface, as well as the extended org.jfree.data.xy.IntervalXYDataset interface. This makes it a convenient dataset for use with the org.jfree.chart.plot.XYPlot class.
FixedMillisecond: Wrapper for a java.util.Date object that allows it to be used as a RegularTimePeriod . This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
RegularTimePeriod: An abstract class representing a unit of time. Convenient methods are provided for calculating the next and previous time periods. Conversion methods are defined that return the first and last milliseconds of the time period. The results from these methods are timezone dependent. This class is immutable, and all subclasses should be immutable also.
Quarter: Defines a quarter (in a given year). The range supported is Q1 1900 to Q4 9999. This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
Day: Represents a single day in the range 1-Jan-1900 to 31-Dec-9999. This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
Year: Represents a year in the range 1900 to 9999. This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
Second: Represents a second in a particular day. This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
Hour: Represents an hour in a specific day. This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
SimpleTimePeriod: An arbitrary period of time, measured to millisecond precision using java.util.Date . This class is intentionally immutable (that is, once constructed, you cannot alter the start and end attributes).
Millisecond: Represents a millisecond. This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
Month: Represents a single month. This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
Minute: Represents a minute. This class is immutable, which is a requirement for all RegularTimePeriod subclasses.
TimeTableXYDataset: A dataset for regular time periods that implements the org.jfree.data.xy.TableXYDataset interface.
DataTimePackageTests: Some tests for the org.jfree.data.time package that can be run using JUnit. You can find more information about JUnit at http://www.junit.org.
TimeSeriesCollectionTests: A collection of test cases for the org.jfree.data.time.TimeSeriesCollection class.
TimePeriodValuesCollectionTests: Some tests for the org.jfree.data.time.TimePeriodValuesCollection class.
TimeTableXYDatasetTests: A collection of test cases for the org.jfree.data.time.TimeTableXYDataset class.
TimePeriodValuesTests: A collection of test cases for the org.jfree.data.time.TimePeriodValues class.
TimeSeriesTests: A collection of test cases for the org.jfree.data.time.TimeSeries class.
TimeSeriesDataItemTests: Tests for the org.jfree.data.time.TimeSeriesDataItem class.
| Home | Contact Us | Privacy Policy | Terms of Service |