Temporal

scalation.database.Temporal
trait Temporal(var time: Double) extends Ordered[Temporal]

The Temporal trait provides time coordinates that are temporally ordered.

Value parameters

time

the time coordinate for the temporal object

Attributes

See also

scalation.TimeNum

Graph
Supertypes
trait Ordered[Temporal]
trait Comparable[Temporal]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def compare(other: Temporal): Int

Compare two temporal objects based on their time coordinate.

Compare two temporal objects based on their time coordinate.

Value parameters

other

the other item to compare with this item

Attributes

def r_rescale(factor: Double): Double

Rescale from actual-time (e.g., minutes) to animation-time (milliseconds).

Rescale from actual-time (e.g., minutes) to animation-time (milliseconds).

Value parameters

factor

the time rescaling factor

Attributes

override def toString: String

Convert the temporal object to a string.

Convert the temporal object to a string.

Attributes

Definition Classes
Any

Inherited methods

def <(that: Temporal): Boolean

Returns true if this is less than that

Returns true if this is less than that

Attributes

Inherited from:
Ordered
def <=(that: Temporal): Boolean

Returns true if this is less than or equal to that.

Returns true if this is less than or equal to that.

Attributes

Inherited from:
Ordered
def >(that: Temporal): Boolean

Returns true if this is greater than that.

Returns true if this is greater than that.

Attributes

Inherited from:
Ordered
def >=(that: Temporal): Boolean

Returns true if this is greater than or equal to that.

Returns true if this is greater than or equal to that.

Attributes

Inherited from:
Ordered
def compareTo(that: Temporal): Int

Result of comparing this with operand that.

Result of comparing this with operand that.

Attributes

Inherited from:
Ordered

Concrete fields

var time: Double