class ImmutableLocalDateObjectTimeSeries extends AbstractDateObjectTimeSeries<LocalDate, V> implements LocalDateObjectTimeSeries<V>, Serializable {

  public static <V> ImmutableLocalDateObjectTimeSeries<V> of(LocalDate date, V value) {
    Objects.requireNonNull(date, "date");
    int[] timesArray = new int[] {LocalDateToIntConverter.convertToInt(date)};
    @SuppressWarnings("unchecked")
    V[] valuesArray = (V[]) new Object[] {value};
    return new ImmutableLocalDateObjectTimeSeries<V>(timesArray, valuesArray);
  }

    ImmutableLocalDateObjectTimeSeries(int[] times, V[] values);

}