Interface IsDefaultTime
-
- All Known Implementing Classes:
DefaultChartTime,DefaultTime,Time
public interface IsDefaultTimeInterface to define time object defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IsoWeekDaygetIsoWeekday()Returns the ISO day of the week with 0 being Sunday and 6 being Saturday.TimeUnitgetMinUnit()The minimum display format to be used for a time unit.StringgetParser()Defined as a string, it is interpreted as a custom format to be used by LUXON to parse the date.TimeUnitgetRound()If defined, dates will be rounded to the start of this unit.doublegetStepSize()The number of units between grid.StringgetTooltipFormat()The date format string to use for the tooltip.TimeUnitgetUnit()If defined, will force the unit to be a certain type.
-
-
-
Method Detail
-
getIsoWeekday
IsoWeekDay getIsoWeekday()
Returns the ISO day of the week with 0 being Sunday and 6 being Saturday.- Returns:
- ISO day of the week with 0 being Sunday and 6 being Saturday
-
getRound
TimeUnit getRound()
If defined, dates will be rounded to the start of this unit.- Returns:
- If defined, dates will be rounded to the start of this unit.
-
getTooltipFormat
String getTooltipFormat()
The date format string to use for the tooltip.- Returns:
- date format string to use for the tooltip.
-
getUnit
TimeUnit getUnit()
If defined, will force the unit to be a certain type.- Returns:
- If defined, will force the unit to be a certain type.
-
getStepSize
double getStepSize()
The number of units between grid.- Returns:
- The number of units between grid.
-
getMinUnit
TimeUnit getMinUnit()
The minimum display format to be used for a time unit.- Returns:
- The minimum display format to be used for a time unit.
-
getParser
String getParser()
Defined as a string, it is interpreted as a custom format to be used by LUXON to parse the date.- Returns:
- Defined as a string, it is interpreted as a custom format to be used by LUXON to parse the date.
-
-