public interface IlvTimeConverter
IlvTimeConverter
implementations are used to convert between Date
s
and floating-point IlvManager
world coordinates. A time
converter is used by components that need to display time-related information, such as
the IlvGanttSheet
or the IlvTimeScale
.Modifier and Type | Field and Description |
---|---|
static Date |
DEFAULT_REFERENCE_TIME
The default reference time for time converters.
|
Modifier and Type | Method and Description |
---|---|
Date |
getTime(double units)
Converts the specified double value to a
Date . |
double |
getUnits(Date time)
Converts the specified
Date to a double . |
boolean |
isLinear()
Returns whether the time converter is continuous and linear.
|
static final Date DEFAULT_REFERENCE_TIME
double getUnits(Date time)
Date
to a double
.time
- The Date
to be converted.Date getTime(double units)
Date
.units
- The double
value to be converted.boolean isLinear()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.