public String format(final ZonedDateTime dt) {
        return format(DateTimeUtils.dateOf(dt));
    }
Format the datetime given.

@param dt the datetime
@return the date and time
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/ISOStandardDateFormat.java