| Modifier and Type | Field and Description |
|---|---|
| private Integer | day
day (always normalized, between 0-30) this variable is null if no year is specified |
| private Integer | hour
hour (always between 0 and 23) this variable is null if no year is specified |
| private Integer | minute
minute (always between 0 and 59) this variable is null if no year is specified |
| private Integer | month
month (always between 0 and 11) this variable is null if no year is specified |
| private IDateTimeValueType | normalizedValue
normalized DateTimeValue of this object. |
| private BigDecimal | second
second (always in [0,60) ) this variable is null if no year is specified |
| private static final long | |
| private BigInteger | year
year value. |
| private TimeZone | zone
time zone specifier. |
| Access | Constructor and Description |
|---|---|
| public | BigDateTimeValueType(BigDateTimeValueType base, TimeZone newTimeZone)
creates an instance with the specified BigDateTimeValueType, with modified time zone. |
| 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 |
| Modifier and Type | Method and Description |
|---|---|
| public IDateTimeValueType | add(ITimeDurationValueType _rhs)
Implements com. |
| public int | compare(IDateTimeValueType o)
Implements com. |
| protected static int | compare(BigDateTimeValueType lhs, BigDateTimeValueType rhs)
compares two BigDateTimeValueType and returns one of the constant defined in
|
| protected TimeZone | Returns: a non-null valid object.
Deprecated
use
Creates the equivalent Java TimeZone object.
getTimeZone().
|
| private static BigInteger[] | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public boolean | |
| public boolean | |
| public BigDateTimeValueType | |
| public Integer | |
| public Integer | |
| public Integer | |
| public Integer | |
| public BigDecimal | |
| public TimeZone | |
| public BigInteger | |
| public int | |
| public IDateTimeValueType | normalize()
Implements com. |
| private static BigInteger | |
| private static BigDecimal | |
| private BigInteger | |
| private BigDecimal | |
| public Calendar | toCalendar()
Implements com. |
| public String |
| day | back to summary |
|---|---|
| private Integer day day (always normalized, between 0-30) this variable is null if no year is specified | |
| hour | back to summary |
|---|---|
| private Integer hour hour (always between 0 and 23) this variable is null if no year is specified | |
| minute | back to summary |
|---|---|
| private Integer minute minute (always between 0 and 59) this variable is null if no year is specified | |
| month | back to summary |
|---|---|
| private Integer month month (always between 0 and 11) this variable is null if no year is specified | |
| normalizedValue | back to summary |
|---|---|
| private IDateTimeValueType normalizedValue normalized DateTimeValue of this object. once when the normalized value is computed, the value is kept in this varible so that successive calls to normalize method need not have to compute it again. This approach assumes that modification to the date/time component will never be made. | |
| second | back to summary |
|---|---|
| private BigDecimal second second (always in [0,60) ) this variable is null if no year is specified | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| year | back to summary |
|---|---|
| private BigInteger year year value. this variable is null if no year is specified. Since there is no year 0, value 0 indicates year -1. -1 indicates -2, and so forth. | |
| zone | back to summary |
|---|---|
| private TimeZone zone time zone specifier. null if missing | |
| BigDateTimeValueType | back to summary |
|---|---|
| public BigDateTimeValueType(BigDateTimeValueType base, TimeZone newTimeZone) creates an instance with the specified BigDateTimeValueType, with modified time zone. created object shares its date/time value component with the original one, so special care is necessary not to mutate those values. | |
| BigDateTimeValueType | back to summary |
|---|---|
| public BigDateTimeValueType(BigInteger year, int month, int day, int hour, int minute, BigDecimal second, TimeZone timeZone) | |
| BigDateTimeValueType | back to summary |
|---|---|
| public BigDateTimeValueType(BigInteger year, Integer month, Integer day, Integer hour, Integer minute, BigDecimal second, TimeZone timeZone) | |
| BigDateTimeValueType | back to summary |
|---|---|
| public BigDateTimeValueType() | |
| add | back to summary |
|---|---|
| public IDateTimeValueType add(ITimeDurationValueType _rhs) Implements com. Doc from com. returns the result of addition of this object and TimeDuration. this object will not be mutated. | |
| compare | back to summary |
|---|---|
| public int compare(IDateTimeValueType o) Implements com. Doc from com. compare two DateTimeValueType as defined in com.sun.msv.datatype/Comparator | |
| compare | back to summary |
|---|---|
| protected static int compare(BigDateTimeValueType lhs, BigDateTimeValueType rhs) compares two BigDateTimeValueType and returns one of the constant defined in
| |
| createJavaTimeZone | back to summary |
|---|---|
| protected TimeZone createJavaTimeZone()
Deprecated use Creates the equivalent Java TimeZone object.
| |
| divideAndRemainder | back to summary |
|---|---|
| private static BigInteger[] divideAndRemainder(BigInteger x1, BigInteger x2) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| equals | back to summary |
|---|---|
| public boolean equals(IDateTimeValueType rhs) | |
| equals | back to summary |
|---|---|
| public boolean equals(BigDateTimeValueType lhs, BigDateTimeValueType rhs) | |
| getBigValue | back to summary |
|---|---|
| public BigDateTimeValueType getBigValue() Implements com. | |
| getDay | back to summary |
|---|---|
| public Integer getDay() | |
| getHour | back to summary |
|---|---|
| public Integer getHour() | |
| getMinute | back to summary |
|---|---|
| public Integer getMinute() | |
| getMonth | back to summary |
|---|---|
| public Integer getMonth() | |
| getSecond | back to summary |
|---|---|
| public BigDecimal getSecond() | |
| getTimeZone | back to summary |
|---|---|
| public TimeZone getTimeZone() | |
| getYear | back to summary |
|---|---|
| public BigInteger getYear() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| normalize | back to summary |
|---|---|
| public IDateTimeValueType normalize() Implements com. Doc from com. gets the normalized IDateTimeValueType. normalized value always has GMT timezone or no timezone | |
| nullAs0 | back to summary |
|---|---|
| private static BigInteger nullAs0(BigInteger o) | |
| nullAs0 | back to summary |
|---|---|
| private static BigDecimal nullAs0(BigDecimal o) | |
| signed | back to summary |
|---|---|
| private BigInteger signed(BigTimeDurationValueType dur, BigInteger i) | |
| signed | back to summary |
|---|---|
| private BigDecimal signed(BigTimeDurationValueType dur, BigDecimal i) | |
| toCalendar | back to summary |
|---|---|
| public Calendar toCalendar() Implements com. Doc from com. Approximates the value represented by this object into a Calendar object. This conversion may lose accuracy. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. gets a human-readable representation of this object. return value is not intended to be compliant with the canonical representation of "dateTime" type.
| |