public void setContext(Object object, Object fieldName) {
        this.setContext(context, object, fieldName, 0);
    }
Set global date format pattern in FastJsonConfig

@param dateFormatPattern global date format pattern
src/main/java/com/alibaba/fastjson/serializer/JSONSerializer.java