public DateTimeFormatter getDateTimeFormatter() {
        if (dateTimeFormatter == null) {
            if (dfStr != null) {
                dateTimeFormatter = DateTimeFormatter.ofPattern(dfStr);
            }
        }
        return dateTimeFormatter;
    }
Date and time formatter for Java 8 Date &amp; Time objects.

@return formatter
core/src/main/java/com/github/dozermapper/core/converters/DateFormatContainer.java