|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.data.DataCell
org.knime.core.data.def.TimestampCell
DateAndTimeValue
and
DateAndTimeCell
. This class will be removed
in future versions of KNIME.
@Deprecated public class TimestampCell
Implementation of a DataCell
holding day/time
information as Date
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.knime.core.data.TimestampValue |
---|
TimestampValue.TimestampUtilityFactory, TimestampValue.TimestampValueComparator |
Nested classes/interfaces inherited from interface org.knime.core.data.DataValue |
---|
DataValue.UtilityFactory |
Field Summary | |
---|---|
static DataType |
TYPE
Deprecated. Convenience access member for DataType.getType(TimestampCell.class) . |
Fields inherited from interface org.knime.core.data.TimestampValue |
---|
UTILITY |
Constructor Summary | |
---|---|
TimestampCell(Date d)
Deprecated. Creates a new TimestampCell based on the given value. |
|
TimestampCell(String s)
Deprecated. Parse string and create new date object. |
|
TimestampCell(String s,
SimpleDateFormat df)
Deprecated. Parse string and create new date object. |
Method Summary | |
---|---|
protected boolean |
equalsDataCell(DataCell dc)
Deprecated. Derived classes implement their specific equals function here. |
static org.knime.core.data.def.TimestampCell.TimestampCellSerializer |
getCellSerializer()
Deprecated. Returns the factory to read/write DataCells of this class from/to a DataInput/DataOutput. |
Date |
getDate()
Deprecated. |
static Class<? extends DataValue> |
getPreferredValueClass()
Deprecated. Returns the preferred value class of this cell implementation. |
int |
hashCode()
Deprecated. This method must be implemented in order to ensure that two equal DataCell objects return the same hash code. |
String |
toString()
Deprecated. Returns the String representation of this cell's value. |
Methods inherited from class org.knime.core.data.DataCell |
---|
equals, getType, isMissing |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DataType TYPE
DataType.getType(TimestampCell.class)
.
DataType.getType(Class)
Constructor Detail |
---|
public TimestampCell(Date d)
TimestampCell
based on the given value.
d
- date to be stored.public TimestampCell(String s) throws ParseException
yyyy-MM-dd;HH:mm:ss.S
.
s
- the input string date
ParseException
- if parsing failedpublic TimestampCell(String s, SimpleDateFormat df) throws ParseException
s
- the input stringdf
- the format specification for the date in s
ParseException
- if parsing failedMethod Detail |
---|
public static final Class<? extends DataValue> getPreferredValueClass()
public Date getDate()
getDate
in interface TimestampValue
public String toString()
toString
in class DataCell
protected boolean equalsDataCell(DataCell dc)
null
or a missing value,
to be of the same class like this.
equalsDataCell
in class DataCell
dc
- the cell to compare this to
true
if this is equal to the argument,
false
if notpublic int hashCode()
DataCell
objects return the same hash code.
hashCode
in class DataCell
DataCell
Object.hashCode()
,
DataCell.equals(java.lang.Object)
public static final org.knime.core.data.def.TimestampCell.TimestampCellSerializer getCellSerializer()
DataCell
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |