|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.msv.datatype.xsd.datetime.BigDateTimeValueType
public class BigDateTimeValueType
DateTimeValueType object that can hold all lexically valid dateTime value. This class provides:
Constructor Summary | |
---|---|
BigDateTimeValueType()
|
|
BigDateTimeValueType(BigDateTimeValueType base,
TimeZone newTimeZone)
creates an instance with the specified BigDateTimeValueType, with modified time zone. |
|
BigDateTimeValueType(BigInteger year,
Integer month,
Integer day,
Integer hour,
Integer minute,
BigDecimal second,
TimeZone timeZone)
|
|
BigDateTimeValueType(BigInteger year,
int month,
int day,
int hour,
int minute,
BigDecimal second,
TimeZone timeZone)
|
Method Summary | |
---|---|
IDateTimeValueType |
add(ITimeDurationValueType _rhs)
returns the result of addition of this object and TimeDuration. |
protected static int |
compare(BigDateTimeValueType lhs,
BigDateTimeValueType rhs)
compares two BigDateTimeValueType and returns one of the constant defined in Comparator . |
int |
compare(IDateTimeValueType o)
compare two DateTimeValueType as defined in com.sun.msv.datatype/Comparator |
protected TimeZone |
createJavaTimeZone()
Deprecated. use getTimeZone() . |
boolean |
equals(BigDateTimeValueType lhs,
BigDateTimeValueType rhs)
|
boolean |
equals(IDateTimeValueType rhs)
|
boolean |
equals(Object o)
|
BigDateTimeValueType |
getBigValue()
|
Integer |
getDay()
|
Integer |
getHour()
|
Integer |
getMinute()
|
Integer |
getMonth()
|
BigDecimal |
getSecond()
|
TimeZone |
getTimeZone()
|
BigInteger |
getYear()
|
int |
hashCode()
|
IDateTimeValueType |
normalize()
gets the normalized IDateTimeValueType. |
Calendar |
toCalendar()
Approximates the value represented by this object into a Calendar object. |
String |
toString()
gets a human-readable representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BigDateTimeValueType(BigDateTimeValueType base, TimeZone newTimeZone)
public BigDateTimeValueType(BigInteger year, int month, int day, int hour, int minute, BigDecimal second, TimeZone timeZone)
public BigDateTimeValueType(BigInteger year, Integer month, Integer day, Integer hour, Integer minute, BigDecimal second, TimeZone timeZone)
public BigDateTimeValueType()
Method Detail |
---|
public BigInteger getYear()
public Integer getMonth()
public Integer getDay()
public Integer getHour()
public Integer getMinute()
public BigDecimal getSecond()
public TimeZone getTimeZone()
public BigDateTimeValueType getBigValue()
getBigValue
in interface IDateTimeValueType
public boolean equals(Object o)
equals
in class Object
public boolean equals(IDateTimeValueType rhs)
public boolean equals(BigDateTimeValueType lhs, BigDateTimeValueType rhs)
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public int compare(IDateTimeValueType o)
IDateTimeValueType
compare
in interface IDateTimeValueType
protected static int compare(BigDateTimeValueType lhs, BigDateTimeValueType rhs)
Comparator
.
Order-relation between two dateTime is defined in
http://www.w3.org/TR/xmlschema-2/#dateTime
public IDateTimeValueType normalize()
IDateTimeValueType
normalize
in interface IDateTimeValueType
public IDateTimeValueType add(ITimeDurationValueType _rhs)
IDateTimeValueType
add
in interface IDateTimeValueType
public Calendar toCalendar()
IDateTimeValueType
toCalendar
in interface IDateTimeValueType
protected TimeZone createJavaTimeZone()
getTimeZone()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |