public class IlvDateConverter extends Object implements IlvDataConverter, Serializable
Date
object
and a double value.IlvSwingTableDataSource.setDefaultConverter(java.lang.Class<?>, ilog.views.chart.data.IlvDataConverter)
,
Serialized FormConstructor and Description |
---|
IlvDateConverter()
Creates a new
IlvDateConverter object. |
Modifier and Type | Method and Description |
---|---|
Object |
toObject(double value)
Converts the given value to a
java.util.Date object. |
double |
toValue(Object object)
Converts the given object to its double representation.
|
public IlvDateConverter()
IlvDateConverter
object.public double toValue(Object object)
toValue
in interface IlvDataConverter
object
- The date to convert. Should be an instance of
java.util.Date
.public Object toObject(double value)
java.util.Date
object.toObject
in interface IlvDataConverter
value
- The time to convert expressed in milliseconds.java.util.Date
object.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.