Package org.apache.groovy.json.internal
Class Dates
java.lang.Object
org.apache.groovy.json.internal.Dates
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Date
fromISO8601
(char[] charArray, int from, int to) static Date
fromJsonDate
(char[] charArray, int from, int to) static boolean
isISO8601
(char[] charArray, int start, int to) static boolean
isISO8601QuickCheck
(char[] charArray, int start, int to) static boolean
isJsonDate
(char[] charArray, int start, int to) static Date
static Date
toDate
(TimeZone tz, int year, int month, int day, int hour, int minute, int second, int miliseconds) static long
utc
(long time)
-
Field Details
-
JSON_TIME_LENGTH
public static final int JSON_TIME_LENGTH
-
-
Constructor Details
-
Dates
public Dates()
-
-
Method Details
-
utc
public static long utc(long time) -
toDate
-
toDate
-
fromISO8601
-
fromJsonDate
-
isISO8601
public static boolean isISO8601(char[] charArray, int start, int to) -
isISO8601QuickCheck
public static boolean isISO8601QuickCheck(char[] charArray, int start, int to) -
isJsonDate
public static boolean isJsonDate(char[] charArray, int start, int to)
-