public class BigDateTimeValueType extends Object implements IDateTimeValueType
| Constructor and Description |
|---|
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) |
| 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 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.
|
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()
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(IDateTimeValueType rhs)
public boolean equals(BigDateTimeValueType lhs, BigDateTimeValueType rhs)
public String toString()
public 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 Calendar toCalendar()
IDateTimeValueTypetoCalendar in interface IDateTimeValueTypeprotected TimeZone createJavaTimeZone()
getTimeZone().Copyright © 2014 Oracle Corporation. All Rights Reserved.