private static String doFormatDate(Calendar calendar) {
        return calendar.toInstant().truncatedTo(ChronoUnit.SECONDS).toString();
    }
Returns ISO-8601 formatted time converted to UTC, truncated to the seconds place
@param calendar
@return
tika-core/src/main/java/org/apache/tika/utils/DateUtils.java