class ImmutableLocalDateDoubleTimeSeries extends AbstractLocalDateDoubleTimeSeries implements LocalDateDoubleTimeSeries, Serializable {

  public static ImmutableLocalDateDoubleTimeSeries of(LocalDate date, double value) {
    Objects.requireNonNull(date, "date");
    int[] timesArray = new int[] {LocalDateToIntConverter.convertToInt(date)};
    double[] valuesArray = new double[] {value};
    return new ImmutableLocalDateDoubleTimeSeries(timesArray, valuesArray);
  }

    ImmutableLocalDateDoubleTimeSeries(int[] times, double[] values);

}