public abstract class TimelineType<S extends Comparable<? super S>> extends Object
Modifier and Type | Field | Description |
---|---|---|
static TimelineType<Weekday> |
DAY_IN_WEEK |
|
static TimelineType<Integer> |
DAY_OF_MONTH |
|
static TimelineType<String> |
HOUR_OF_DAY |
|
static TimelineType<Month> |
MONTH_OF_YEAR |
|
static TimelineType<Integer> |
WEEK_OF_YEAR |
Modifier and Type | Method | Description |
---|---|---|
abstract List<S> |
allAvailable() |
|
static TimelineType<com.apptus.esales.connector.report.TimelineType.DisplayTime> |
create(Duration resolution) |
Create a time line type that splits the time into slices of
a specified duration.
|
static TimelineType<? extends Comparable<?>> |
parse(String timelineType) |
Parse the specified
timelineType . |
abstract Duration |
resolution() |
|
abstract S |
slot(Calendar cal) |
|
String |
toString() |
public static final TimelineType<String> HOUR_OF_DAY
public static final TimelineType<Weekday> DAY_IN_WEEK
public static final TimelineType<Integer> DAY_OF_MONTH
public static final TimelineType<Integer> WEEK_OF_YEAR
public static final TimelineType<Month> MONTH_OF_YEAR
public static TimelineType<? extends Comparable<?>> parse(String timelineType)
timelineType
.timelineType
- the timeline type of the type to return.public static TimelineType<com.apptus.esales.connector.report.TimelineType.DisplayTime> create(Duration resolution)
resolution
- duration for slices.public abstract Duration resolution()
Copyright © 2021 Apptus Technologies AB. All rights reserved.