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 IDateTimeValueType
public boolean equals(IDateTimeValueType rhs)
public boolean equals(BigDateTimeValueType lhs, BigDateTimeValueType rhs)
public String toString()
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/#dateTimepublic 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()
.Copyright © 2016 Oracle Corporation. All rights reserved.