From eeb8fdf8f890daeed907a6d0591ea6fae8421860 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 6 Mar 2019 13:53:58 +0100 Subject: API documentation for KVision 0.0.28 --- .../-date-serializer/index.html | 14 +++++ api/pl.treksoft.kvision.types/-date/-date.html | 2 +- api/pl.treksoft.kvision.types/-date/index.html | 2 +- .../-json-date-serializer/descriptor.html | 14 +++++ .../-json-date-serializer/deserialize.html | 14 +++++ .../-json-date-serializer/index.html | 59 ++++++++++++++++++++++ .../-json-date-serializer/serialize.html | 14 +++++ api/pl.treksoft.kvision.types/-k-file/index.html | 14 +++++ .../-k-v_-d-e-f-a-u-l-t_-d-a-t-e_-f-o-r-m-a-t.html | 2 +- .../-k-v_-j-s-o-n_-d-a-t-e_-f-o-r-m-a-t.html | 14 ----- api/pl.treksoft.kvision.types/index.html | 27 ++++------ .../java.util.-date/index.html | 23 --------- .../java.util.-date/to-string-f.html | 14 ----- .../kotlin.-string/index.html | 2 +- .../kotlin.-string/to-date-f.html | 2 +- .../kotlin.js.-date/index.html | 4 +- .../kotlin.js.-date/to-string-f.html | 8 +-- 17 files changed, 147 insertions(+), 82 deletions(-) create mode 100644 api/pl.treksoft.kvision.types/-json-date-serializer/descriptor.html create mode 100644 api/pl.treksoft.kvision.types/-json-date-serializer/deserialize.html create mode 100644 api/pl.treksoft.kvision.types/-json-date-serializer/index.html create mode 100644 api/pl.treksoft.kvision.types/-json-date-serializer/serialize.html delete mode 100644 api/pl.treksoft.kvision.types/-k-v_-j-s-o-n_-d-a-t-e_-f-o-r-m-a-t.html delete mode 100644 api/pl.treksoft.kvision.types/java.util.-date/index.html delete mode 100644 api/pl.treksoft.kvision.types/java.util.-date/to-string-f.html (limited to 'api/pl.treksoft.kvision.types') diff --git a/api/pl.treksoft.kvision.types/-date-serializer/index.html b/api/pl.treksoft.kvision.types/-date-serializer/index.html index ca78d8c3..f52467ba 100644 --- a/api/pl.treksoft.kvision.types/-date-serializer/index.html +++ b/api/pl.treksoft.kvision.types/-date-serializer/index.html @@ -40,5 +40,19 @@ +

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
diff --git a/api/pl.treksoft.kvision.types/-date/-date.html b/api/pl.treksoft.kvision.types/-date/-date.html index 786d3744..5a7430e3 100644 --- a/api/pl.treksoft.kvision.types/-date/-date.html +++ b/api/pl.treksoft.kvision.types/-date/-date.html @@ -11,6 +11,6 @@ expect class Date
-actual typealias Date = Date +actual typealias Date = Date diff --git a/api/pl.treksoft.kvision.types/-date/index.html b/api/pl.treksoft.kvision.types/-date/index.html index d43497c8..dff3a222 100644 --- a/api/pl.treksoft.kvision.types/-date/index.html +++ b/api/pl.treksoft.kvision.types/-date/index.html @@ -8,6 +8,6 @@ kvision / pl.treksoft.kvision.types / Date

Date

-actual typealias Date = Dateexpect class Date +actual typealias Date = Dateexpect class Date diff --git a/api/pl.treksoft.kvision.types/-json-date-serializer/descriptor.html b/api/pl.treksoft.kvision.types/-json-date-serializer/descriptor.html new file mode 100644 index 00000000..e6229d71 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-json-date-serializer/descriptor.html @@ -0,0 +1,14 @@ + + + +JsonDateSerializer.descriptor - kvision + + + +kvision / pl.treksoft.kvision.types / JsonDateSerializer / descriptor
+
+

descriptor

+ +val descriptor: SerialDescriptor + + diff --git a/api/pl.treksoft.kvision.types/-json-date-serializer/deserialize.html b/api/pl.treksoft.kvision.types/-json-date-serializer/deserialize.html new file mode 100644 index 00000000..02bda7fc --- /dev/null +++ b/api/pl.treksoft.kvision.types/-json-date-serializer/deserialize.html @@ -0,0 +1,14 @@ + + + +JsonDateSerializer.deserialize - kvision + + + +kvision / pl.treksoft.kvision.types / JsonDateSerializer / deserialize
+
+

deserialize

+ +fun deserialize(decoder: Decoder): Date + + diff --git a/api/pl.treksoft.kvision.types/-json-date-serializer/index.html b/api/pl.treksoft.kvision.types/-json-date-serializer/index.html new file mode 100644 index 00000000..29dcbd66 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-json-date-serializer/index.html @@ -0,0 +1,59 @@ + + + +JsonDateSerializer - kvision + + + +kvision / pl.treksoft.kvision.types / JsonDateSerializer
+
+

JsonDateSerializer

+object JsonDateSerializer : KSerializer<Date> +

JSON date serializer.

+

Properties

+ + + + + + + +
+

descriptor

+
+val descriptor: SerialDescriptor
+

Functions

+ + + + + + + + + + + +
+

deserialize

+
+fun deserialize(decoder: Decoder): Date
+

serialize

+
+fun serialize(encoder: Encoder, obj: Date): Unit
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + diff --git a/api/pl.treksoft.kvision.types/-json-date-serializer/serialize.html b/api/pl.treksoft.kvision.types/-json-date-serializer/serialize.html new file mode 100644 index 00000000..83a1ba60 --- /dev/null +++ b/api/pl.treksoft.kvision.types/-json-date-serializer/serialize.html @@ -0,0 +1,14 @@ + + + +JsonDateSerializer.serialize - kvision + + + +kvision / pl.treksoft.kvision.types / JsonDateSerializer / serialize
+
+

serialize

+ +fun serialize(encoder: Encoder, obj: Date): Unit + + diff --git a/api/pl.treksoft.kvision.types/-k-file/index.html b/api/pl.treksoft.kvision.types/-k-file/index.html index 1b82d996..83d4c07e 100644 --- a/api/pl.treksoft.kvision.types/-k-file/index.html +++ b/api/pl.treksoft.kvision.types/-k-file/index.html @@ -50,5 +50,19 @@ +

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
diff --git a/api/pl.treksoft.kvision.types/-k-v_-d-e-f-a-u-l-t_-d-a-t-e_-f-o-r-m-a-t.html b/api/pl.treksoft.kvision.types/-k-v_-d-e-f-a-u-l-t_-d-a-t-e_-f-o-r-m-a-t.html index 6f14831f..8e38a420 100644 --- a/api/pl.treksoft.kvision.types/-k-v_-d-e-f-a-u-l-t_-d-a-t-e_-f-o-r-m-a-t.html +++ b/api/pl.treksoft.kvision.types/-k-v_-d-e-f-a-u-l-t_-d-a-t-e_-f-o-r-m-a-t.html @@ -9,6 +9,6 @@

KV_DEFAULT_DATE_FORMAT

-expect val KV_DEFAULT_DATE_FORMAT: String +val KV_DEFAULT_DATE_FORMAT: String diff --git a/api/pl.treksoft.kvision.types/-k-v_-j-s-o-n_-d-a-t-e_-f-o-r-m-a-t.html b/api/pl.treksoft.kvision.types/-k-v_-j-s-o-n_-d-a-t-e_-f-o-r-m-a-t.html deleted file mode 100644 index 58f1392a..00000000 --- a/api/pl.treksoft.kvision.types/-k-v_-j-s-o-n_-d-a-t-e_-f-o-r-m-a-t.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -KV_JSON_DATE_FORMAT - kvision - - - -kvision / pl.treksoft.kvision.types / KV_JSON_DATE_FORMAT
-
-

KV_JSON_DATE_FORMAT

- -expect val KV_JSON_DATE_FORMAT: String - - diff --git a/api/pl.treksoft.kvision.types/index.html b/api/pl.treksoft.kvision.types/index.html index 36afb3c6..15d7017c 100644 --- a/api/pl.treksoft.kvision.types/index.html +++ b/api/pl.treksoft.kvision.types/index.html @@ -28,6 +28,15 @@ +

JsonDateSerializer

+ + +object JsonDateSerializer : KSerializer<Date> +

JSON date serializer.

+ + + +

KFile

@@ -45,7 +54,7 @@

Date

-actual typealias Date = Date +actual typealias Date = Date @@ -54,13 +63,6 @@ -

java.util.Date

- - - - - -

kotlin.String

@@ -83,14 +85,7 @@

KV_DEFAULT_DATE_FORMAT

-expect val KV_DEFAULT_DATE_FORMAT: String - - - -

KV_JSON_DATE_FORMAT

- - -expect val KV_JSON_DATE_FORMAT: String +val KV_DEFAULT_DATE_FORMAT: String diff --git a/api/pl.treksoft.kvision.types/java.util.-date/index.html b/api/pl.treksoft.kvision.types/java.util.-date/index.html deleted file mode 100644 index ebd406de..00000000 --- a/api/pl.treksoft.kvision.types/java.util.-date/index.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -pl.treksoft.kvision.types.java.util.Date - kvision - - - -kvision / pl.treksoft.kvision.types / java.util.Date
-
-

Extensions for java.util.Date

- - - - - - - -
-

toStringF

-
-expect fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String
- - diff --git a/api/pl.treksoft.kvision.types/java.util.-date/to-string-f.html b/api/pl.treksoft.kvision.types/java.util.-date/to-string-f.html deleted file mode 100644 index 2cc21a7b..00000000 --- a/api/pl.treksoft.kvision.types/java.util.-date/to-string-f.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -toStringF - kvision - - - -kvision / pl.treksoft.kvision.types / java.util.Date / toStringF
-
-

toStringF

- -expect fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String - - diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/index.html b/api/pl.treksoft.kvision.types/kotlin.-string/index.html index 87b96850..70dff2ea 100644 --- a/api/pl.treksoft.kvision.types/kotlin.-string/index.html +++ b/api/pl.treksoft.kvision.types/kotlin.-string/index.html @@ -15,7 +15,7 @@

toDateF

-expect fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date +fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date diff --git a/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html b/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html index e26819ac..50cfc555 100644 --- a/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html +++ b/api/pl.treksoft.kvision.types/kotlin.-string/to-date-f.html @@ -9,6 +9,6 @@

toDateF

-expect fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date +fun String.toDateF(format: String = KV_DEFAULT_DATE_FORMAT): Date diff --git a/api/pl.treksoft.kvision.types/kotlin.js.-date/index.html b/api/pl.treksoft.kvision.types/kotlin.js.-date/index.html index 35c865b8..08139573 100644 --- a/api/pl.treksoft.kvision.types/kotlin.js.-date/index.html +++ b/api/pl.treksoft.kvision.types/kotlin.js.-date/index.html @@ -15,9 +15,7 @@

toStringF

-actual fun Date.toStringF(format: String): String -

Extension function to convert Date to String with a given date format.

- +fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String diff --git a/api/pl.treksoft.kvision.types/kotlin.js.-date/to-string-f.html b/api/pl.treksoft.kvision.types/kotlin.js.-date/to-string-f.html index 2eaf7d69..bb153dd6 100644 --- a/api/pl.treksoft.kvision.types/kotlin.js.-date/to-string-f.html +++ b/api/pl.treksoft.kvision.types/kotlin.js.-date/to-string-f.html @@ -9,12 +9,6 @@

toStringF

-actual fun Date.toStringF(format: String): String -

Extension function to convert Date to String with a given date format.

-

Parameters

-

-format - date/time format

-

Return
-String object

+fun Date.toStringF(format: String = KV_DEFAULT_DATE_FORMAT): String -- cgit