com.atlassian.confluence.rest.serialization
Class DateTimeDeserializer

java.lang.Object
  extended by org.codehaus.jackson.map.JsonDeserializer<org.joda.time.DateTime>
      extended by com.atlassian.confluence.rest.serialization.DateTimeDeserializer

public class DateTimeDeserializer
extends org.codehaus.jackson.map.JsonDeserializer<org.joda.time.DateTime>

Deserializers DateTime instances from the String representation using the TIME_FORMAT in Dates


Nested Class Summary
 
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonDeserializer
org.codehaus.jackson.map.JsonDeserializer.None
 
Constructor Summary
DateTimeDeserializer()
           
 
Method Summary
 org.joda.time.DateTime deserialize(org.codehaus.jackson.JsonParser jp, org.codehaus.jackson.map.DeserializationContext ctxt)
           
 
Methods inherited from class org.codehaus.jackson.map.JsonDeserializer
deserialize, deserializeWithType, getEmptyValue, getNullValue, unwrappingDeserializer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeDeserializer

public DateTimeDeserializer()
Method Detail

deserialize

public org.joda.time.DateTime deserialize(org.codehaus.jackson.JsonParser jp,
                                          org.codehaus.jackson.map.DeserializationContext ctxt)
                                   throws java.io.IOException,
                                          org.codehaus.jackson.JsonProcessingException
Specified by:
deserialize in class org.codehaus.jackson.map.JsonDeserializer<org.joda.time.DateTime>
Throws:
java.io.IOException
org.codehaus.jackson.JsonProcessingException


Copyright © 2003-2014 Atlassian. All Rights Reserved.