Uses of Class
org.pepstock.charba.client.enums.TimeUnit
-
Packages that use TimeUnit Package Description org.pepstock.charba.client.adapters Contains all classes to interact with date adapters implemented by CHART.JS to be abstract from date time java script library to use.org.pepstock.charba.client.configuration Contains all elements to configure a chart instance (know as chart options at instance level).org.pepstock.charba.client.defaults Contains all interfaces need to provide defaults values of the chart options.org.pepstock.charba.client.defaults.chart Contains the default values of chart options based on type of chart instance.org.pepstock.charba.client.defaults.globals Contains the default values of chart options for all chart types (CHART.JS options defaults).org.pepstock.charba.client.enums Contains all enumerations of some chart options where only a specific set of values can be set.org.pepstock.charba.client.options Contains all elements to configure charts at global level (know as chart global options). -
-
Uses of TimeUnit in org.pepstock.charba.client.adapters
Methods in org.pepstock.charba.client.adapters with parameters of type TimeUnit Modifier and Type Method Description DateDateAdapter. add(long time, long amount, TimeUnit unit)Adds the specified amount of unit to the given timestamp.DateDateAdapter. add(Date time, long amount, TimeUnit unit)Adds the specified amount of unit to the given date.doubleDateAdapter. diff(long maxTime, long minTime, TimeUnit unit)Returns the number of unit between the given timestamps.doubleDateAdapter. diff(Date maxTime, Date minTime, TimeUnit unit)Returns the number of unit between the given dates.DateDateAdapter. endOf(long time, TimeUnit unit)Returns end of unit for the given timestamp.DateDateAdapter. endOf(Date time, TimeUnit unit)Returns end of unit for the given date.StringDateAdapter. format(long time, TimeUnit unit)Returns the formatted date in the specified format for a given timestamp, using the default format related to time unit.StringDateAdapter. format(Date time, TimeUnit unit)Returns the formatted date in the specified format for a given date, using the default format related to time unit.StringDateAdapterFormats. getFormat(TimeUnit unit)DateDateAdapter. startOf(long time, TimeUnit unit)Returns the start of unit for the given timestamp.DateDateAdapter. startOf(Date time, TimeUnit unit)Returns the start of unit for the given date. -
Uses of TimeUnit in org.pepstock.charba.client.configuration
Methods in org.pepstock.charba.client.configuration that return TimeUnit Modifier and Type Method Description TimeUnitTime. getMinUnit()The minimum display format to be used for a time unit.TimeUnitTime. getRound()If defined, dates will be rounded to the start of this unit.TimeUnitTime. getUnit()If defined, will force the unit to be a certain type.Methods in org.pepstock.charba.client.configuration with parameters of type TimeUnit Modifier and Type Method Description StringDisplayFormats. getDisplayFormat(TimeUnit unit)Returns the display formats are used to configure how different time units are formed in the strings for the axis tick marks.voidDisplayFormats. setDisplayFormat(TimeUnit unit, String format)Sets the display formats are used to configure how different time units are formed in the strings for the axis tick marks.voidTime. setMinUnit(TimeUnit unit)The minimum display format to be used for a time unit.voidTime. setRound(TimeUnit round)If defined, dates will be rounded to the start of this unit.voidTime. setUnit(TimeUnit unit)If defined, will force the unit to be a certain type. -
Uses of TimeUnit in org.pepstock.charba.client.defaults
Methods in org.pepstock.charba.client.defaults that return TimeUnit Modifier and Type Method Description TimeUnitIsDefaultTime. getMinUnit()The minimum display format to be used for a time unit.TimeUnitIsDefaultTime. getRound()If defined, dates will be rounded to the start of this unit.TimeUnitIsDefaultTime. getUnit()If defined, will force the unit to be a certain type. -
Uses of TimeUnit in org.pepstock.charba.client.defaults.chart
Methods in org.pepstock.charba.client.defaults.chart that return TimeUnit Modifier and Type Method Description TimeUnitDefaultChartTime. getMinUnit()TimeUnitDefaultChartTime. getRound()TimeUnitDefaultChartTime. getUnit() -
Uses of TimeUnit in org.pepstock.charba.client.defaults.globals
Methods in org.pepstock.charba.client.defaults.globals that return TimeUnit Modifier and Type Method Description TimeUnitDefaultTime. getMinUnit()TimeUnitDefaultTime. getRound()TimeUnitDefaultTime. getUnit() -
Uses of TimeUnit in org.pepstock.charba.client.enums
Methods in org.pepstock.charba.client.enums that return TimeUnit Modifier and Type Method Description static TimeUnitTimeUnit. valueOf(String name)Returns the enum constant of this type with the specified name.static TimeUnit[]TimeUnit. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of TimeUnit in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options that return TimeUnit Modifier and Type Method Description TimeUnitTime. getMinUnit()Returns the minimum display format to be used for a time unit.TimeUnitTime. getRound()If defined, dates will be rounded to the start of this unit.TimeUnitTime. getUnit()If defined, will force the unit to be a certain type.Methods in org.pepstock.charba.client.options with parameters of type TimeUnit Modifier and Type Method Description StringDisplayFormats. getDisplayFormat(TimeUnit unit)Returns the display formats are used to configure how different time units are formed in the strings for the axis tick marks.voidDisplayFormats. setDisplayFormat(TimeUnit unit, String format)Sets the display formats are used to configure how different time units are formed in the strings for the axis tick marks.voidTime. setMinUnit(TimeUnit unit)Sets the minimum display format to be used for a time unit.voidTime. setRound(TimeUnit round)If defined, dates will be rounded to the start of this unit.voidTime. setUnit(TimeUnit unit)If defined, will force the unit to be a certain type.
-