toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-js
/
js.temporal
/
TimeZoneProtocol
Time
Zone
Protocol
external
interface
TimeZoneProtocol
:
TimeZoneLike
(
source
)
Members
Properties
get
Instant
For
Link copied to clipboard
abstract
val
getInstantFor
:
(
dateTime
:
PlainDateTime
,
options
:
ToInstantOptions
?
)
->
Instant
?
get
Next
Transition
Link copied to clipboard
abstract
val
getNextTransition
:
(
startingPoint
:
Instant
)
->
Instant
?
?
get
Offset
Nanoseconds
For
Link copied to clipboard
abstract
val
getOffsetNanosecondsFor
:
(
instant
:
Instant
)
->
Int
get
Offset
String
For
Link copied to clipboard
abstract
val
getOffsetStringFor
:
(
instant
:
Instant
)
->
String
?
get
Plain
Date
Time
For
Link copied to clipboard
abstract
val
getPlainDateTimeFor
:
(
instant
:
Instant
,
calendar
:
CalendarLike
?
)
->
PlainDateTime
?
get
Possible
Instants
For
Link copied to clipboard
abstract
val
getPossibleInstantsFor
:
(
dateTime
:
PlainDateTime
)
->
ReadonlyArray
<
Instant
>
get
Previous
Transition
Link copied to clipboard
abstract
val
getPreviousTransition
:
(
startingPoint
:
Instant
)
->
Instant
?
?
id
Link copied to clipboard
abstract
val
id
:
String
to
JSON
Link copied to clipboard
abstract
val
toJSON
:
(
)
->
String
?
to
String
Link copied to clipboard
abstract
val
toString
:
(
)
->
String
?