com.jmex.xml.types
Class SchemaDate

java.lang.Object
  extended by com.jmex.xml.types.SchemaCalendarBase
      extended by com.jmex.xml.types.SchemaDate
All Implemented Interfaces:
SchemaType, SchemaTypeCalendar, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable

public class SchemaDate
extends SchemaCalendarBase

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jmex.xml.types.SchemaCalendarBase
SchemaCalendarBase.ParseContext, SchemaCalendarBase.RefInt
 
Field Summary
 
Fields inherited from class com.jmex.xml.types.SchemaCalendarBase
DateTimePart_Date, DateTimePart_Day, DateTimePart_Month, DateTimePart_Time, DateTimePart_Year, day, hasTZ, hour, isempty, minute, month, monthStart, monthStartLeap, offsetTZ, partsecond, second, TZ_MISSING, TZ_OFFSET, TZ_UTC, year
 
Fields inherited from interface com.jmex.xml.types.SchemaTypeCalendar
CALENDAR_VALUE_DATE, CALENDAR_VALUE_DATETIME, CALENDAR_VALUE_DURATION, CALENDAR_VALUE_TIME, CALENDAR_VALUE_UNDEFINED
 
Constructor Summary
SchemaDate()
           
SchemaDate(java.util.Calendar newvalue)
           
SchemaDate(int newyear, int newmonth, int newday)
           
SchemaDate(SchemaDate newvalue)
           
SchemaDate(SchemaDateTime rhs)
           
SchemaDate(SchemaType newvalue)
           
SchemaDate(SchemaTypeCalendar newvalue)
           
SchemaDate(java.lang.String newvalue)
           
 
Method Summary
 void assign(SchemaType newvalue)
           
 int calendarType()
           
 java.lang.Object clone()
           
 SchemaDateTime dateTimeValue()
           
 SchemaDate dateValue()
           
 int getDay()
           
 int getMonth()
           
 java.util.Calendar getValue()
           
 int getYear()
           
static SchemaDate now()
           
 void parse(java.lang.String s)
           
 void setDay(int newday)
           
 void setMonth(int newmonth)
           
 void setValue(java.util.Calendar newvalue)
           
 void setYear(int newyear)
           
 SchemaTime timeValue()
           
 java.lang.String toString()
           
 
Methods inherited from class com.jmex.xml.types.SchemaCalendarBase
booleanValue, compareTo, compareTo, durationValue, equals, getApproximatedTotal, getDate, getTimeValue, hashCode, isEmpty, isNull, length, parseDate, parseDateTime, parseTime, setDateFromTimeValue, setEmpty, setInternalValues, setNull, setTimeFromTimeValue, toDateString, toTimeString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaDate

public SchemaDate()

SchemaDate

public SchemaDate(SchemaDate newvalue)

SchemaDate

public SchemaDate(SchemaDateTime rhs)

SchemaDate

public SchemaDate(int newyear,
                  int newmonth,
                  int newday)

SchemaDate

public SchemaDate(java.util.Calendar newvalue)

SchemaDate

public SchemaDate(java.lang.String newvalue)

SchemaDate

public SchemaDate(SchemaType newvalue)

SchemaDate

public SchemaDate(SchemaTypeCalendar newvalue)
Method Detail

getYear

public int getYear()

getMonth

public int getMonth()

getDay

public int getDay()

getValue

public java.util.Calendar getValue()

setYear

public void setYear(int newyear)

setMonth

public void setMonth(int newmonth)

setDay

public void setDay(int newday)

setValue

public void setValue(java.util.Calendar newvalue)

parse

public void parse(java.lang.String s)
           throws StringParseException
Throws:
StringParseException

assign

public void assign(SchemaType newvalue)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface SchemaType
Overrides:
toString in class java.lang.Object

now

public static SchemaDate now()

calendarType

public int calendarType()

dateTimeValue

public SchemaDateTime dateTimeValue()

dateValue

public SchemaDate dateValue()

timeValue

public SchemaTime timeValue()