Kotlin Wrappers API Reference
Toggle table of contents
web
Target filter
web
Switch theme
Search in API
kotlin-js
/
js.temporal
/
PlainYearMonth
/
Companion
Companion
web
object
Companion
:
PlainCompanion
<
PlainYearMonth
,
PlainYearMonthLike
>
(
source
)
Members
Functions
compare
Link copied to clipboard
web
open
fun
compare
(
a
:
PlainYearMonth
,
b
:
PlainYearMonth
)
:
ComparisonResult
open
fun
compare
(
a
:
PlainYearMonth
,
b
:
PlainYearMonthLike
)
:
ComparisonResult
open
fun
compare
(
a
:
PlainYearMonthLike
,
b
:
PlainYearMonthLike
)
:
ComparisonResult
open
fun
compare
(
a
:
PlainYearMonth
,
b
:
String
)
:
ComparisonResult
open
fun
compare
(
a
:
PlainYearMonthLike
,
b
:
String
)
:
ComparisonResult
open
fun
compare
(
a
:
String
,
b
:
String
)
:
ComparisonResult
from
Link copied to clipboard
web
open
fun
from
(
value
:
PlainYearMonth
,
options
:
AssignmentOptions
)
:
PlainYearMonth
open
fun
from
(
value
:
PlainYearMonthLike
,
options
:
AssignmentOptions
)
:
PlainYearMonth
open
fun
from
(
value
:
String
,
options
:
AssignmentOptions
)
:
PlainYearMonth