com.jmex.xml.types
Class SchemaDate
java.lang.Object
com.jmex.xml.types.SchemaCalendarBase
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
| 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 |
| 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 |
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)
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()