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