public class DefaultTime extends Object implements IsDefaultTime
Constructor and Description |
---|
DefaultTime() |
Modifier and Type | Method and Description |
---|---|
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.
|
double |
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()
IsDefaultTime
isIsoWeekday
in interface IsDefaultTime
public TimeUnit getRound()
IsDefaultTime
getRound
in interface IsDefaultTime
public String getTooltipFormat()
IsDefaultTime
getTooltipFormat
in interface IsDefaultTime
public TimeUnit getUnit()
IsDefaultTime
getUnit
in interface IsDefaultTime
public double getStepSize()
IsDefaultTime
getStepSize
in interface IsDefaultTime
public TimeUnit getMinUnit()
IsDefaultTime
getMinUnit
in interface IsDefaultTime
public String getParser()
IsDefaultTime
getParser
in interface IsDefaultTime