Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.marklogic.xcc.types
Interface XdmDuration

All Known Implementing Classes:
  Duration

    public interface XdmDuration

A Java representation of xs:duration.

Method Summary
`int` | `getDays()`
`int` | `getHours()`
`int` | `getMinutes()`
`int` | `getMonths()`
`BigDecimal` | `getSeconds()`
`long` | `getWholeSeconds()`
`int` | `getYears()`
`boolean` | `isNegative()`
`boolean` | `isPositive()`

Method Detail

### isPositive

    boolean isPositive()

### isNegative

    boolean isNegative()

### getYears

    int getYears()

### getMonths

    int getMonths()

### getDays

    int getDays()

### getHours

    int getHours()

### getMinutes

    int getMinutes()

### getWholeSeconds

    long getWholeSeconds()

### getSeconds

    BigDecimal getSeconds()

Overview | Package | Class | Tree | Deprecated | Index | Help
| XCC/J 4.2-9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 MarkLogic Corporation, All Rights Reserved.

Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com