From c73905e037608c76b08e4a3327fc53fe72a96622 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 7 Jun 2019 01:43:13 +0200 Subject: Code style fixes. --- .../src/main/kotlin/pl/treksoft/kvision/moment/Moment.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'kvision-modules/kvision-moment') diff --git a/kvision-modules/kvision-moment/src/main/kotlin/pl/treksoft/kvision/moment/Moment.kt b/kvision-modules/kvision-moment/src/main/kotlin/pl/treksoft/kvision/moment/Moment.kt index 9eb9d9a7..39e7c2dc 100644 --- a/kvision-modules/kvision-moment/src/main/kotlin/pl/treksoft/kvision/moment/Moment.kt +++ b/kvision-modules/kvision-moment/src/main/kotlin/pl/treksoft/kvision/moment/Moment.kt @@ -23,7 +23,7 @@ package pl.treksoft.kvision.moment import kotlin.js.Date -@Suppress("unused") +@Suppress("unused", "TooManyFunctions") @JsNonModule @JsModule("moment") open external class Moment { @@ -79,7 +79,9 @@ open external class Moment { open fun isSameOrAfter(moment: dynamic): Boolean = definedExternally open fun isSameOrAfter(moment: dynamic, key: String): Boolean = definedExternally open fun isBetween(firstMoment: dynamic, secondMoment: dynamic): Boolean = definedExternally - open fun isBetween(firstMoment: dynamic, secondMoment: dynamic, key: String, inclusivity: String): Boolean = definedExternally + open fun isBetween(firstMoment: dynamic, secondMoment: dynamic, key: String, inclusivity: String): Boolean = + definedExternally + open fun isBetween(firstMoment: dynamic, secondMoment: dynamic, key: String): Boolean = definedExternally open fun isDST(): Boolean = definedExternally open fun isDSTShifted(): Boolean = definedExternally -- cgit