Skip to content

Commit 8e55747

Browse files
committed
REDUNDANT API REMOVE Remove redundant methods
1 parent 51f22c4 commit 8e55747

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

core/jsAndWasmShared/src/kotlinx.datetime.internal.JSJoda.module_@js-joda_core.kt

-10
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ external open class ValueRange : InteropInterface {
6868
external open class TemporalAmount : InteropInterface {
6969
open fun <T : Temporal> addTo(temporal: T): T
7070
open fun get(unit: TemporalUnit): Int
71-
// open fun units(): JsArray<TemporalUnit>
7271
open fun <T : Temporal> subtractFrom(temporal: T): T
7372
}
7473

@@ -236,7 +235,6 @@ external open class Duration : TemporalAmount {
236235
open fun toMinutes(): Int
237236
open fun toNanos(): Double
238237
override fun toString(): String
239-
// override fun units(): JsArray<TemporalUnit>
240238
open fun withNanos(nanoOfSecond: Double): Duration
241239
open fun withSeconds(seconds: Int): Duration
242240

@@ -578,7 +576,6 @@ external open class Period : TemporalAmount {
578576
open fun toJSON(): String
579577
override fun toString(): String
580578
open fun toTotalMonths(): Int
581-
// override fun units(): JsArray<TemporalUnit>
582579
open fun withDays(days: Int): Period
583580
open fun withMonths(months: Int): Period
584581
open fun withYears(years: Int): Period
@@ -996,7 +993,6 @@ external open class DayOfWeek : TemporalAccessor {
996993
fun from(temporal: TemporalAccessor): DayOfWeek
997994
fun of(dayOfWeek: Int): DayOfWeek
998995
fun valueOf(name: String): DayOfWeek
999-
// fun values(): JsArray<DayOfWeek>
1000996
}
1001997
}
1002998

@@ -1036,7 +1032,6 @@ external open class Month : TemporalAccessor {
10361032
fun from(temporal: TemporalAccessor): Month
10371033
fun of(month: Int): Month
10381034
fun valueOf(name: String): Month
1039-
// fun values(): JsArray<Month>
10401035
}
10411036
}
10421037

@@ -1165,7 +1160,6 @@ external open class ZoneOffsetTransition : InteropInterface {
11651160
open fun offsetBefore(): ZoneOffset
11661161
open fun toEpochSecond(): Double
11671162
override fun toString(): String
1168-
// open fun validOffsets(): JsArray<ZoneOffset>
11691163

11701164
companion object {
11711165
fun of(transition: LocalDateTime, offsetBefore: ZoneOffset, offsetAfter: ZoneOffset): ZoneOffsetTransition
@@ -1190,9 +1184,6 @@ external open class ZoneRules : InteropInterface {
11901184
open fun standardOffset(instant: Instant): ZoneOffset
11911185
override fun toString(): String
11921186
open fun transition(localDateTime: LocalDateTime): ZoneOffsetTransition
1193-
// open fun transitionRules(): JsArray<ZoneOffsetTransitionRule>
1194-
// open fun transitions(): JsArray<ZoneOffsetTransition>
1195-
// open fun validOffsets(localDateTime: LocalDateTime): JsArray<ZoneOffset>
11961187

11971188
companion object {
11981189
fun of(offest: ZoneOffset): ZoneRules
@@ -1202,7 +1193,6 @@ external open class ZoneRules : InteropInterface {
12021193
external open class ZoneRulesProvider : InteropInterface {
12031194
companion object {
12041195
fun getRules(zoneId: String): ZoneRules
1205-
// fun getAvailableZoneIds(): JsArray<JsString>
12061196
}
12071197
}
12081198

0 commit comments

Comments
 (0)