org.apache.ode.utils.xsd

## Class Duration

- java.lang.Object
- - org.apache.ode.utils.xsd.Duration

-     public class Duration
      extends java.lang.Object

  Support for xml schema duration. Does NOT support negative duration, only positive!!

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Duration(java.lang.String duration)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addTo(java.util.Calendar calendar)` Adds current duration to a calendar object.

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

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

- - ### Constructor Detail

    - #### Duration

          public Duration(java.lang.String duration)

  - ### Method Detail

    - #### addTo

          public void addTo(java.util.Calendar calendar)

      Adds current duration to a calendar object.
      Parameters:
        `calendar` -