|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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, 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(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. |
Date |
toJavaDate()
Create a Java Date from the raw date/time information. |
Timestamp |
toSqlTimestamp()
Create a JDBC Timestamp from the raw date/time information. |
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 Timestamp toSqlTimestamp()
public Date toJavaDate()
public boolean equals(Object o)
o
- another object to compare to for equality
public int hashCode()
public String toString()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |