Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/time
TimeScale
Interface TimeScale
Hierarchy
ContinuousScale
<
DateTime
,
number
>
Interpolate
<
TimeScale
>
TimeScale
Callable
Time
Scale
(
x
:
DateTime
)
:
number
Parameters
x:
DateTime
Returns
number
Index
Properties
domain
inverse
range
Methods
can
Equal
clamp
Domain
equals
equivalent
To
interpolate
To
over
Range
solve
Domain
to
String
with
Domain
Properties
Readonly
domain
domain
:
TimeDomain
Readonly
inverse
inverse
:
Mapping
<
number
,
DateTime
>
Readonly
range
range
:
LinearRange
Methods
can
Equal
can
Equal
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
clamp
Domain
clamp
Domain
(
xMin
:
undefined
|
DateTime
, xMax
:
undefined
|
DateTime
, zMin
:
undefined
|
number
, zMax
:
undefined
|
number
, epsilon
?:
number
)
:
TimeScale
Parameters
xMin:
undefined
|
DateTime
xMax:
undefined
|
DateTime
zMin:
undefined
|
number
zMax:
undefined
|
number
Optional
epsilon:
number
Returns
TimeScale
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
equivalent
To
equivalent
To
(
that
:
unknown
, epsilon
?:
number
)
:
boolean
Parameters
that:
unknown
Optional
epsilon:
number
Returns
boolean
interpolate
To
interpolate
To
(
that
:
TimeScale
)
:
Interpolator
<
TimeScale
>
interpolate
To
(
that
:
unknown
)
:
null
|
Interpolator
<
TimeScale
>
Parameters
that:
TimeScale
Returns
Interpolator
<
TimeScale
>
Parameters
that:
unknown
Returns
null
|
Interpolator
<
TimeScale
>
over
Range
over
Range
(
range
:
LinearRange
)
:
TimeScale
over
Range
(
y0
:
number
, y1
:
number
)
:
TimeScale
Parameters
range:
LinearRange
Returns
TimeScale
Parameters
y0:
number
y1:
number
Returns
TimeScale
solve
Domain
solve
Domain
(
x1
:
DateTime
, y1
:
number
, x2
?:
DateTime
, y2
?:
number
, reflect
?:
boolean
, epsilon
?:
number
)
:
TimeScale
Parameters
x1:
DateTime
y1:
number
Optional
x2:
DateTime
Optional
y2:
number
Optional
reflect:
boolean
Optional
epsilon:
number
Returns
TimeScale
to
String
to
String
(
)
:
string
Returns
string
with
Domain
with
Domain
(
domain
:
TimeDomain
)
:
TimeScale
with
Domain
(
x0
:
AnyDateTime
, x1
:
AnyDateTime
)
:
TimeScale
Parameters
domain:
TimeDomain
Returns
TimeScale
Parameters
x0:
AnyDateTime
x1:
AnyDateTime
Returns
TimeScale
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
Time
Scale
domain
inverse
range
can
Equal
clamp
Domain
equals
equivalent
To
interpolate
To
over
Range
solve
Domain
to
String
with
Domain
Generated using
TypeDoc