We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.charts.util.
Class Util
- java.lang.Object
-
- com.vaadin.flow.component.charts.util.Util
-
public class Util extends Object
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Modifier and Type Method Description static long
toHighchartsTS(Instant date)
Gets the number of miliseconds from the Java epoch of 1970-01-01T00:00:00Z.
static long
toHighchartsTS(Date date)
Deprecated.
as of 4.0.static Date
toServerDate(double rawClientSideValue)
Deprecated.
as of 4.0.static Instant
toServerInstant(double rawClientSideValue)
Converts UTC based raw date value from the client side rendering library to an Instant value.
-
-
-
Method Detail
-
toHighchartsTS
@Deprecated public static long toHighchartsTS(Date date)
Deprecated.as of 4.0. UsetoHighchartsTS(Instant)
-
toHighchartsTS
public static long toHighchartsTS(Instant date)
Gets the number of miliseconds from the Java epoch of 1970-01-01T00:00:00Z.
Parameters:
date
-Returns:
-
toServerDate
@Deprecated public static Date toServerDate(double rawClientSideValue)
Deprecated.as of 4.0. UsetoServerInstant(double)
-
toServerInstant
public static Instant toServerInstant(double rawClientSideValue)
Converts UTC based raw date value from the client side rendering library to an Instant value.
Parameters:
rawClientSideValue
- the raw value from the client sideReturns:
an Instant value
-
-