org.deegree.time.position
Class CalendarDate

java.lang.Object
  extended by org.deegree.time.position.CalendarDate
All Implemented Interfaces:
Comparable<TemporalPosition>, TemporalPosition

public class CalendarDate
extends Object
implements TemporalPosition

TemporalPosition that may include year, year and month or year, month and day.

Version:
$Revision: 31664 $, $Date: 2011-08-26 16:18:07 +0200 (Fri, 26 Aug 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
CalendarDate(BigInteger year, TimeZone timeZone, Short month, Short day)
           
 
Method Summary
 int compareTo(TemporalPosition arg0)
           
 Short getDay()
          Returns the day.
 IndeterminateValue getIndeterminateValue()
           
 Short getMonth()
          Returns the month.
 TimeZone getTimeZone()
          Returns the time zone.
 BigInteger getYear()
          Returns the year.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarDate

public CalendarDate(BigInteger year,
                    TimeZone timeZone,
                    Short month,
                    Short day)
Method Detail

getYear

public BigInteger getYear()
Returns the year.

Returns:
year, never null

getTimeZone

public TimeZone getTimeZone()
Returns the time zone.

Returns:
time zone, can be null (no timezone information)

getMonth

public Short getMonth()
Returns the month.

Returns:
month, can be null (no month information)

getDay

public Short getDay()
Returns the day.

Returns:
day, can be null (no day information)

compareTo

public int compareTo(TemporalPosition arg0)
Specified by:
compareTo in interface Comparable<TemporalPosition>

getIndeterminateValue

public IndeterminateValue getIndeterminateValue()
Specified by:
getIndeterminateValue in interface TemporalPosition


Copyright © 2011. All Rights Reserved.