Java Code Examples for org.jfree.data.time.TimePeriod#getStart()

The following examples show how to use org.jfree.data.time.TimePeriod#getStart() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: XYTaskDataset.java    From openstock with GNU General Public License v3.0 5 votes vote down vote up
private double getItemValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    Date end = duration.getEnd();
    return (start.getTime() + end.getTime()) / 2.0;
}
 
Example 2
Source File: XYTaskDataset.java    From openstock with GNU General Public License v3.0 5 votes vote down vote up
private double getItemStartValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    return start.getTime();
}
 
Example 3
Source File: XYTaskDataset.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
private double getItemValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    Date end = duration.getEnd();
    return (start.getTime() + end.getTime()) / 2.0;
}
 
Example 4
Source File: XYTaskDataset.java    From ccu-historian with GNU General Public License v3.0 5 votes vote down vote up
private double getItemStartValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    return start.getTime();
}
 
Example 5
Source File: XYTaskDataset.java    From SIMVA-SoS with Apache License 2.0 5 votes vote down vote up
private double getItemValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    Date end = duration.getEnd();
    return (start.getTime() + end.getTime()) / 2.0;
}
 
Example 6
Source File: XYTaskDataset.java    From SIMVA-SoS with Apache License 2.0 5 votes vote down vote up
private double getItemStartValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    return start.getTime();
}
 
Example 7
Source File: XYTaskDataset.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
private double getItemValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    Date end = duration.getEnd();
    return (start.getTime() + end.getTime()) / 2.0;
}
 
Example 8
Source File: XYTaskDataset.java    From ECG-Viewer with GNU General Public License v2.0 5 votes vote down vote up
private double getItemStartValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    return start.getTime();
}
 
Example 9
Source File: XYTaskDataset.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
private double getItemValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    Date end = duration.getEnd();
    return (start.getTime() + end.getTime()) / 2.0;
}
 
Example 10
Source File: XYTaskDataset.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
private double getItemStartValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    return start.getTime();
}
 
Example 11
Source File: XYTaskDataset.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
private double getItemValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    Date end = duration.getEnd();
    return (start.getTime() + end.getTime()) / 2.0;
}
 
Example 12
Source File: XYTaskDataset.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
private double getItemStartValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    return start.getTime();
}
 
Example 13
Source File: XYTaskDataset.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
private double getItemValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    Date end = duration.getEnd();
    return (start.getTime() + end.getTime()) / 2.0;
}
 
Example 14
Source File: XYTaskDataset.java    From buffer_bci with GNU General Public License v3.0 5 votes vote down vote up
private double getItemStartValue(int series, int item) {
    TaskSeries s = this.underlying.getSeries(series);
    Task t = s.get(item);
    TimePeriod duration = t.getDuration();
    Date start = duration.getStart();
    return start.getTime();
}