- java.lang.Object
-
- org.ojalgo.type.TimeIndex<T>
-
public abstract class TimeIndex<T extends java.lang.Comparable<? super T>> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static TimeIndex<java.util.Calendar>CALENDARstatic TimeIndex<CalendarDate>CALENDAR_DATEstatic TimeIndex<java.util.Date>DATE(package private) static longDAY_SIZEstatic TimeIndex<java.time.Instant>INSTANTstatic TimeIndex<java.time.LocalDate>LOCAL_DATEstatic TimeIndex<java.time.LocalDateTime>LOCAL_DATE_TIMEstatic TimeIndex<java.time.LocalTime>LOCAL_TIMEstatic TimeIndex<java.time.OffsetDateTime>OFFSET_DATE_TIMEstatic TimeIndex<java.time.ZonedDateTime>ZONED_DATE_TIME
-
Constructor Summary
Constructors Constructor Description TimeIndex()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Structure1D.IndexMapper<T>from(T reference)abstract Structure1D.IndexMapper<T>from(T reference, CalendarDate.Resolution resolution)abstract Structure1D.IndexMapper<T>plain()abstract Structure1D.IndexMapper<T>plain(CalendarDate.Resolution resolution)
-
-
-
Field Detail
-
CALENDAR
public static final TimeIndex<java.util.Calendar> CALENDAR
-
CALENDAR_DATE
public static final TimeIndex<CalendarDate> CALENDAR_DATE
-
DATE
public static final TimeIndex<java.util.Date> DATE
-
INSTANT
public static final TimeIndex<java.time.Instant> INSTANT
-
LOCAL_DATE
public static final TimeIndex<java.time.LocalDate> LOCAL_DATE
-
LOCAL_DATE_TIME
public static final TimeIndex<java.time.LocalDateTime> LOCAL_DATE_TIME
-
LOCAL_TIME
public static final TimeIndex<java.time.LocalTime> LOCAL_TIME
-
OFFSET_DATE_TIME
public static final TimeIndex<java.time.OffsetDateTime> OFFSET_DATE_TIME
-
ZONED_DATE_TIME
public static final TimeIndex<java.time.ZonedDateTime> ZONED_DATE_TIME
-
DAY_SIZE
static final long DAY_SIZE
-
-
Method Detail
-
from
public abstract Structure1D.IndexMapper<T> from(T reference)
-
from
public abstract Structure1D.IndexMapper<T> from(T reference, CalendarDate.Resolution resolution)
-
plain
public abstract Structure1D.IndexMapper<T> plain()
-
plain
public abstract Structure1D.IndexMapper<T> plain(CalendarDate.Resolution resolution)
-
-