aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-moment/src
diff options
context:
space:
mode:
authorRobbie Cronin <robert.cronin@uqconnect.edu.au>2019-06-21 13:17:30 +0800
committerGitHub <noreply@github.com>2019-06-21 13:17:30 +0800
commit2f8e0060308b0f5b1eeac9541600bfed3ad5acc9 (patch)
tree80d40364c5f5957da8c82578dd1152adac06912e /kvision-modules/kvision-moment/src
parent9038555f9e46a32a0a725112304e64cdd408bf8e (diff)
parentd9f1a90c772719d14540eb2bf7bc3b8384fa7a72 (diff)
downloadkvision-2f8e0060308b0f5b1eeac9541600bfed3ad5acc9.tar.gz
kvision-2f8e0060308b0f5b1eeac9541600bfed3ad5acc9.tar.bz2
kvision-2f8e0060308b0f5b1eeac9541600bfed3ad5acc9.zip
Merge pull request #1 from rjaros/master
merge
Diffstat (limited to 'kvision-modules/kvision-moment/src')
-rw-r--r--kvision-modules/kvision-moment/src/main/kotlin/pl/treksoft/kvision/moment/Moment.kt6
1 files changed, 4 insertions, 2 deletions
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