public class Time extends Object
Constructor and Description |
---|
Time() |
Modifier and Type | Method and Description |
---|---|
DisplayFormats |
getDisplayFormats() |
Boolean |
getIsoWeekday() |
Time |
getMax() |
Time |
getMin() |
String |
getParser() |
String |
getRound() |
String |
getTooltipFormat() |
String |
getUnit() |
BigDecimal |
getUnitStepSize() |
Time |
setDisplayFormats(DisplayFormats displayFormats)
See Display Formats section below.
|
Time |
setIsoWeekday(Boolean isoWeekday)
If true and the unit is set to 'week', iso weekdays will be used.
|
Time |
setMax(Time max)
If defined, this will override the data maximum
|
Time |
setMin(Time min)
If defined, this will override the data minimum
|
Time |
setParser(String parser)
If defined as a string, it is interpreted as a custom format to be used
by moment to parse the date.
|
Time |
setRound(String round)
If defined, dates will be rounded to the start of this unit.
|
Time |
setTooltipFormat(String tooltipFormat)
The moment js format string to use for the tooltip.
|
Time |
setUnit(String unit)
If defined, will force the unit to be a certain type.
|
Time |
setUnitStepSize(BigDecimal unitStepSize)
The number of units between grid lines.
|
public DisplayFormats getDisplayFormats()
setDisplayFormats(DisplayFormats)
public Time setDisplayFormats(DisplayFormats displayFormats)
public Boolean getIsoWeekday()
setIsoWeekday(Boolean)
public Time setIsoWeekday(Boolean isoWeekday)
public Time getMax()
setMax(Time)
public Time getMin()
setMin(Time)
public String getParser()
setParser(String)
public Time setParser(String parser)
public String getRound()
setRound(String)
public Time setRound(String round)
public String getTooltipFormat()
setTooltipFormat(String)
public Time setTooltipFormat(String tooltipFormat)
public String getUnit()
setUnit(String)
public Time setUnit(String unit)
public BigDecimal getUnitStepSize()
setUnitStepSize(BigDecimal)
public Time setUnitStepSize(BigDecimal unitStepSize)
Copyright © 2017. All rights reserved.