@Override
    public Object convert(Class destClass, Object srcObject) {
        OffsetDateTime offsetDateTime = convertToOffsetDateTime(srcObject);
        if (offsetDateTime != null) {
            if (OffsetTime.class.isAssignableFrom(destClass)) {
                return offsetDateTime.toOffsetTime();
            }
            return offsetDateTime;
        }
        return super.convert(destClass, srcObject);
    }
Internal class for converting supported types to {@link java.time.OffsetDateTime}.
Only intended for internal use.
core/src/main/java/com/github/dozermapper/core/converters/OffsetDateTimeConverter.java