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
HourInterval
Class HourInterval
Hierarchy
UnitTimeInterval
HourInterval
Index
Constructors
constructor
Properties
Millis
Per
Hour
Millis
Per
Minute
Millis
Per
Second
Accessors
day
hour
millisecond
minute
month
second
week
year
Methods
ceil
every
filter
floor
next
offset
range
round
days
hours
milliseconds
minutes
modulo
months
seconds
weeks
years
Constructors
constructor
new
Hour
Interval
(
)
:
HourInterval
Returns
HourInterval
Properties
Static
Readonly
Millis
Per
Hour
Millis
Per
Hour
:
number
Static
Readonly
Millis
Per
Minute
Millis
Per
Minute
:
number
Static
Readonly
Millis
Per
Second
Millis
Per
Second
:
number
Accessors
Static
day
get
day
(
)
:
UnitTimeInterval
Returns
UnitTimeInterval
Static
hour
get
hour
(
)
:
UnitTimeInterval
Returns
UnitTimeInterval
Static
millisecond
get
millisecond
(
)
:
UnitTimeInterval
Returns
UnitTimeInterval
Static
minute
get
minute
(
)
:
UnitTimeInterval
Returns
UnitTimeInterval
Static
month
get
month
(
)
:
UnitTimeInterval
Returns
UnitTimeInterval
Static
second
get
second
(
)
:
UnitTimeInterval
Returns
UnitTimeInterval
Static
week
get
week
(
)
:
TimeInterval
Returns
TimeInterval
Static
year
get
year
(
)
:
UnitTimeInterval
Returns
UnitTimeInterval
Methods
ceil
ceil
(
d
:
AnyDateTime
)
:
DateTime
Parameters
d:
AnyDateTime
Returns
DateTime
every
every
(
k
:
number
)
:
TimeInterval
Parameters
k:
number
Returns
TimeInterval
filter
filter
(
predicate
:
(
d
:
DateTime
)
=>
boolean
)
:
TimeInterval
Parameters
predicate:
(
d
:
DateTime
)
=>
boolean
(
d
:
DateTime
)
:
boolean
Parameters
d:
DateTime
Returns
boolean
Returns
TimeInterval
floor
floor
(
d
:
AnyDateTime
)
:
DateTime
Parameters
d:
AnyDateTime
Returns
DateTime
next
next
(
d
:
AnyDateTime
, k
?:
number
)
:
DateTime
Parameters
d:
AnyDateTime
Optional
k:
number
Returns
DateTime
offset
offset
(
d
:
AnyDateTime
, k
?:
number
)
:
DateTime
Parameters
d:
AnyDateTime
Optional
k:
number
Returns
DateTime
range
range
(
t0
:
AnyDateTime
, t1
:
AnyDateTime
, step
?:
number
)
:
DateTime
[]
Parameters
t0:
AnyDateTime
t1:
AnyDateTime
Optional
step:
number
Returns
DateTime
[]
round
round
(
t
:
AnyDateTime
)
:
DateTime
Parameters
t:
AnyDateTime
Returns
DateTime
Static
days
days
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
number
Returns
DateTime
[]
Static
hours
hours
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
number
Returns
DateTime
[]
Static
milliseconds
milliseconds
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
number
Returns
DateTime
[]
Static
minutes
minutes
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
number
Returns
DateTime
[]
Static
modulo
modulo
(
k
:
number
, d
:
DateTime
)
:
boolean
Parameters
k:
number
d:
DateTime
Returns
boolean
Static
months
months
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
number
Returns
DateTime
[]
Static
seconds
seconds
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
number
Returns
DateTime
[]
Static
weeks
weeks
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
number
Returns
DateTime
[]
Static
years
years
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
number
Returns
DateTime
[]
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
Hour
Interval
constructor
Millis
Per
Hour
Millis
Per
Minute
Millis
Per
Second
day
hour
millisecond
minute
month
second
week
year
ceil
every
filter
floor
next
offset
range
round
days
hours
milliseconds
minutes
modulo
months
seconds
weeks
years
Generated using
TypeDoc