Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`Duration(java.lang.String duration)`

Method Summary
`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` -

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD