XCC/J 4.1-11

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()

XCC/J 4.1-11

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

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