Ejemplo n.º 1
0
 @Override
 public DoubleTimeSeries<DATE_TYPE> subSeries(final DATE_TYPE startTime, final DATE_TYPE endTime) {
   return _converter.convertFromInt(
       this,
       getFastSeries()
           .subSeriesFast(
               (startTime != null) ? _converter.convertToInt(startTime) : Integer.MIN_VALUE,
               (endTime != null) ? _converter.convertToInt(endTime) : Integer.MAX_VALUE));
 }
Ejemplo n.º 2
0
 @Override
 public Double getValue(final DATE_TYPE dateTime) {
   try {
     return getFastSeries().getValueFast(_converter.convertToInt(dateTime));
   } catch (NoSuchElementException nsee) {
     return null;
   }
 }