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

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

public interface IDateTerm
extends IConcreteTerm

An interface for representing the date datatype.

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

$Id$

Version:
$Revision$
Author:
Richard P??ttler (richard dot poettler at deri dot at)

Method Summary
 int getDay()
          Returns the day of the month.
 int getMonth()
          Returns the month of the year.
 TimeZone getTimeZone()
          Returns the Timezone
 XMLGregorianCalendar getValue()
          Return the wrapped type.
 int getYear()
          Returns the 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

XMLGregorianCalendar getValue()
Return the wrapped type.

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

getMonth

int getMonth()
Returns the month of the year.

Returns:
the month.

getYear

int getYear()
Returns the year.

Returns:
the year.

getDay

int getDay()
Returns the day of the month.

Returns:
the day

getTimeZone

TimeZone getTimeZone()
Returns the Timezone

Returns:
the timezone