Class Util
java.lang.Object
com.vaadin.flow.component.charts.util.Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longtoHighchartsTS(Instant date) Gets the number of miliseconds from the Java epoch of 1970-01-01T00:00:00Z.static longtoHighchartsTS(Date date) Deprecated.as of 4.0.static DatetoServerDate(double rawClientSideValue) Deprecated.as of 4.0.static InstanttoServerInstant(double rawClientSideValue) Converts UTC based raw date value from the client side rendering library to an Instant value.
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
toHighchartsTS
Deprecated.as of 4.0. UsetoHighchartsTS(Instant) -
toHighchartsTS
Gets the number of miliseconds from the Java epoch of 1970-01-01T00:00:00Z.- Parameters:
date-- Returns:
-
toServerDate
Deprecated.as of 4.0. UsetoServerInstant(double) -
toServerInstant
Converts UTC based raw date value from the client side rendering library to an Instant value.- Parameters:
rawClientSideValue- the raw value from the client side- Returns:
- an Instant value
-