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

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

public interface IGYearMonth
extends IConcreteTerm

An interface for representing the gYearMonth datatype. (represents a specific gregorian month in a specific gregorian year).

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

Author:
richi

Method Summary
 int getMonth()
          Returns a specific gregorian month (in a gregorian calendar year).
 Integer[] getValue()
          Return the wrapped type.
 int getYear()
          Returns the year (a gregorian calendar year).
 
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

getValue

Integer[] getValue()
Return the wrapped type.

Specified by:
getValue in interface ITerm
Returns:
The term value.

getYear

int getYear()
Returns the year (a gregorian calendar year).

Returns:
the year.

getMonth

int getMonth()
Returns a specific gregorian month (in a gregorian calendar year).

Returns:
the month.