|
||||||||||
| 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 IDateTimeValueTypepublic boolean equals(Object o)
equals in class Objectpublic boolean equals(IDateTimeValueType rhs)
public boolean equals(BigDateTimeValueType lhs,
BigDateTimeValueType rhs)
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic 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 IDateTimeValueTypepublic IDateTimeValueType add(ITimeDurationValueType _rhs)
IDateTimeValueType
add in interface IDateTimeValueTypepublic Calendar toCalendar()
IDateTimeValueType
toCalendar in interface IDateTimeValueTypeprotected TimeZone createJavaTimeZone()
getTimeZone().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||