public class KendoDateTimeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
convert(String input)
Converts the input value to handle discrepancies (like localized am/pm)
|
static String |
toPattern(String pattern)
Converts a java datetime pattern to a kendo-ui datetime pattern
|
static String |
toString(Date date)
Converts a
Date to a compatible kendo-ui date-string format (with timezone) |
static String |
toString(org.threeten.bp.LocalDate date)
Converts a
LocalDate to a compatible kendo-ui date-string format (without timezone) |
static String |
toString(org.threeten.bp.LocalDateTime date)
Converts a
LocalDateTime to a compatible kendo-ui date-string format (without timezone) |
public static String convert(String input)
input - the input valuepublic static String toPattern(String pattern)
pattern - the java patternpublic static String toString(Date date)
Date to a compatible kendo-ui date-string format (with timezone)date - the datepublic static String toString(org.threeten.bp.LocalDate date)
LocalDate to a compatible kendo-ui date-string format (without timezone)date - the datepublic static String toString(org.threeten.bp.LocalDateTime date)
LocalDateTime to a compatible kendo-ui date-string format (without timezone)date - the dateCopyright © 2021 7thWeb. All rights reserved.