public class JsonDateReader extends Object
Modifier and Type | Field and Description |
---|---|
static JsonReader<Date> |
Dropbox
A parser for dates returned by the Dropbox API.
|
static JsonReader<Date> |
DropboxV2
A parser for dates returned by the Dropbox V2 API.
|
static TimeZone |
UTC |
Constructor and Description |
---|
JsonDateReader() |
Modifier and Type | Method and Description |
---|---|
static int |
getMonthIndex(char a,
char b,
char c) |
static boolean |
isValidDayOfWeek(char a,
char b,
char c) |
static Date |
parseDropbox8601Date(char[] buffer,
int offset,
int length) |
static Date |
parseDropboxDate(char[] buffer,
int offset,
int length) |
public static final JsonReader<Date> Dropbox
public static final TimeZone UTC
public static final JsonReader<Date> DropboxV2
public static Date parseDropboxDate(char[] buffer, int offset, int length) throws ParseException
ParseException
public static boolean isValidDayOfWeek(char a, char b, char c)
public static int getMonthIndex(char a, char b, char c)
public static Date parseDropbox8601Date(char[] buffer, int offset, int length) throws ParseException
ParseException