toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.temporal
/
HasDurationOperations
Has
Duration
Operations
sealed
external
interface
HasDurationOperations
<
T
:
HasDurationOperations
<
T
,
O
>
,
in
O
:
Any
>
(
source
)
Inheritors
Duration
HasArithmeticOperations
Members
Functions
add
Link copied to clipboard
open
fun
add
(
duration
:
Duration
,
options
:
O
=
definedExternally
)
:
T
open
fun
add
(
duration
:
DurationLike
,
options
:
O
=
definedExternally
)
:
T
open
fun
add
(
duration
:
String
,
options
:
O
=
definedExternally
)
:
T
subtract
Link copied to clipboard
open
fun
subtract
(
duration
:
Duration
,
options
:
O
=
definedExternally
)
:
T
open
fun
subtract
(
duration
:
DurationLike
,
options
:
O
=
definedExternally
)
:
T
open
fun
subtract
(
duration
:
String
,
options
:
O
=
definedExternally
)
:
T