public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }
Sets date format.

@param dateFormat the date format
extension/src/main/java/com/alibaba/fastjson2/support/config/FastJsonConfig.java