Package org.optaplanner.core.impl.io.jaxb.adapter

## Class JaxbDurationAdapter

- java.lang.Object
- - javax.xml.bind.annotation.adapters.XmlAdapter<String,​Duration>
  - - org.optaplanner.core.impl.io.jaxb.adapter.JaxbDurationAdapter

-     public class JaxbDurationAdapter
      extends XmlAdapter<String,​Duration>

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `JaxbDurationAdapter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `marshal​(Duration duration)` |
    `Duration` | `unmarshal​(String durationString)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JaxbDurationAdapter

          public JaxbDurationAdapter()

  - ### Method Detail

    - #### unmarshal

          public Duration unmarshal​(String durationString)

      Specified by:
        `unmarshal` in class `XmlAdapter<String,​Duration>`

    - #### marshal

          public String marshal​(Duration duration)

      Specified by:
        `marshal` in class `XmlAdapter<String,​Duration>`