public class Dates
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
JSON_TIME_LENGTH |
Constructor and Description |
---|
Dates() |
Modifier and Type | Method and Description |
---|---|
static java.util.Date |
fromISO8601(char[] charArray,
int from,
int to) |
static java.util.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 java.util.Date |
toDate(java.util.TimeZone tz,
int year,
int month,
int day,
int hour,
int minute,
int second) |
static java.util.Date |
toDate(java.util.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 java.util.Date toDate(java.util.TimeZone tz, int year, int month, int day, int hour, int minute, int second)
public static java.util.Date toDate(java.util.TimeZone tz, int year, int month, int day, int hour, int minute, int second, int miliseconds)
public static java.util.Date fromISO8601(char[] charArray, int from, int to)
public static java.util.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)