public class DefaultTime extends Object implements IsDefaultTime
Modifier and Type | Method and Description |
---|---|
IsoWeekDay |
getIsoWeekday()
Returns the ISO day of the week with 0 being Sunday and 6 being Saturday.
|
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 LUXON 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.
|
String |
getTooltipFormat()
The date format string to use for the tooltip.
|
TimeUnit |
getUnit()
If defined, will force the unit to be a certain type.
|
public IsoWeekDay getIsoWeekday()
IsDefaultTime
getIsoWeekday
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