com.kitfox.svg.animation
Class TimeIndefinite
java.lang.Object
com.kitfox.svg.animation.TimeBase
com.kitfox.svg.animation.TimeIndefinite
public class TimeIndefinite
- extends TimeBase
This represents the indefinite (infinite) amount of time.
- Author:
- Mark McKay, Mark McKay
|
Constructor Summary |
TimeIndefinite()
Creates a new instance of TimeDiscrete |
|
Method Summary |
double |
evalTime()
Calculates the (greater than or equal to 0) time in seconds this
time represents. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeIndefinite
public TimeIndefinite()
- Creates a new instance of TimeDiscrete
evalTime
public double evalTime()
- Description copied from class:
TimeBase
- Calculates the (greater than or equal to 0) time in seconds this
time represents. If the time cannot be determined, returns
Double.NaN. If this represents an infinte amount of time, returns
Double.POSITIVE_INFINITY.
- Specified by:
evalTime in class TimeBase
Copyright © 2011-2012 Barchart, Inc.. All Rights Reserved.