IrregularTimeSeriesIndex extends AbstractTimeSeriesIndex { public static IrregularTimeSeriesIndex create(Instant... instants) { return create(Arrays.asList(instants)); } IrregularTimeSeriesIndex(long[] times); static IrregularTimeSeriesIndex create(Instant... instants); static IrregularTimeSeriesIndex create(List<Instant> instants); static IrregularTimeSeriesIndex parseJson(JsonParser parser); @Override int getPointCount(); @Override long getTimeAt(int point); @Override int hashCode(); @Override boolean equals(Object obj); @Override String getType(); @Override void writeJson(JsonGenerator generator); @Override Iterator<Instant> iterator(); @Override Stream<Instant> stream(); @Override String toString(); static final String TYPE; }
@Test(expected = IllegalArgumentException.class) public void testContructorError() { IrregularTimeSeriesIndex.create(); }