Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/time
UnitTimeInterval
Class UnitTimeInterval
Hierarchy
TimeInterval
UnitTimeInterval
Index
Methods
ceil
every
filter
floor
next
offset
range
round
day
days
hour
hours
millisecond
milliseconds
minute
minutes
month
months
second
seconds
week
weeks
year
years
Methods
ceil
ceil
(
d
:
AnyDateTime
)
:
DateTime
Parameters
d:
AnyDateTime
Returns
DateTime
Abstract
every
every
(
k
:
number
)
:
TimeInterval
Parameters
k:
number
Returns
TimeInterval
filter
filter
(
predicate
:
function
)
:
TimeInterval
Parameters
predicate:
function
(
d
:
DateTime
)
:
boolean
Parameters
d:
DateTime
Returns
boolean
Returns
TimeInterval
Abstract
floor
floor
(
d
:
AnyDateTime
)
:
DateTime
Parameters
d:
AnyDateTime
Returns
DateTime
next
next
(
d
:
AnyDateTime
, k
?:
undefined
|
number
)
:
DateTime
Parameters
d:
AnyDateTime
Optional
k:
undefined
|
number
Returns
DateTime
Abstract
offset
offset
(
d
:
AnyDateTime
, k
?:
undefined
|
number
)
:
DateTime
Parameters
d:
AnyDateTime
Optional
k:
undefined
|
number
Returns
DateTime
range
range
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
undefined
|
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
undefined
|
number
Returns
DateTime
[]
round
round
(
d
:
AnyDateTime
)
:
DateTime
Parameters
d:
AnyDateTime
Returns
DateTime
Static
day
day
(
)
:
UnitTimeInterval
day
(
k
:
number
)
:
TimeInterval
Returns
UnitTimeInterval
Parameters
k:
number
Returns
TimeInterval
Static
days
days
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
undefined
|
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
undefined
|
number
Returns
DateTime
[]
Static
hour
hour
(
)
:
UnitTimeInterval
hour
(
k
:
number
)
:
TimeInterval
Returns
UnitTimeInterval
Parameters
k:
number
Returns
TimeInterval
Static
hours
hours
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
undefined
|
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
undefined
|
number
Returns
DateTime
[]
Static
millisecond
millisecond
(
)
:
UnitTimeInterval
millisecond
(
k
:
number
)
:
TimeInterval
Returns
UnitTimeInterval
Parameters
k:
number
Returns
TimeInterval
Static
milliseconds
milliseconds
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
undefined
|
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
undefined
|
number
Returns
DateTime
[]
Static
minute
minute
(
)
:
UnitTimeInterval
minute
(
k
:
number
)
:
TimeInterval
Returns
UnitTimeInterval
Parameters
k:
number
Returns
TimeInterval
Static
minutes
minutes
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
undefined
|
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
undefined
|
number
Returns
DateTime
[]
Static
month
month
(
)
:
UnitTimeInterval
month
(
k
:
number
)
:
TimeInterval
Returns
UnitTimeInterval
Parameters
k:
number
Returns
TimeInterval
Static
months
months
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
undefined
|
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
undefined
|
number
Returns
DateTime
[]
Static
second
second
(
)
:
UnitTimeInterval
second
(
k
:
number
)
:
TimeInterval
Returns
UnitTimeInterval
Parameters
k:
number
Returns
TimeInterval
Static
seconds
seconds
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
undefined
|
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
undefined
|
number
Returns
DateTime
[]
Static
week
week
(
)
:
TimeInterval
Returns
TimeInterval
Static
weeks
weeks
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
undefined
|
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
undefined
|
number
Returns
DateTime
[]
Static
year
year
(
)
:
UnitTimeInterval
year
(
k
:
number
)
:
TimeInterval
Returns
UnitTimeInterval
Parameters
k:
number
Returns
TimeInterval
Static
years
years
(
d0
:
AnyDateTime
, d1
:
AnyDateTime
, step
?:
undefined
|
number
)
:
DateTime
[]
Parameters
d0:
AnyDateTime
d1:
AnyDateTime
Optional
step:
undefined
|
number
Returns
DateTime
[]
Globals
@swim/core
@swim/codec
@swim/collections
@swim/dataflow
@swim/math
@swim/recon
@swim/streamlet
@swim/structure
@swim/time
@swim/uri
@swim/util
@swim/mesh
@swim/ui
@swim/ux
@swim/web
Date
Time
Date
Time
Format
Date
Time
Locale
Time
Interval
Time
Zone
Unit
Time
Interval
ceil
every
filter
floor
next
offset
range
round
day
days
hour
hours
millisecond
milliseconds
minute
minutes
month
months
second
seconds
week
weeks
year
years
Date
Time
Init
Date
Time
Specifiers
Any
Date
Time
Any
Time
Zone
Date
Time
Specifiers