Class DateTimeTimeSeries

java.lang.Object
dev.nm.stat.timeseries.datastructure.univariate.GenericTimeTimeSeries<LocalDateTime>
dev.nm.stat.timeseries.datastructure.univariate.DateTimeTimeSeries
All Implemented Interfaces:
TimeSeries<LocalDateTime,Double,UnivariateTimeSeries.Entry<LocalDateTime>>, UnivariateTimeSeries<LocalDateTime,UnivariateTimeSeries.Entry<LocalDateTime>>, Iterable<UnivariateTimeSeries.Entry<LocalDateTime>>

public class DateTimeTimeSeries extends GenericTimeTimeSeries<LocalDateTime>
This is a time series has its double values indexed by LocalDateTime.
  • Constructor Details

    • DateTimeTimeSeries

      public DateTimeTimeSeries(LocalDateTime[] timestamps, double[] values)
      Construct a time series from LocalDateTime and double.
      Parameters:
      timestamps - the timestamps
      values - the entry values
    • DateTimeTimeSeries

      public DateTimeTimeSeries(List<LocalDateTime> timestamps, List<Double> values)
      Construct a time series from LocalDateTime and double.
      Parameters:
      timestamps - the timestamps
      values - the entry values