Uses of Interface
org.jfree.data.time.TimePeriod
| Package | Description |
|---|---|
| org.jfree.data.gantt |
Data interfaces and classes for Gantt charts.
|
| org.jfree.data.time |
Interfaces and classes for time-related data.
|
-
Uses of TimePeriod in org.jfree.data.gantt
Methods in org.jfree.data.gantt that return TimePeriod Modifier and Type Method Description TimePeriodTask. getDuration()Returns the duration (actual or estimated) of the task.Methods in org.jfree.data.gantt with parameters of type TimePeriod Modifier and Type Method Description voidTask. setDuration(TimePeriod duration)Sets the task duration (actual or estimated).Constructors in org.jfree.data.gantt with parameters of type TimePeriod Constructor Description Task(String description, TimePeriod duration)Creates a new task. -
Uses of TimePeriod in org.jfree.data.time
Classes in org.jfree.data.time that implement TimePeriod Modifier and Type Class Description classDayRepresents a single day in the range 1-Jan-1900 to 31-Dec-9999.classFixedMillisecondWrapper for ajava.util.Dateobject that allows it to be used as aRegularTimePeriod.classHourRepresents an hour in a specific day.classMillisecondRepresents a millisecond.classMinuteRepresents a minute.classMonthRepresents a single month.classQuarterDefines a quarter (in a given year).classRegularTimePeriodAn abstract class representing a unit of time.classSecondRepresents a second in a particular day.classSimpleTimePeriodAn arbitrary period of time, measured to millisecond precision usingjava.util.Date.classWeekA calendar week.classYearRepresents a year in the range 1900 to 9999.Methods in org.jfree.data.time that return TimePeriod Modifier and Type Method Description TimePeriodTimePeriodValue. getPeriod()Returns the time period.TimePeriodTimePeriodValues. getTimePeriod(int index)Returns the time period at the specified index.Methods in org.jfree.data.time with parameters of type TimePeriod Modifier and Type Method Description voidTimePeriodValues. add(TimePeriod period, double value)Adds a new data item to the series.voidTimePeriodValues. add(TimePeriod period, Number value)Adds a new data item to the series.Constructors in org.jfree.data.time with parameters of type TimePeriod Constructor Description TimePeriodValue(TimePeriod period, double value)Constructs a new data pair.TimePeriodValue(TimePeriod period, Number value)Constructs a new data item.