public class DateMapper extends AbstractMapper
| Constructor and Description |
|---|
DateMapper() |
| Modifier and Type | Method and Description |
|---|---|
static Date |
fromISO8601(String timestampString) |
static Date |
fromISO8601(String timestampString,
boolean timezoneIgnored) |
Class |
getHelpedClass() |
static boolean |
isTimeZoneIgnored() |
static void |
setTimeZoneIgnored(boolean timeZoneIgnored) |
Object |
toJava(JSONValue aValue,
Class aRequestedClass) |
JSONValue |
toJSON(Object aPojo) |
static String |
toRFC3339(Date date) |
static String |
toRFC3339(Date date,
boolean timezoneIgnored) |
public static boolean isTimeZoneIgnored()
public static void setTimeZoneIgnored(boolean timeZoneIgnored)
public Class getHelpedClass()
public JSONValue toJSON(Object aPojo) throws MapperException
toJSON in interface SimpleMapperHelpertoJSON in class AbstractMapperMapperExceptionpublic Object toJava(JSONValue aValue, Class aRequestedClass) throws MapperException
MapperExceptionpublic static Date fromISO8601(String timestampString) throws MapperException
MapperExceptionpublic static Date fromISO8601(String timestampString, boolean timezoneIgnored) throws MapperException
MapperExceptionCopyright © 2013. All Rights Reserved.