Package org.ojalgo.type
Class TimeIndex<T extends java.lang.Comparable<? super T>>
- 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>
CALENDAR
static TimeIndex<CalendarDate>
CALENDAR_DATE
static TimeIndex<java.util.Date>
DATE
(package private) static long
DAY_SIZE
static TimeIndex<java.time.Instant>
INSTANT
static TimeIndex<java.time.LocalDate>
LOCAL_DATE
static TimeIndex<java.time.LocalDateTime>
LOCAL_DATE_TIME
static TimeIndex<java.time.LocalTime>
LOCAL_TIME
static TimeIndex<java.time.OffsetDateTime>
OFFSET_DATE_TIME
static 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)
-
-