XCC/J 3.2-9

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

public boolean isPositive()

isNegative

public boolean isNegative()

getYears

public int getYears()

getMonths

public int getMonths()

getDays

public int getDays()

getHours

public int getHours()

getMinutes

public int getMinutes()

getWholeSeconds

public long getWholeSeconds()

getSeconds

public BigDecimal getSeconds()

XCC/J 3.2-9

Copyright © 2003-2008 Mark Logic Corporation, All Rights Reserved.

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