com.jmex.xml.types
Class SchemaDateTime
java.lang.Object
com.jmex.xml.types.SchemaCalendarBase
com.jmex.xml.types.SchemaDateTime
- All Implemented Interfaces:
- SchemaType, SchemaTypeCalendar, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class SchemaDateTime
- 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 |
|
Constructor Summary |
SchemaDateTime()
|
SchemaDateTime(java.util.Calendar newvalue)
|
SchemaDateTime(int newyear,
int newmonth,
int newday,
int newhour,
int newminute,
int newsecond,
double newpartsecond)
|
SchemaDateTime(int newyear,
int newmonth,
int newday,
int newhour,
int newminute,
int newsecond,
double newpartsecond,
int newoffsetTZ)
|
SchemaDateTime(SchemaDateTime newvalue)
|
SchemaDateTime(SchemaType newvalue)
|
SchemaDateTime(SchemaTypeCalendar newvalue)
|
SchemaDateTime(java.lang.String newvalue)
|
| 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 |
SchemaDateTime
public SchemaDateTime()
SchemaDateTime
public SchemaDateTime(SchemaDateTime newvalue)
SchemaDateTime
public SchemaDateTime(int newyear,
int newmonth,
int newday,
int newhour,
int newminute,
int newsecond,
double newpartsecond,
int newoffsetTZ)
SchemaDateTime
public SchemaDateTime(int newyear,
int newmonth,
int newday,
int newhour,
int newminute,
int newsecond,
double newpartsecond)
SchemaDateTime
public SchemaDateTime(java.util.Calendar newvalue)
SchemaDateTime
public SchemaDateTime(java.lang.String newvalue)
SchemaDateTime
public SchemaDateTime(SchemaType newvalue)
SchemaDateTime
public SchemaDateTime(SchemaTypeCalendar newvalue)
getYear
public int getYear()
getMonth
public int getMonth()
getDay
public int getDay()
getHour
public int getHour()
getMinute
public int getMinute()
getSecond
public int getSecond()
getPartSecond
public double getPartSecond()
getMillisecond
public int getMillisecond()
hasTimezone
public int hasTimezone()
getTimezoneOffset
public int getTimezoneOffset()
getValue
public java.util.Calendar getValue()
setYear
public void setYear(int newyear)
setMonth
public void setMonth(int newmonth)
setDay
public void setDay(int newday)
setHour
public void setHour(int newhour)
setMinute
public void setMinute(int newminute)
setSecond
public void setSecond(int newsecond)
setPartSecond
public void setPartSecond(double newpartsecond)
setMillisecond
public void setMillisecond(int newmillisecond)
setTimezone
public void setTimezone(int newhasTZ,
int newoffsetTZminutes)
setValue
public void setValue(java.util.Calendar newvalue)
parse
public void parse(java.lang.String s)
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 SchemaDateTime now()
calendarType
public int calendarType()
dateTimeValue
public SchemaDateTime dateTimeValue()
dateValue
public SchemaDate dateValue()
timeValue
public SchemaTime timeValue()