Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.datatype.joda.deser;
 
 
 
abstract class JodaDeserializerBase<T> extends StdScalarDeserializer<T>
    final static DateTimeFormatter _localDateTimeFormat = ISODateTimeFormat.localDateOptionalTimeParser();
    protected JodaDeserializerBase(Class<T> cls) { super(cls); }
    protected DateTime parseLocal(JsonParser jp)
        throws IOExceptionJsonProcessingException
    {
        String str = jp.getText().trim();
        if (str.length() == 0) { // [JACKSON-360]
            return null;
        }
        return .parseDateTime(str);
    }
New to GrepCode? Check out our FAQ X