public class DefaultTime extends Object implements IsDefaultTime
| Constructor and Description |
|---|
DefaultTime() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getMax()
If defined, this will override the data maximum.
|
Date |
getMin()
If defined, this will override the data minimum.
|
TimeUnit |
getMinUnit()
The minimum display format to be used for a time unit.
|
String |
getParser()
Defined as a string, it is interpreted as a custom format to be used by moment to parse the date.
|
TimeUnit |
getRound()
If defined, dates will be rounded to the start of this unit.
|
int |
getStepSize()
The number of units between grid lines.
|
String |
getTooltipFormat()
The moment js format string to use for the tooltip.
|
TimeUnit |
getUnit()
If defined, will force the unit to be a certain type.
|
boolean |
isIsoWeekday()
If true and the unit is set to 'week', then the first day of the week will be Monday.
|
public boolean isIsoWeekday()
IsDefaultTimeisIsoWeekday in interface IsDefaultTimepublic Date getMax()
IsDefaultTimegetMax in interface IsDefaultTimepublic Date getMin()
IsDefaultTimegetMin in interface IsDefaultTimepublic TimeUnit getRound()
IsDefaultTimegetRound in interface IsDefaultTimepublic String getTooltipFormat()
IsDefaultTimegetTooltipFormat in interface IsDefaultTimepublic TimeUnit getUnit()
IsDefaultTimegetUnit in interface IsDefaultTimepublic int getStepSize()
IsDefaultTimegetStepSize in interface IsDefaultTimepublic TimeUnit getMinUnit()
IsDefaultTimegetMinUnit in interface IsDefaultTimepublic String getParser()
IsDefaultTimegetParser in interface IsDefaultTime