public class Dates extends Object
Modifier and Type | Field and Description |
---|---|
static int |
JSON_TIME_LENGTH |
Constructor and Description |
---|
Dates() |
Modifier and Type | Method and Description |
---|---|
static 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 |
toDate(TimeZone tz,
int year,
int month,
int day,
int hour,
int minute,
int second) |
static Date |
toDate(TimeZone tz,
int year,
int month,
int day,
int hour,
int minute,
int second,
int miliseconds) |
static long |
utc(long time) |
public static long utc(long time)
public static Date toDate(TimeZone tz, int year, int month, int day, int hour, int minute, int second)
public static Date toDate(TimeZone tz, int year, int month, int day, int hour, int minute, int second, int miliseconds)
public static Date fromISO8601(char[] charArray, int from, int to)
public static Date fromJsonDate(char[] charArray, int from, int to)
public static boolean isISO8601(char[] charArray, int start, int to)
public static boolean isISO8601QuickCheck(char[] charArray, int start, int to)
public static boolean isJsonDate(char[] charArray, int start, int to)