Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.amazonaws.internal;
 
 
 
A Jackson serializer for Joda DateTimes.
public final class DateTimeJsonSerializer extends JsonSerializer<DateTime> {
    @Override
    public void serialize(
            DateTime value,
            JsonGenerator jgen,
            SerializerProvider providerthrows IOException {
        jgen.writeString(DateUtils.formatISO8601Date(value));
    }
New to GrepCode? Check out our FAQ X