|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.io.pof.PofHelper
com.tangosol.io.pof.RawDateTime
public class RawDateTime
An immutable POF date-time value.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tangosol.io.pof.PofHelper |
---|
PofHelper.ReadableEntrySetMap, PofHelper.WriteableEntrySetMap |
Field Summary |
---|
Fields inherited from class com.tangosol.io.pof.PofHelper |
---|
BIGDECIMAL_ZERO, BIGINTEGER_MAX_LONG, BIGINTEGER_MIN_LONG, BINARY_EMPTY, BOOLEAN_ARRAY_EMPTY, BYTE_ARRAY_EMPTY, CHAR_ARRAY_EMPTY, COLLECTION_EMPTY, DOUBLE_ARRAY_EMPTY, FLOAT_ARRAY_EMPTY, INT_ARRAY_EMPTY, LONG_ARRAY_EMPTY, OBJECT_ARRAY_EMPTY, SHORT_ARRAY_EMPTY |
Constructor Summary | |
---|---|
RawDateTime(RawDate date, RawTime time) Construct a date-time value. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) Compare this object with another for equality. |
RawDate |
getRawDate() Obtain the date portion of the raw date-time value. |
RawTime |
getRawTime() Obtain the time portion of the raw date-time value. |
int |
hashCode() Obtain the hashcode for this object. |
java.util.Date |
toJavaDate() Create a Java Date from the raw date/time information. |
java.sql.Timestamp |
toSqlTimestamp() Create a JDBC Timestamp from the raw date/time information. |
java.lang.String |
toString() Format this object's data as a human-readable string. |
Constructor Detail |
---|
public RawDateTime(RawDate date, RawTime time)
date
- the date portion of the raw date-time valuetime
- the time portion of the raw date-time valueMethod Detail |
---|
public RawDate getRawDate()
public RawTime getRawTime()
public java.sql.Timestamp toSqlTimestamp()
public java.util.Date toJavaDate()
public boolean equals(java.lang.Object o)
o
- another object to compare to for equalitypublic int hashCode()
public java.lang.String toString()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |