|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.imsl.chart.TransformDate
public class TransformDate
Defines a transformation along an axis that skips weekend dates.
Constructor Summary | |
---|---|
TransformDate()
|
Method Summary | |
---|---|
boolean |
isWeekday(GregorianCalendar cal)
Returns true if the specified date is a weekday. |
double |
mapUnitToUser(double unit)
Maps points in the interval [0,1] to user coordinates. |
double |
mapUserToUnit(double user)
Maps user coordinate to the interval [0,1]. |
void |
setupMapping(Axis1D axis1d)
Initializes the mappings between user and coordinate space. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransformDate()
Method Detail |
---|
public boolean isWeekday(GregorianCalendar cal)
public double mapUnitToUser(double unit)
mapUnitToUser
in interface Transform
public double mapUserToUnit(double user)
mapUserToUnit
in interface Transform
public void setupMapping(Axis1D axis1d)
setupMapping
in interface Transform
|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |