public class RegularTimeSeriesIndex extends AbstractTimeSeriesIndex
Constructor and Description |
---|
RegularTimeSeriesIndex(long startTime,
long endTime,
long spacing) |
Modifier and Type | Method and Description |
---|---|
static RegularTimeSeriesIndex |
create(Instant start,
Instant end,
Duration spacing) |
static RegularTimeSeriesIndex |
create(org.threeten.extra.Interval interval,
Duration spacing) |
boolean |
equals(Object obj) |
long |
getEndTime() |
int |
getPointCount() |
long |
getSpacing() |
long |
getStartTime() |
long |
getTimeAt(int point) |
String |
getType() |
int |
hashCode() |
Iterator<Instant> |
iterator() |
static RegularTimeSeriesIndex |
parseJson(com.fasterxml.jackson.core.JsonParser parser) |
Stream<Instant> |
stream() |
String |
toString() |
void |
writeJson(com.fasterxml.jackson.core.JsonGenerator generator) |
getInstantAt, toJson
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final String TYPE
public RegularTimeSeriesIndex(long startTime, long endTime, long spacing)
public static RegularTimeSeriesIndex create(Instant start, Instant end, Duration spacing)
public static RegularTimeSeriesIndex create(org.threeten.extra.Interval interval, Duration spacing)
public static RegularTimeSeriesIndex parseJson(com.fasterxml.jackson.core.JsonParser parser)
public long getStartTime()
public long getEndTime()
public long getSpacing()
public int getPointCount()
public long getTimeAt(int point)
public String getType()
public void writeJson(com.fasterxml.jackson.core.JsonGenerator generator)
Copyright © 2020. All rights reserved.