org.deri.iris.api.terms.concrete
Interface IYearMonthDuration

All Superinterfaces:
Comparable<ITerm>, IConcreteTerm, IDuration, ITerm
All Known Implementing Classes:
YearMonthDuration

public interface IYearMonthDuration
extends IDuration

An interface for representing the xs:yearMonthDuration data-type. xs:yearMonthDuration is derived from xs:duration by restricting its lexical representation to contain only the year and month components.

Remark: IRIS supports data types according to the standard specification for primitive XML Schema data types.


Method Summary
 IYearMonthDuration toCanonical()
          Returns a canonical representation of yearMonthDuration as defined in http://www.w3.org/TR/xpath-functions/#canonical-yearMonthDuration.
 
Methods inherited from interface org.deri.iris.api.terms.concrete.IDuration
getDay, getDecimalSecond, getHour, getMillisecond, getMinute, getMonth, getSecond, getValue, getYear, isPositive
 
Methods inherited from interface org.deri.iris.api.terms.IConcreteTerm
getDatatypeIRI, toCanonicalString
 
Methods inherited from interface org.deri.iris.api.terms.ITerm
isGround
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

toCanonical

IYearMonthDuration toCanonical()
Returns a canonical representation of yearMonthDuration as defined in http://www.w3.org/TR/xpath-functions/#canonical-yearMonthDuration.

Returns:
A canonical representation of this yearMonthDuration instance.