public class BigDateTimeValueType extends java.lang.Object implements IDateTimeValueType
| Constructor and Description |
|---|
BigDateTimeValueType() |
BigDateTimeValueType(BigDateTimeValueType base,
java.util.TimeZone newTimeZone)
creates an instance with the specified BigDateTimeValueType,
with modified time zone.
|
BigDateTimeValueType(java.math.BigInteger year,
java.lang.Integer month,
java.lang.Integer day,
java.lang.Integer hour,
java.lang.Integer minute,
java.math.BigDecimal second,
java.util.TimeZone timeZone) |
BigDateTimeValueType(java.math.BigInteger year,
int month,
int day,
int hour,
int minute,
java.math.BigDecimal second,
java.util.TimeZone timeZone) |
| Modifier and Type | Method and Description |
|---|---|
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 java.util.TimeZone |
createJavaTimeZone()
Deprecated.
use
getTimeZone(). |
boolean |
equals(BigDateTimeValueType lhs,
BigDateTimeValueType rhs) |
boolean |
equals(IDateTimeValueType rhs) |
boolean |
equals(java.lang.Object o) |
BigDateTimeValueType |
getBigValue() |
java.lang.Integer |
getDay() |
java.lang.Integer |
getHour() |
java.lang.Integer |
getMinute() |
java.lang.Integer |
getMonth() |
java.math.BigDecimal |
getSecond() |
java.util.TimeZone |
getTimeZone() |
java.math.BigInteger |
getYear() |
int |
hashCode() |
IDateTimeValueType |
normalize()
gets the normalized IDateTimeValueType.
|
java.util.Calendar |
toCalendar()
Approximates the value represented by this object into a Calendar object.
|
java.lang.String |
toString()
gets a human-readable representation of this object.
|
public BigDateTimeValueType(BigDateTimeValueType base, java.util.TimeZone newTimeZone)
public BigDateTimeValueType(java.math.BigInteger year,
int month,
int day,
int hour,
int minute,
java.math.BigDecimal second,
java.util.TimeZone timeZone)
public BigDateTimeValueType(java.math.BigInteger year,
java.lang.Integer month,
java.lang.Integer day,
java.lang.Integer hour,
java.lang.Integer minute,
java.math.BigDecimal second,
java.util.TimeZone timeZone)
public BigDateTimeValueType()
public java.math.BigInteger getYear()
public java.lang.Integer getMonth()
public java.lang.Integer getDay()
public java.lang.Integer getHour()
public java.lang.Integer getMinute()
public java.math.BigDecimal getSecond()
public java.util.TimeZone getTimeZone()
public BigDateTimeValueType getBigValue()
getBigValue in interface IDateTimeValueTypepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean equals(IDateTimeValueType rhs)
public boolean equals(BigDateTimeValueType lhs, BigDateTimeValueType rhs)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compare(IDateTimeValueType o)
IDateTimeValueTypecompare in interface IDateTimeValueTypeprotected static int compare(BigDateTimeValueType lhs, BigDateTimeValueType rhs)
Comparator.
Order-relation between two dateTime is defined in
http://www.w3.org/TR/xmlschema-2/#dateTimepublic IDateTimeValueType normalize()
IDateTimeValueTypenormalize in interface IDateTimeValueTypepublic IDateTimeValueType add(ITimeDurationValueType _rhs)
IDateTimeValueTypeadd in interface IDateTimeValueTypepublic java.util.Calendar toCalendar()
IDateTimeValueTypetoCalendar in interface IDateTimeValueTypeprotected java.util.TimeZone createJavaTimeZone()
getTimeZone().MSV