All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dozen.data-converter-mapper.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8"?>
<mappings xmlns="http://dozermapper.github.io/schema/bean-mapping"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://dozermapper.github.io/schema/bean-mapping
          http://dozermapper.github.io/schema/bean-mapping.xsd">

    <configuration>
        <!-- these are always bi-directional -->
        <custom-converters>
            <converter type="com.cloud.platform.web.dozeConverter.DateToLocalDateTimeConverter" >
                <class-a>java.util.Date</class-a>
                <class-b>java.time.LocalDateTime</class-b>
            </converter>

            <converter type="com.cloud.platform.web.dozeConverter.StringToLocalDateTimeConverter" >
                <class-a>java.lang.String</class-a>
                <class-b>java.time.LocalDateTime</class-b>
            </converter>

            <converter type="com.cloud.platform.web.dozeConverter.StringToLocalDateConverter" >
                <class-a>java.lang.String</class-a>
                <class-b>java.time.LocalDate</class-b>
            </converter>
        </custom-converters>
    </configuration>

</mappings>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy