Adapter2.java

  1. //
  2. // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
  3. // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2019.08.22 at 12:16:01 PM UTC
  6. //


  7. package ejava.projects.eleague.dto;

  8. import java.util.Date;
  9. import javax.xml.bind.annotation.adapters.XmlAdapter;

  10. public class Adapter2
  11.     extends XmlAdapter<String, Date>
  12. {


  13.     public Date unmarshal(String value) {
  14.         return (ejava.projects.eleague.xml.DateConverter.parseDate(value));
  15.     }

  16.     public String marshal(Date value) {
  17.         return (ejava.projects.eleague.xml.DateConverter.printDate(value));
  18.     }

  19. }