From dba3bbc081e3367933246ab9f7af32684e100775 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 15 Nov 2022 04:06:46 +0000 Subject: [PATCH] deploy: 54be57d709d62952388a1e1944ca9ae05922dfb2 --- images/nav-icons/abstract-class-kotlin.svg | 22 ++ images/nav-icons/abstract-class.svg | 20 ++ images/nav-icons/annotation-kotlin.svg | 9 + images/nav-icons/annotation.svg | 7 + images/nav-icons/class-kotlin.svg | 9 + images/nav-icons/class.svg | 7 + images/nav-icons/enum-kotlin.svg | 9 + images/nav-icons/enum.svg | 7 + images/nav-icons/exception-class.svg | 7 + images/nav-icons/field-value.svg | 6 + images/nav-icons/field-variable.svg | 6 + images/nav-icons/function.svg | 7 + images/nav-icons/interface-kotlin.svg | 9 + images/nav-icons/interface.svg | 7 + images/nav-icons/object.svg | 9 + index.html | 19 +- .../-days-of-month-builder.html | 38 ++- .../-days-of-month-builder/index.html | 92 ++---- .../-hours-builder/-hours-builder.html | 38 ++- .../-hours-builder/index.html | 92 ++---- .../-milliseconds-builder.html | 38 ++- .../-milliseconds-builder/index.html | 92 ++---- .../-minutes-builder/-minutes-builder.html | 38 ++- .../-minutes-builder/index.html | 92 ++---- .../-months-builder/-months-builder.html | 38 ++- .../-months-builder/index.html | 92 ++---- .../-scheduler-builder.html | 38 ++- .../-scheduler-builder/build.html | 38 ++- .../-scheduler-builder/day-of-month.html | 38 ++- .../-scheduler-builder/day-of-week.html | 38 ++- .../-scheduler-builder/hours.html | 38 ++- .../-scheduler-builder/index.html | 80 ++---- .../-scheduler-builder/milliseconds.html | 38 ++- .../-scheduler-builder/minutes.html | 38 ++- .../-scheduler-builder/months.html | 38 ++- .../-scheduler-builder/seconds.html | 38 ++- .../-scheduler-builder/years.html | 38 ++- .../-seconds-builder/-seconds-builder.html | 38 ++- .../-seconds-builder/index.html | 92 ++---- .../-time-builder/allow-all.html | 38 ++- .../-time-builder/at.html | 38 ++- .../-time-builder/each.html | 38 ++- .../-time-builder/every.html | 49 ++-- .../-time-builder/first.html | 38 ++- .../-time-builder/from.html | 38 ++- .../-time-builder/include-first.html | 38 ++- .../-time-builder/include-last.html | 38 ++- .../-time-builder/include.html | 38 ++- .../-time-builder/index.html | 88 ++---- .../-time-builder/last.html | 38 ++- .../-time-builder/range-to.html | 49 ++-- .../-time-builder/up-to.html | 49 ++-- .../-week-days-builder.html | 38 ++- .../-week-days-builder/index.html | 92 ++---- .../-years-builder/-years-builder.html | 38 ++- .../-years-builder/index.html | 92 ++---- .../build-schedule.html | 49 ++-- kdocs/dev.inmo.krontab.builder/index.html | 67 ++--- .../-collection-kron-scheduler/include.html | 38 ++- .../-collection-kron-scheduler/index.html | 268 +++++++++++++++--- .../-collection-kron-scheduler/next.html | 49 ++-- .../include-all.html | 49 ++-- kdocs/dev.inmo.krontab.collection/index.html | 39 +-- .../plus-assign.html | 38 ++- kdocs/dev.inmo.krontab.collection/plus.html | 38 ++- .../calculate-near-time.html | 38 ++- .../-near-date-time-calculator/index.html | 44 ++- kdocs/dev.inmo.krontab.internal/index.html | 31 +- .../filter-days-of-months.html | 49 ++-- .../filter-hours.html | 49 ++-- .../filter-minutes.html | 49 ++-- .../filter-months.html | 49 ++-- .../filter-months0.html | 49 ++-- .../filter-months1.html | 49 ++-- .../filter-seconds.html | 49 ++-- .../filter-week-days.html | 71 ++--- .../filter-years.html | 71 ++--- kdocs/dev.inmo.krontab.utils.flows/index.html | 87 +++--- .../only-starts-of-days.html | 49 ++-- .../only-starts-of-hours.html | 49 ++-- .../only-starts-of-minutes.html | 49 ++-- .../only-starts-of-mondays.html | 49 ++-- .../only-starts-of-months.html | 49 ++-- .../only-starts-of-sundays.html | 49 ++-- .../only-starts-of-years.html | 49 ++-- kdocs/dev.inmo.krontab.utils/as-flow.html | 38 ++- kdocs/dev.inmo.krontab.utils/as-tz-flow.html | 38 ++- kdocs/dev.inmo.krontab.utils/copy.html | 38 ++- kdocs/dev.inmo.krontab.utils/index.html | 39 +-- .../dev.inmo.krontab/-any-time-scheduler.html | 38 ++- .../-every-day-of-month-scheduler.html | 38 ++- .../-every-hour-scheduler.html | 38 ++- .../-every-millisecond-scheduler.html | 38 ++- .../-every-minute-scheduler.html | 38 ++- .../-every-month-scheduler.html | 38 ++- .../-every-second-scheduler.html | 38 ++- .../-every-year-scheduler.html | 38 ++- .../dev.inmo.krontab/-kron-scheduler-tz.html | 38 ++- .../-kron-scheduler-tz/index.html | 230 ++++++++++++--- .../-kron-scheduler-tz/next.html | 49 ++-- .../-kron-scheduler-work.html | 38 ++- .../-kron-scheduler-work/do-work.html | 38 ++- .../-kron-scheduler-work/index.html | 154 +++++----- kdocs/dev.inmo.krontab/-kron-scheduler.html | 38 ++- .../-kron-scheduler/index.html | 102 +++---- .../-kron-scheduler/next.html | 38 ++- .../-krontab-template-scheduler-work.html | 38 ++- .../index.html | 148 +++++----- .../-krontab-template-wrapper.html | 38 ++- .../-krontab-template-wrapper/index.html | 233 +++++++++++++-- .../-krontab-template-wrapper/template.html | 38 ++- .../-lambda-kron-scheduler-tz.html | 38 ++- .../-lambda-kron-scheduler-tz/index.html | 244 ++++++++++++++-- .../-lambda-kron-scheduler-tz/next.html | 38 ++- .../-lambda-kron-scheduler.html | 38 ++- .../-lambda-kron-scheduler/index.html | 229 +++++++++++++-- .../-lambda-kron-scheduler/next.html | 38 ++- kdocs/dev.inmo.krontab/build-schedule.html | 49 ++-- .../create-simple-scheduler.html | 49 ++-- kdocs/dev.inmo.krontab/do-infinity-tz.html | 49 ++-- kdocs/dev.inmo.krontab/do-infinity.html | 49 ++-- kdocs/dev.inmo.krontab/do-once-tz.html | 49 ++-- kdocs/dev.inmo.krontab/do-once.html | 49 ++-- kdocs/dev.inmo.krontab/do-while-tz.html | 49 ++-- kdocs/dev.inmo.krontab/do-while.html | 49 ++-- .../enqueue-kron-scheduler-work.html | 71 ++--- ...queue-krontab-template-scheduler-work.html | 38 ++- kdocs/dev.inmo.krontab/index.html | 175 ++++-------- .../krontab-template-work-field.html | 38 ++- kdocs/dev.inmo.krontab/merge.html | 60 ++-- .../next-or-now-with-offset.html | 38 ++- kdocs/dev.inmo.krontab/next-or-now.html | 38 ++- kdocs/dev.inmo.krontab/next-or-relative.html | 49 ++-- kdocs/dev.inmo.krontab/next-time-zoned.html | 38 ++- kdocs/dev.inmo.krontab/next.html | 38 ++- kdocs/dev.inmo.krontab/to-kron-scheduler.html | 49 ++-- kdocs/dev.inmo.krontab/to-schedule.html | 49 ++-- .../wrap-as-kron-scheduler.html | 38 ++- navigation.html | 144 +++++----- scripts/main.js | 10 +- scripts/navigation-loader.js | 29 +- scripts/platform-content-handler.js | 5 +- scripts/prism.js | 31 +- scripts/symbol-parameters-wrapper_deferred.js | 83 ++++++ styles/main.css | 2 +- styles/prism.css | 168 +++++++++-- styles/style.css | 268 ++++++++++++------ 147 files changed, 3992 insertions(+), 4061 deletions(-) create mode 100644 images/nav-icons/abstract-class-kotlin.svg create mode 100644 images/nav-icons/abstract-class.svg create mode 100644 images/nav-icons/annotation-kotlin.svg create mode 100644 images/nav-icons/annotation.svg create mode 100644 images/nav-icons/class-kotlin.svg create mode 100644 images/nav-icons/class.svg create mode 100644 images/nav-icons/enum-kotlin.svg create mode 100644 images/nav-icons/enum.svg create mode 100644 images/nav-icons/exception-class.svg create mode 100644 images/nav-icons/field-value.svg create mode 100644 images/nav-icons/field-variable.svg create mode 100644 images/nav-icons/function.svg create mode 100644 images/nav-icons/interface-kotlin.svg create mode 100644 images/nav-icons/interface.svg create mode 100644 images/nav-icons/object.svg create mode 100644 scripts/symbol-parameters-wrapper_deferred.js diff --git a/images/nav-icons/abstract-class-kotlin.svg b/images/nav-icons/abstract-class-kotlin.svg new file mode 100644 index 0000000..a2069b8 --- /dev/null +++ b/images/nav-icons/abstract-class-kotlin.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/images/nav-icons/abstract-class.svg b/images/nav-icons/abstract-class.svg new file mode 100644 index 0000000..6018203 --- /dev/null +++ b/images/nav-icons/abstract-class.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/images/nav-icons/annotation-kotlin.svg b/images/nav-icons/annotation-kotlin.svg new file mode 100644 index 0000000..932f1d3 --- /dev/null +++ b/images/nav-icons/annotation-kotlin.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/images/nav-icons/annotation.svg b/images/nav-icons/annotation.svg new file mode 100644 index 0000000..b80c54b --- /dev/null +++ b/images/nav-icons/annotation.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/images/nav-icons/class-kotlin.svg b/images/nav-icons/class-kotlin.svg new file mode 100644 index 0000000..46a21f6 --- /dev/null +++ b/images/nav-icons/class-kotlin.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/images/nav-icons/class.svg b/images/nav-icons/class.svg new file mode 100644 index 0000000..3f1ad16 --- /dev/null +++ b/images/nav-icons/class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/images/nav-icons/enum-kotlin.svg b/images/nav-icons/enum-kotlin.svg new file mode 100644 index 0000000..4a85459 --- /dev/null +++ b/images/nav-icons/enum-kotlin.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/images/nav-icons/enum.svg b/images/nav-icons/enum.svg new file mode 100644 index 0000000..fa7f247 --- /dev/null +++ b/images/nav-icons/enum.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/images/nav-icons/exception-class.svg b/images/nav-icons/exception-class.svg new file mode 100644 index 0000000..c0b2bde --- /dev/null +++ b/images/nav-icons/exception-class.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/images/nav-icons/field-value.svg b/images/nav-icons/field-value.svg new file mode 100644 index 0000000..20449c9 --- /dev/null +++ b/images/nav-icons/field-value.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/images/nav-icons/field-variable.svg b/images/nav-icons/field-variable.svg new file mode 100644 index 0000000..3b07450 --- /dev/null +++ b/images/nav-icons/field-variable.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/images/nav-icons/function.svg b/images/nav-icons/function.svg new file mode 100644 index 0000000..f0da64a --- /dev/null +++ b/images/nav-icons/function.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/images/nav-icons/interface-kotlin.svg b/images/nav-icons/interface-kotlin.svg new file mode 100644 index 0000000..bf07a14 --- /dev/null +++ b/images/nav-icons/interface-kotlin.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/images/nav-icons/interface.svg b/images/nav-icons/interface.svg new file mode 100644 index 0000000..32063ba --- /dev/null +++ b/images/nav-icons/interface.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/images/nav-icons/object.svg b/images/nav-icons/object.svg new file mode 100644 index 0000000..9f427de --- /dev/null +++ b/images/nav-icons/object.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/index.html b/index.html index bb21d1a..f22ab8f 100644 --- a/index.html +++ b/index.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
diff --git a/kdocs/dev.inmo.krontab.builder/-days-of-month-builder/-days-of-month-builder.html b/kdocs/dev.inmo.krontab.builder/-days-of-month-builder/-days-of-month-builder.html index df3d8b3..f58b085 100644 --- a/kdocs/dev.inmo.krontab.builder/-days-of-month-builder/-days-of-month-builder.html +++ b/kdocs/dev.inmo.krontab.builder/-days-of-month-builder/-days-of-month-builder.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

DaysOfMonthBuilder

-
-
-
fun DaysOfMonthBuilder()
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

DaysOfMonthBuilder

-
-
-
class DaysOfMonthBuilder : TimeBuilder<Byte>
+
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun DaysOfMonthBuilder()
+
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

+
fun allowAll()

After calling of this function this builder will allow any value of current time

@@ -103,9 +106,7 @@ if(savedDarkMode === true){
-
-
-
infix fun at(value: Int)

Add one value to current timeline

+
infix fun at(value: Int)

Add one value to current timeline

@@ -120,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

+
infix inline fun each(value: Int)

Shortcut for at. In fact will

@@ -137,9 +136,7 @@ if(savedDarkMode === true){
-
-
-
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -154,9 +151,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -171,9 +166,7 @@ if(savedDarkMode === true){
-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

+
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

@@ -188,9 +181,7 @@ if(savedDarkMode === true){
-
-
-
fun includeFirst()

Will include the first possible value

+

Will include the first possible value

@@ -205,9 +196,7 @@ if(savedDarkMode === true){
-
-
-
fun includeLast()

Will include the last possible value

+

Will include the last possible value

@@ -222,9 +211,7 @@ if(savedDarkMode === true){
-
-
-
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -239,9 +226,7 @@ if(savedDarkMode === true){
-
-
-
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -258,9 +243,7 @@ if(savedDarkMode === true){
-
-
-
val first: Int

The first possible value of builder

+
val first: Int

The first possible value of builder

@@ -275,27 +258,12 @@ if(savedDarkMode === true){
-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

+
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/-hours-builder/-hours-builder.html b/kdocs/dev.inmo.krontab.builder/-hours-builder/-hours-builder.html index a8c5e2d..bf5f245 100644 --- a/kdocs/dev.inmo.krontab.builder/-hours-builder/-hours-builder.html +++ b/kdocs/dev.inmo.krontab.builder/-hours-builder/-hours-builder.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

HoursBuilder

-
-
-
fun HoursBuilder()
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

HoursBuilder

-
-
-
class HoursBuilder : TimeBuilder<Byte>
+
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun HoursBuilder()
+
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

+
fun allowAll()

After calling of this function this builder will allow any value of current time

@@ -103,9 +106,7 @@ if(savedDarkMode === true){
-
-
-
infix fun at(value: Int)

Add one value to current timeline

+
infix fun at(value: Int)

Add one value to current timeline

@@ -120,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

+
infix inline fun each(value: Int)

Shortcut for at. In fact will

@@ -137,9 +136,7 @@ if(savedDarkMode === true){
-
-
-
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -154,9 +151,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -171,9 +166,7 @@ if(savedDarkMode === true){
-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

+
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

@@ -188,9 +181,7 @@ if(savedDarkMode === true){
-
-
-
fun includeFirst()

Will include the first possible value

+

Will include the first possible value

@@ -205,9 +196,7 @@ if(savedDarkMode === true){
-
-
-
fun includeLast()

Will include the last possible value

+

Will include the last possible value

@@ -222,9 +211,7 @@ if(savedDarkMode === true){
-
-
-
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -239,9 +226,7 @@ if(savedDarkMode === true){
-
-
-
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -258,9 +243,7 @@ if(savedDarkMode === true){
-
-
-
val first: Int

The first possible value of builder

+
val first: Int

The first possible value of builder

@@ -275,27 +258,12 @@ if(savedDarkMode === true){
-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

+
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/-milliseconds-builder/-milliseconds-builder.html b/kdocs/dev.inmo.krontab.builder/-milliseconds-builder/-milliseconds-builder.html index c66d328..37ddadf 100644 --- a/kdocs/dev.inmo.krontab.builder/-milliseconds-builder/-milliseconds-builder.html +++ b/kdocs/dev.inmo.krontab.builder/-milliseconds-builder/-milliseconds-builder.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

MillisecondsBuilder

-
-
-
fun MillisecondsBuilder()
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

MillisecondsBuilder

-
-
-
class MillisecondsBuilder : TimeBuilder<Short>
+
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun MillisecondsBuilder()
+
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

+
fun allowAll()

After calling of this function this builder will allow any value of current time

@@ -103,9 +106,7 @@ if(savedDarkMode === true){
-
-
-
infix fun at(value: Int)

Add one value to current timeline

+
infix fun at(value: Int)

Add one value to current timeline

@@ -120,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

+
infix inline fun each(value: Int)

Shortcut for at. In fact will

@@ -137,9 +136,7 @@ if(savedDarkMode === true){
-
-
-
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -154,9 +151,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -171,9 +166,7 @@ if(savedDarkMode === true){
-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

+
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

@@ -188,9 +181,7 @@ if(savedDarkMode === true){
-
-
-
fun includeFirst()

Will include the first possible value

+

Will include the first possible value

@@ -205,9 +196,7 @@ if(savedDarkMode === true){
-
-
-
fun includeLast()

Will include the last possible value

+

Will include the last possible value

@@ -222,9 +211,7 @@ if(savedDarkMode === true){
-
-
-
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -239,9 +226,7 @@ if(savedDarkMode === true){
-
-
-
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -258,9 +243,7 @@ if(savedDarkMode === true){
-
-
-
val first: Int

The first possible value of builder

+
val first: Int

The first possible value of builder

@@ -275,27 +258,12 @@ if(savedDarkMode === true){
-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

+
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/-minutes-builder/-minutes-builder.html b/kdocs/dev.inmo.krontab.builder/-minutes-builder/-minutes-builder.html index 2d5674a..186411f 100644 --- a/kdocs/dev.inmo.krontab.builder/-minutes-builder/-minutes-builder.html +++ b/kdocs/dev.inmo.krontab.builder/-minutes-builder/-minutes-builder.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

MinutesBuilder

-
-
-
fun MinutesBuilder()
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

MinutesBuilder

-
-
-
class MinutesBuilder : TimeBuilder<Byte>
+
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun MinutesBuilder()
+
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

+
fun allowAll()

After calling of this function this builder will allow any value of current time

@@ -103,9 +106,7 @@ if(savedDarkMode === true){
-
-
-
infix fun at(value: Int)

Add one value to current timeline

+
infix fun at(value: Int)

Add one value to current timeline

@@ -120,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

+
infix inline fun each(value: Int)

Shortcut for at. In fact will

@@ -137,9 +136,7 @@ if(savedDarkMode === true){
-
-
-
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -154,9 +151,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -171,9 +166,7 @@ if(savedDarkMode === true){
-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

+
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

@@ -188,9 +181,7 @@ if(savedDarkMode === true){
-
-
-
fun includeFirst()

Will include the first possible value

+

Will include the first possible value

@@ -205,9 +196,7 @@ if(savedDarkMode === true){
-
-
-
fun includeLast()

Will include the last possible value

+

Will include the last possible value

@@ -222,9 +211,7 @@ if(savedDarkMode === true){
-
-
-
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -239,9 +226,7 @@ if(savedDarkMode === true){
-
-
-
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -258,9 +243,7 @@ if(savedDarkMode === true){
-
-
-
val first: Int

The first possible value of builder

+
val first: Int

The first possible value of builder

@@ -275,27 +258,12 @@ if(savedDarkMode === true){
-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

+
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/-months-builder/-months-builder.html b/kdocs/dev.inmo.krontab.builder/-months-builder/-months-builder.html index 902f1ba..05d0889 100644 --- a/kdocs/dev.inmo.krontab.builder/-months-builder/-months-builder.html +++ b/kdocs/dev.inmo.krontab.builder/-months-builder/-months-builder.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

MonthsBuilder

-
-
-
fun MonthsBuilder()
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

MonthsBuilder

-
-
-
class MonthsBuilder : TimeBuilder<Byte>
+
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun MonthsBuilder()
+
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

+
fun allowAll()

After calling of this function this builder will allow any value of current time

@@ -103,9 +106,7 @@ if(savedDarkMode === true){
-
-
-
infix fun at(value: Int)

Add one value to current timeline

+
infix fun at(value: Int)

Add one value to current timeline

@@ -120,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

+
infix inline fun each(value: Int)

Shortcut for at. In fact will

@@ -137,9 +136,7 @@ if(savedDarkMode === true){
-
-
-
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -154,9 +151,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -171,9 +166,7 @@ if(savedDarkMode === true){
-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

+
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

@@ -188,9 +181,7 @@ if(savedDarkMode === true){
-
-
-
fun includeFirst()

Will include the first possible value

+

Will include the first possible value

@@ -205,9 +196,7 @@ if(savedDarkMode === true){
-
-
-
fun includeLast()

Will include the last possible value

+

Will include the last possible value

@@ -222,9 +211,7 @@ if(savedDarkMode === true){
-
-
-
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -239,9 +226,7 @@ if(savedDarkMode === true){
-
-
-
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -258,9 +243,7 @@ if(savedDarkMode === true){
-
-
-
val first: Int

The first possible value of builder

+
val first: Int

The first possible value of builder

@@ -275,27 +258,12 @@ if(savedDarkMode === true){
-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

+
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/-scheduler-builder/-scheduler-builder.html b/kdocs/dev.inmo.krontab.builder/-scheduler-builder/-scheduler-builder.html index 4714772..0dd1b69 100644 --- a/kdocs/dev.inmo.krontab.builder/-scheduler-builder/-scheduler-builder.html +++ b/kdocs/dev.inmo.krontab.builder/-scheduler-builder/-scheduler-builder.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

SchedulerBuilder

-
-
-
fun SchedulerBuilder(    seconds: Array<Byte>? = null,     minutes: Array<Byte>? = null,     hours: Array<Byte>? = null,     dayOfMonth: Array<Byte>? = null,     month: Array<Byte>? = null,     year: Array<Int>? = null,     dayOfWeek: Array<Byte>? = null,     offset: Minutes? = null,     milliseconds: Array<Short>? = null)
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun SchedulerBuilder(seconds: Array<Byte>? = null, minutes: Array<Byte>? = null, hours: Array<Byte>? = null, dayOfMonth: Array<Byte>? = null, month: Array<Byte>? = null, year: Array<Int>? = null, dayOfWeek: Array<Byte>? = null, offset: Minutes? = null, milliseconds: Array<Short>? = null)(source)
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

build

-
-
-
fun build(): KronScheduler

Return

Completely built and independent KronScheduler

See also

dev.inmo.krontab.internal.createKronScheduler
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

Return

Completely built and independent KronScheduler

See also

createKronScheduler
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

dayOfMonth

-
-
-
fun dayOfMonth(block: DaysOfMonthBuilder.() -> Unit)

Starts an days of month block

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

Starts an days of month block

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

dayOfWeek

-
-
-
fun dayOfWeek(block: WeekDaysBuilder.() -> Unit)

Starts an hours block

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

Starts an hours block

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

hours

-
-
-
fun hours(block: HoursBuilder.() -> Unit)

Starts an hours block

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun hours(block: HoursBuilder.() -> Unit)(source)

Starts an hours block

@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

SchedulerBuilder

-
-
-
class SchedulerBuilder(    seconds: Array<Byte>? = null,     minutes: Array<Byte>? = null,     hours: Array<Byte>? = null,     dayOfMonth: Array<Byte>? = null,     month: Array<Byte>? = null,     year: Array<Int>? = null,     dayOfWeek: Array<Byte>? = null,     offset: Minutes? = null,     milliseconds: Array<Short>? = null)
+
class SchedulerBuilder(seconds: Array<Byte>? = null, minutes: Array<Byte>? = null, hours: Array<Byte>? = null, dayOfMonth: Array<Byte>? = null, month: Array<Byte>? = null, year: Array<Int>? = null, dayOfWeek: Array<Byte>? = null, offset: Minutes? = null, milliseconds: Array<Short>? = null)(source)
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun SchedulerBuilder(    seconds: Array<Byte>? = null,     minutes: Array<Byte>? = null,     hours: Array<Byte>? = null,     dayOfMonth: Array<Byte>? = null,     month: Array<Byte>? = null,     year: Array<Int>? = null,     dayOfWeek: Array<Byte>? = null,     offset: Minutes? = null,     milliseconds: Array<Short>? = null)
+
fun SchedulerBuilder(seconds: Array<Byte>? = null, minutes: Array<Byte>? = null, hours: Array<Byte>? = null, dayOfMonth: Array<Byte>? = null, month: Array<Byte>? = null, year: Array<Int>? = null, dayOfWeek: Array<Byte>? = null, offset: Minutes? = null, milliseconds: Array<Short>? = null)
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
fun build(): KronScheduler
+
@@ -103,9 +106,7 @@ if(savedDarkMode === true){
-
-
-
fun dayOfMonth(block: DaysOfMonthBuilder.() -> Unit)

Starts an days of month block

+

Starts an days of month block

@@ -120,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
fun dayOfWeek(block: WeekDaysBuilder.() -> Unit)

Starts an hours block

+
fun dayOfWeek(block: WeekDaysBuilder.() -> Unit)

Starts an hours block

@@ -137,9 +136,7 @@ if(savedDarkMode === true){
-
-
-
fun hours(block: HoursBuilder.() -> Unit)

Starts an hours block

+
fun hours(block: HoursBuilder.() -> Unit)

Starts an hours block

@@ -154,9 +151,7 @@ if(savedDarkMode === true){
-
-
-
fun milliseconds(block: MillisecondsBuilder.() -> Unit)

Starts an milliseconds block

+

Starts an milliseconds block

@@ -171,9 +166,7 @@ if(savedDarkMode === true){
-
-
-
fun minutes(block: MinutesBuilder.() -> Unit)

Starts an minutes block

+
fun minutes(block: MinutesBuilder.() -> Unit)

Starts an minutes block

@@ -188,9 +181,7 @@ if(savedDarkMode === true){
-
-
-
fun months(block: MonthsBuilder.() -> Unit)

Starts an months block

+
fun months(block: MonthsBuilder.() -> Unit)

Starts an months block

@@ -205,9 +196,7 @@ if(savedDarkMode === true){
-
-
-
fun seconds(block: SecondsBuilder.() -> Unit)

Starts an seconds block

+
fun seconds(block: SecondsBuilder.() -> Unit)

Starts an seconds block

@@ -222,27 +211,12 @@ if(savedDarkMode === true){
-
-
-
fun years(block: YearsBuilder.() -> Unit)

Starts an year block

+
fun years(block: YearsBuilder.() -> Unit)

Starts an year block

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/-scheduler-builder/milliseconds.html b/kdocs/dev.inmo.krontab.builder/-scheduler-builder/milliseconds.html index 6836383..3fc750d 100644 --- a/kdocs/dev.inmo.krontab.builder/-scheduler-builder/milliseconds.html +++ b/kdocs/dev.inmo.krontab.builder/-scheduler-builder/milliseconds.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

milliseconds

-
-
-
fun milliseconds(block: MillisecondsBuilder.() -> Unit)

Starts an milliseconds block

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

Starts an milliseconds block

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

minutes

-
-
-
fun minutes(block: MinutesBuilder.() -> Unit)

Starts an minutes block

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun minutes(block: MinutesBuilder.() -> Unit)(source)

Starts an minutes block

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

months

-
-
-
fun months(block: MonthsBuilder.() -> Unit)

Starts an months block

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun months(block: MonthsBuilder.() -> Unit)(source)

Starts an months block

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

seconds

-
-
-
fun seconds(block: SecondsBuilder.() -> Unit)

Starts an seconds block

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun seconds(block: SecondsBuilder.() -> Unit)(source)

Starts an seconds block

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

years

-
-
-
fun years(block: YearsBuilder.() -> Unit)

Starts an year block

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun years(block: YearsBuilder.() -> Unit)(source)

Starts an year block

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

SecondsBuilder

-
-
-
fun SecondsBuilder()
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

SecondsBuilder

-
-
-
class SecondsBuilder : TimeBuilder<Byte>
+
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun SecondsBuilder()
+
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

+
fun allowAll()

After calling of this function this builder will allow any value of current time

@@ -103,9 +106,7 @@ if(savedDarkMode === true){
-
-
-
infix fun at(value: Int)

Add one value to current timeline

+
infix fun at(value: Int)

Add one value to current timeline

@@ -120,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

+
infix inline fun each(value: Int)

Shortcut for at. In fact will

@@ -137,9 +136,7 @@ if(savedDarkMode === true){
-
-
-
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -154,9 +151,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -171,9 +166,7 @@ if(savedDarkMode === true){
-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

+
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

@@ -188,9 +181,7 @@ if(savedDarkMode === true){
-
-
-
fun includeFirst()

Will include the first possible value

+

Will include the first possible value

@@ -205,9 +196,7 @@ if(savedDarkMode === true){
-
-
-
fun includeLast()

Will include the last possible value

+

Will include the last possible value

@@ -222,9 +211,7 @@ if(savedDarkMode === true){
-
-
-
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -239,9 +226,7 @@ if(savedDarkMode === true){
-
-
-
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -258,9 +243,7 @@ if(savedDarkMode === true){
-
-
-
val first: Int

The first possible value of builder

+
val first: Int

The first possible value of builder

@@ -275,27 +258,12 @@ if(savedDarkMode === true){
-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

+
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/-time-builder/allow-all.html b/kdocs/dev.inmo.krontab.builder/-time-builder/allow-all.html index 263d34c..df7d6ee 100644 --- a/kdocs/dev.inmo.krontab.builder/-time-builder/allow-all.html +++ b/kdocs/dev.inmo.krontab.builder/-time-builder/allow-all.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

allowAll

-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

After calling of this function this builder will allow any value of current time

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

at

-
-
-
infix fun at(value: Int)

Add one value to current timeline

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
infix fun at(value: Int)(source)

Add one value to current timeline

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

each

-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
infix inline fun each(value: Int)(source)

Shortcut for at. In fact will

@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

every

-
-
-
infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

See also


infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
infix fun Int.every(delay: Int): Array<Int>(source)

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

See also


infix fun every(delay: Int): Array<Int>(source)

Shortcut for "from 0 every"

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

first

-
-
-
val first: Int

The first possible value of builder

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

The first possible value of builder

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

from

-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
infix inline fun from(value: Int): Int(source)

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

includeFirst

-
-
-
fun includeFirst()

Will include the first possible value

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

Will include the first possible value

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

includeLast

-
-
-
fun includeLast()

Will include the last possible value

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

Will include the last possible value

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

include

-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
infix fun include(array: Array<Int>)(source)

Will include all variations from this array inside of this timeline

@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

TimeBuilder

-
-
-
sealed class TimeBuilder<T : Number>

This class was created for incapsulation of builder work with specified restrictionsRange. For example, include function of TimeBuilder will always coerceIn incoming data using its restrictionsRange

+
sealed class TimeBuilder<T : Number>(source)

This class was created for incapsulation of builder work with specified restrictionsRange. For example, include function of TimeBuilder will always coerceIn incoming data using its restrictionsRange

-
+

Functions

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

+
fun allowAll()

After calling of this function this builder will allow any value of current time

@@ -84,9 +89,7 @@ if(savedDarkMode === true){
-
-
-
infix fun at(value: Int)

Add one value to current timeline

+
infix fun at(value: Int)

Add one value to current timeline

@@ -101,9 +104,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

+
infix inline fun each(value: Int)

Shortcut for at. In fact will

@@ -118,9 +119,7 @@ if(savedDarkMode === true){
-
-
-
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -135,9 +134,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -152,9 +149,7 @@ if(savedDarkMode === true){
-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

+
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

@@ -169,9 +164,7 @@ if(savedDarkMode === true){
-
-
-
fun includeFirst()

Will include the first possible value

+

Will include the first possible value

@@ -186,9 +179,7 @@ if(savedDarkMode === true){
-
-
-
fun includeLast()

Will include the last possible value

+

Will include the last possible value

@@ -203,9 +194,7 @@ if(savedDarkMode === true){
-
-
-
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -220,9 +209,7 @@ if(savedDarkMode === true){
-
-
-
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -239,9 +226,7 @@ if(savedDarkMode === true){
-
-
-
val first: Int

The first possible value of builder

+
val first: Int

The first possible value of builder

@@ -256,9 +241,7 @@ if(savedDarkMode === true){
-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

+
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

@@ -354,19 +337,6 @@ if(savedDarkMode === true){ -

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/-time-builder/last.html b/kdocs/dev.inmo.krontab.builder/-time-builder/last.html index c3d8afb..112bc8e 100644 --- a/kdocs/dev.inmo.krontab.builder/-time-builder/last.html +++ b/kdocs/dev.inmo.krontab.builder/-time-builder/last.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

last

-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

The last possible value of builder. Using of this variable equal to using "L" in strings

@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

rangeTo

-
-
-
infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding


infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>(source)

Will fill up this timeline from this up to endIncluding


infix operator fun rangeTo(endIncluding: Int): Array<Int>(source)

Shortcut for "from 0 rangeTo"

@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

upTo

-
-
-
infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding


infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
infix fun Int.upTo(endIncluding: Int): Array<Int>(source)

Will fill up this timeline from this up to endIncluding


infix fun upTo(endIncluding: Int): Array<Int>(source)

Shortcut for "from 0 upTo"

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

WeekDaysBuilder

-
-
-
fun WeekDaysBuilder()
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

WeekDaysBuilder

-
-
-
class WeekDaysBuilder : TimeBuilder<Byte>
+
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun WeekDaysBuilder()
+
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

+
fun allowAll()

After calling of this function this builder will allow any value of current time

@@ -103,9 +106,7 @@ if(savedDarkMode === true){
-
-
-
infix fun at(value: Int)

Add one value to current timeline

+
infix fun at(value: Int)

Add one value to current timeline

@@ -120,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

+
infix inline fun each(value: Int)

Shortcut for at. In fact will

@@ -137,9 +136,7 @@ if(savedDarkMode === true){
-
-
-
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -154,9 +151,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -171,9 +166,7 @@ if(savedDarkMode === true){
-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

+
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

@@ -188,9 +181,7 @@ if(savedDarkMode === true){
-
-
-
fun includeFirst()

Will include the first possible value

+

Will include the first possible value

@@ -205,9 +196,7 @@ if(savedDarkMode === true){
-
-
-
fun includeLast()

Will include the last possible value

+

Will include the last possible value

@@ -222,9 +211,7 @@ if(savedDarkMode === true){
-
-
-
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -239,9 +226,7 @@ if(savedDarkMode === true){
-
-
-
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -258,9 +243,7 @@ if(savedDarkMode === true){
-
-
-
val first: Int

The first possible value of builder

+
val first: Int

The first possible value of builder

@@ -275,27 +258,12 @@ if(savedDarkMode === true){
-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

+
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/-years-builder/-years-builder.html b/kdocs/dev.inmo.krontab.builder/-years-builder/-years-builder.html index d080406..aa4f64e 100644 --- a/kdocs/dev.inmo.krontab.builder/-years-builder/-years-builder.html +++ b/kdocs/dev.inmo.krontab.builder/-years-builder/-years-builder.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

YearsBuilder

-
-
-
fun YearsBuilder()
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

YearsBuilder

-
-
-
class YearsBuilder : TimeBuilder<Int>
+
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun YearsBuilder()
+
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
fun allowAll()

After calling of this function this builder will allow any value of current time

+
fun allowAll()

After calling of this function this builder will allow any value of current time

@@ -103,9 +106,7 @@ if(savedDarkMode === true){
-
-
-
infix fun at(value: Int)

Add one value to current timeline

+
infix fun at(value: Int)

Add one value to current timeline

@@ -120,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun each(value: Int)

Shortcut for at. In fact will

+
infix inline fun each(value: Int)

Shortcut for at. In fact will

@@ -137,9 +136,7 @@ if(savedDarkMode === true){
-
-
-
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting fromevery times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix fun every(delay: Int): Array<Int>

Shortcut for "from 0 every"

infix fun Int.every(delay: Int): Array<Int>

Will create an sequence of times starting from every times. For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -154,9 +151,7 @@ if(savedDarkMode === true){
-
-
-
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

+
infix inline fun from(value: Int): Int

Just wrapper for more obvious writing something like "from 2 every 5". For example, for SecondsBuilder it will mean "from second second every 5 seconds", or "2, 7, 13, ..."

@@ -171,9 +166,7 @@ if(savedDarkMode === true){
-
-
-
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

+
infix fun include(array: Array<Int>)

Will include all variations from this array inside of this timeline

@@ -188,9 +181,7 @@ if(savedDarkMode === true){
-
-
-
fun includeFirst()

Will include the first possible value

+

Will include the first possible value

@@ -205,9 +196,7 @@ if(savedDarkMode === true){
-
-
-
fun includeLast()

Will include the last possible value

+

Will include the last possible value

@@ -222,9 +211,7 @@ if(savedDarkMode === true){
-
-
-
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix operator fun rangeTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 rangeTo"

infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -239,9 +226,7 @@ if(savedDarkMode === true){
-
-
-
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

+
infix fun upTo(endIncluding: Int): Array<Int>

Shortcut for "from 0 upTo"

infix fun Int.upTo(endIncluding: Int): Array<Int>

Will fill up this timeline from this up to endIncluding

@@ -258,9 +243,7 @@ if(savedDarkMode === true){
-
-
-
val first: Int

The first possible value of builder

+
val first: Int

The first possible value of builder

@@ -275,27 +258,12 @@ if(savedDarkMode === true){
-
-
-
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

+
val last: Int

The last possible value of builder. Using of this variable equal to using "L" in strings

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.builder/build-schedule.html b/kdocs/dev.inmo.krontab.builder/build-schedule.html index f8981ef..6491d9e 100644 --- a/kdocs/dev.inmo.krontab.builder/build-schedule.html +++ b/kdocs/dev.inmo.krontab.builder/build-schedule.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

buildSchedule

-
-
-
fun buildSchedule(settingsBlock: SchedulerBuilder.() -> Unit): KronScheduler
fun buildSchedule(offset: Minutes, settingsBlock: SchedulerBuilder.() -> Unit): KronSchedulerTz

Will help to create an instance of KronScheduler

See also

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun buildSchedule(offset: Minutes, settingsBlock: SchedulerBuilder.() -> Unit): KronSchedulerTz(source)

Will help to create an instance of KronScheduler

See also

@@ -46,9 +55,9 @@ if(savedDarkMode === true){
- +
-

Package dev.inmo.krontab.builder

+

Package-level declarations

@@ -64,9 +73,7 @@ if(savedDarkMode === true){
-
-
-
class DaysOfMonthBuilder : TimeBuilder<Byte>
+
@@ -81,9 +88,7 @@ if(savedDarkMode === true){
-
-
-
class HoursBuilder : TimeBuilder<Byte>
+
@@ -98,9 +103,7 @@ if(savedDarkMode === true){
-
-
-
class MillisecondsBuilder : TimeBuilder<Short>
+
@@ -115,9 +118,7 @@ if(savedDarkMode === true){
-
-
-
class MinutesBuilder : TimeBuilder<Byte>
+
@@ -132,9 +133,7 @@ if(savedDarkMode === true){
-
-
-
class MonthsBuilder : TimeBuilder<Byte>
+
@@ -149,9 +148,7 @@ if(savedDarkMode === true){
-
-
-
class SchedulerBuilder(    seconds: Array<Byte>? = null,     minutes: Array<Byte>? = null,     hours: Array<Byte>? = null,     dayOfMonth: Array<Byte>? = null,     month: Array<Byte>? = null,     year: Array<Int>? = null,     dayOfWeek: Array<Byte>? = null,     offset: Minutes? = null,     milliseconds: Array<Short>? = null)
+
class SchedulerBuilder(seconds: Array<Byte>? = null, minutes: Array<Byte>? = null, hours: Array<Byte>? = null, dayOfMonth: Array<Byte>? = null, month: Array<Byte>? = null, year: Array<Int>? = null, dayOfWeek: Array<Byte>? = null, offset: Minutes? = null, milliseconds: Array<Short>? = null)
@@ -166,9 +163,7 @@ if(savedDarkMode === true){
-
-
-
class SecondsBuilder : TimeBuilder<Byte>
+
@@ -183,9 +178,7 @@ if(savedDarkMode === true){
-
-
-
sealed class TimeBuilder<T : Number>

This class was created for incapsulation of builder work with specified restrictionsRange. For example, include function of TimeBuilder will always coerceIn incoming data using its restrictionsRange

+
sealed class TimeBuilder<T : Number>

This class was created for incapsulation of builder work with specified restrictionsRange. For example, include function of TimeBuilder will always coerceIn incoming data using its restrictionsRange

@@ -200,9 +193,7 @@ if(savedDarkMode === true){
-
-
-
class WeekDaysBuilder : TimeBuilder<Byte>
+
@@ -217,9 +208,7 @@ if(savedDarkMode === true){
-
-
-
class YearsBuilder : TimeBuilder<Int>
+
@@ -236,9 +225,7 @@ if(savedDarkMode === true){
-
-
-
fun buildSchedule(settingsBlock: SchedulerBuilder.() -> Unit): KronScheduler
fun buildSchedule(offset: Minutes, settingsBlock: SchedulerBuilder.() -> Unit): KronSchedulerTz

Will help to create an instance of KronScheduler

+
fun buildSchedule(offset: Minutes, settingsBlock: SchedulerBuilder.() -> Unit): KronSchedulerTz

Will help to create an instance of KronScheduler

diff --git a/kdocs/dev.inmo.krontab.collection/-collection-kron-scheduler/include.html b/kdocs/dev.inmo.krontab.collection/-collection-kron-scheduler/include.html index b1a020d..8fd12b3 100644 --- a/kdocs/dev.inmo.krontab.collection/-collection-kron-scheduler/include.html +++ b/kdocs/dev.inmo.krontab.collection/-collection-kron-scheduler/include.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

include

-
-
-
fun include(kronScheduler: KronScheduler)

Add kronScheduler into its schedulers list

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun include(kronScheduler: KronScheduler)(source)

Add kronScheduler into its schedulers list

@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

CollectionKronScheduler

-
-
-
data class CollectionKronScheduler : KronSchedulerTz

This scheduler will be useful in case you want to unite several different KronSchedulers

+

This scheduler will be useful in case you want to unite several different KronSchedulers

-
+

Functions

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun include(kronScheduler: KronScheduler)

Add kronScheduler into its schedulers list

+
fun include(kronScheduler: KronScheduler)

Add kronScheduler into its schedulers list

@@ -84,16 +89,134 @@ if(savedDarkMode === true){
-
-
-
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>
+
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>

Extensions

-
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+
@@ -103,9 +226,97 @@ if(savedDarkMode === true){
-
-
-
inline fun CollectionKronScheduler.includeAll(kronSchedulers: List<KronScheduler>)
inline fun CollectionKronScheduler.includeAll(vararg kronSchedulers: KronScheduler)
+
inline fun CollectionKronScheduler.includeAll(vararg kronSchedulers: KronScheduler)
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronSchedulerTz.nextOrNowWithOffset(): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
@@ -120,27 +331,12 @@ if(savedDarkMode === true){
-
-
-
operator fun CollectionKronScheduler.plusAssign(kronScheduler: KronScheduler)
+
operator fun CollectionKronScheduler.plusAssign(kronScheduler: KronScheduler)
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.collection/-collection-kron-scheduler/next.html b/kdocs/dev.inmo.krontab.collection/-collection-kron-scheduler/next.html index f8c1089..538cbac 100644 --- a/kdocs/dev.inmo.krontab.collection/-collection-kron-scheduler/next.html +++ b/kdocs/dev.inmo.krontab.collection/-collection-kron-scheduler/next.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

next

-
-
-
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

dev.inmo.krontab.internal.CronDateTimeScheduler
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>(source)
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>(source)

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

CronDateTimeScheduler.next
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

includeAll

-
-
-
inline fun CollectionKronScheduler.includeAll(kronSchedulers: List<KronScheduler>)
inline fun CollectionKronScheduler.includeAll(vararg kronSchedulers: KronScheduler)
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun CollectionKronScheduler.includeAll(vararg kronSchedulers: KronScheduler)(source)
@@ -46,9 +55,9 @@ if(savedDarkMode === true){
- +
-

Package dev.inmo.krontab.collection

+

Package-level declarations

@@ -64,9 +73,7 @@ if(savedDarkMode === true){
-
-
-
data class CollectionKronScheduler : KronSchedulerTz

This scheduler will be useful in case you want to unite several different KronSchedulers

+

This scheduler will be useful in case you want to unite several different KronSchedulers

@@ -83,9 +90,7 @@ if(savedDarkMode === true){
-
-
-
inline fun CollectionKronScheduler.includeAll(vararg kronSchedulers: KronScheduler)
inline fun CollectionKronScheduler.includeAll(kronSchedulers: List<KronScheduler>)
+
inline fun CollectionKronScheduler.includeAll(vararg kronSchedulers: KronScheduler)
@@ -100,9 +105,7 @@ if(savedDarkMode === true){
-
-
-
operator fun KronScheduler.plus(kronScheduler: KronScheduler): CollectionKronScheduler
+
@@ -117,9 +120,7 @@ if(savedDarkMode === true){
-
-
-
operator fun CollectionKronScheduler.plusAssign(kronScheduler: KronScheduler)
+
operator fun CollectionKronScheduler.plusAssign(kronScheduler: KronScheduler)
diff --git a/kdocs/dev.inmo.krontab.collection/plus-assign.html b/kdocs/dev.inmo.krontab.collection/plus-assign.html index 3303b6d..75c4c98 100644 --- a/kdocs/dev.inmo.krontab.collection/plus-assign.html +++ b/kdocs/dev.inmo.krontab.collection/plus-assign.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

plusAssign

-
-
-
operator fun CollectionKronScheduler.plusAssign(kronScheduler: KronScheduler)
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

plus

-
-
-
operator fun KronScheduler.plus(kronScheduler: KronScheduler): CollectionKronScheduler
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

calculateNearTime

-
-
-
abstract fun calculateNearTime(relativelyTo: <Error class: unknown class>): Pair<<Error class: unknown class>, Boolean>?

Return

pair of near DateTime for this checker and Boolean flag that all previous calculations must be recalculated

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
abstract fun calculateNearTime(relativelyTo: <Error class: unknown class>): Pair<<Error class: unknown class>, Boolean>?(source)

Return

pair of near DateTime for this checker and Boolean flag that all previous calculations must be recalculated

@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

NearDateTimeCalculator

-
-
-
fun interface NearDateTimeCalculator
+
-
+

Functions

@@ -67,27 +74,12 @@ if(savedDarkMode === true){
-
-
-
abstract fun calculateNearTime(relativelyTo: <Error class: unknown class>): Pair<<Error class: unknown class>, Boolean>?
+
abstract fun calculateNearTime(relativelyTo: <Error class: unknown class>): Pair<<Error class: unknown class>, Boolean>?
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab.internal/index.html b/kdocs/dev.inmo.krontab.internal/index.html index 6905436..de02fa6 100644 --- a/kdocs/dev.inmo.krontab.internal/index.html +++ b/kdocs/dev.inmo.krontab.internal/index.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,9 +55,9 @@ if(savedDarkMode === true){
- +
-

Package dev.inmo.krontab.internal

+

Package-level declarations

@@ -64,9 +73,7 @@ if(savedDarkMode === true){
-
-
-
typealias Converter<T> = (Int) -> T
+
typealias Converter<T> = (Int) -> T
@@ -81,9 +88,7 @@ if(savedDarkMode === true){
-
-
-
fun interface NearDateTimeCalculator
+
diff --git a/kdocs/dev.inmo.krontab.utils.flows/filter-days-of-months.html b/kdocs/dev.inmo.krontab.utils.flows/filter-days-of-months.html index da20cb9..06b2286 100644 --- a/kdocs/dev.inmo.krontab.utils.flows/filter-days-of-months.html +++ b/kdocs/dev.inmo.krontab.utils.flows/filter-days-of-months.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

filterDaysOfMonths

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterDaysOfMonths(vararg daysOfMonths: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterDaysOfMonths(vararg daysOfMonths: Int): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterDaysOfMonths(vararg daysOfMonths: Int): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterDaysOfMonths(vararg daysOfMonths: Int): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

filterHours

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterHours(vararg hours: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterHours(vararg hours: Int): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterHours(vararg hours: Int): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterHours(vararg hours: Int): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

filterMinutes

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMinutes(vararg minutes: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMinutes(vararg minutes: Int): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMinutes(vararg minutes: Int): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMinutes(vararg minutes: Int): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

filterMonths

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths(vararg months: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths(vararg months: <Error class: unknown class>): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths(vararg months: <Error class: unknown class>): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths(vararg months: <Error class: unknown class>): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

filterMonths0

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths0(vararg months: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths0(vararg months: Int): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths0(vararg months: Int): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths0(vararg months: Int): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

filterMonths1

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths1(vararg months: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths1(vararg months: Int): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths1(vararg months: Int): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths1(vararg months: Int): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

filterSeconds

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterSeconds(vararg seconds: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterSeconds(vararg seconds: Int): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterSeconds(vararg seconds: Int): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterSeconds(vararg seconds: Int): <Error class: unknown class>(source)
@@ -46,59 +55,11 @@ if(savedDarkMode === true){
- +

filterWeekDays

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: Int): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: <Error class: unknown class>): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: Int): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: <Error class: unknown class>): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: Int): <Error class: unknown class>(source)
@@ -46,59 +55,11 @@ if(savedDarkMode === true){
- +

filterYears

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(year: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(vararg years: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(year: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(vararg years: Int): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(year: <Error class: unknown class>): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(vararg years: Int): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(year: <Error class: unknown class>): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(vararg years: Int): <Error class: unknown class>(source)
@@ -46,9 +55,9 @@ if(savedDarkMode === true){
- +
-

Package dev.inmo.krontab.utils.flows

+

Package-level declarations

@@ -64,9 +73,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterDaysOfMonths(vararg daysOfMonths: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterDaysOfMonths(vararg daysOfMonths: Int): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterDaysOfMonths(vararg daysOfMonths: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterDaysOfMonths(vararg daysOfMonths: Int): <Error class: unknown class>
@@ -81,9 +88,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterHours(vararg hours: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterHours(vararg hours: Int): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterHours(vararg hours: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterHours(vararg hours: Int): <Error class: unknown class>
@@ -98,9 +103,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMinutes(vararg minutes: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMinutes(vararg minutes: Int): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMinutes(vararg minutes: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMinutes(vararg minutes: Int): <Error class: unknown class>
@@ -115,9 +118,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths(vararg months: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths(vararg months: <Error class: unknown class>): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths(vararg months: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths(vararg months: <Error class: unknown class>): <Error class: unknown class>
@@ -132,9 +133,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths0(vararg months: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths0(vararg months: Int): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths0(vararg months: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths0(vararg months: Int): <Error class: unknown class>
@@ -149,9 +148,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths1(vararg months: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths1(vararg months: Int): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths1(vararg months: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterMonths1(vararg months: Int): <Error class: unknown class>
@@ -166,9 +163,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterSeconds(vararg seconds: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterSeconds(vararg seconds: Int): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterSeconds(vararg seconds: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterSeconds(vararg seconds: Int): <Error class: unknown class>
@@ -183,9 +178,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: Int): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterWeekDays(vararg weekDays: Int): <Error class: unknown class>
@@ -200,9 +193,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(year: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(vararg years: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(year: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(vararg years: Int): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(year: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(vararg years: Int): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(year: <Error class: unknown class>): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.filterYears(vararg years: Int): <Error class: unknown class>
@@ -217,9 +208,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfDays(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfDays(): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfDays(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfDays(): <Error class: unknown class>
@@ -234,9 +223,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfHours(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfHours(): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfHours(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfHours(): <Error class: unknown class>
@@ -251,9 +238,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMinutes(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMinutes(): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMinutes(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMinutes(): <Error class: unknown class>
@@ -268,9 +253,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMondays(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMondays(): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMondays(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMondays(): <Error class: unknown class>
@@ -285,9 +268,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMonths(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMonths(): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMonths(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMonths(): <Error class: unknown class>
@@ -302,9 +283,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfSundays(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfSundays(): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfSundays(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfSundays(): <Error class: unknown class>
@@ -319,9 +298,7 @@ if(savedDarkMode === true){
-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfYears(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfYears(): <Error class: unknown class>
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfYears(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfYears(): <Error class: unknown class>
diff --git a/kdocs/dev.inmo.krontab.utils.flows/only-starts-of-days.html b/kdocs/dev.inmo.krontab.utils.flows/only-starts-of-days.html index 450d307..6d70eff 100644 --- a/kdocs/dev.inmo.krontab.utils.flows/only-starts-of-days.html +++ b/kdocs/dev.inmo.krontab.utils.flows/only-starts-of-days.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

onlyStartsOfDays

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfDays(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfDays(): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfDays(): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfDays(): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

onlyStartsOfHours

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfHours(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfHours(): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfHours(): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfHours(): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

onlyStartsOfMinutes

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMinutes(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMinutes(): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMinutes(): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMinutes(): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

onlyStartsOfMondays

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMondays(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMondays(): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMondays(): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMondays(): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

onlyStartsOfMonths

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMonths(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMonths(): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMonths(): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfMonths(): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

onlyStartsOfSundays

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfSundays(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfSundays(): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfSundays(): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfSundays(): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

onlyStartsOfYears

-
-
-
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfYears(): <Error class: unknown class>
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfYears(): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfYears(): <Error class: unknown class>(source)
inline fun <Error class: unknown class><<Error class: unknown class>>.onlyStartsOfYears(): <Error class: unknown class>(source)
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

asFlow

-
-
-
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

See also

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>(source)

This method is a map for asTzFlow and will works the same but return flow with DateTimes

See also

channelFlow
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

asTzFlow

-
-
-
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

See also

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>(source)

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

See also

channelFlow
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

copy

-
-
-
fun <Error class: unknown class>.copy(    year: Int = yearInt,     month: Int = month1,     dayOfMonth: Int = this.dayOfMonth,     hour: Int = hours,     minute: Int = minutes,     second: Int = seconds,     milliseconds: Int = this.milliseconds): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun <Error class: unknown class>.copy(year: Int = yearInt, month: Int = month1, dayOfMonth: Int = this.dayOfMonth, hour: Int = hours, minute: Int = minutes, second: Int = seconds, milliseconds: Int = this.milliseconds): <Error class: unknown class>(source)
@@ -46,9 +55,9 @@ if(savedDarkMode === true){
- +
-

Package dev.inmo.krontab.utils

+

Package-level declarations

@@ -64,9 +73,7 @@ if(savedDarkMode === true){
-
-
-
typealias Minutes = Int
+
typealias Minutes = Int
@@ -83,9 +90,7 @@ if(savedDarkMode === true){
-
-
-
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

+
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

@@ -100,9 +105,7 @@ if(savedDarkMode === true){
-
-
-
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

+
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

@@ -117,9 +120,7 @@ if(savedDarkMode === true){
-
-
-
fun <Error class: unknown class>.copy(    year: Int = yearInt,     month: Int = month1,     dayOfMonth: Int = this.dayOfMonth,     hour: Int = hours,     minute: Int = minutes,     second: Int = seconds,     milliseconds: Int = this.milliseconds): <Error class: unknown class>
+
fun <Error class: unknown class>.copy(year: Int = yearInt, month: Int = month1, dayOfMonth: Int = this.dayOfMonth, hour: Int = hours, minute: Int = minutes, second: Int = seconds, milliseconds: Int = this.milliseconds): <Error class: unknown class>
diff --git a/kdocs/dev.inmo.krontab/-any-time-scheduler.html b/kdocs/dev.inmo.krontab/-any-time-scheduler.html index af2d91c..e84a787 100644 --- a/kdocs/dev.inmo.krontab/-any-time-scheduler.html +++ b/kdocs/dev.inmo.krontab/-any-time-scheduler.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

AnyTimeScheduler

-
-
-
val AnyTimeScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

KronScheduler.next will always return com.soywiz.klock.DateTime.now

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

EveryDayOfMonthScheduler

-
-
-
val EveryDayOfMonthScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one day

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one day

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

EveryHourScheduler

-
-
-
val EveryHourScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one hour

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one hour

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

EveryMillisecondScheduler

-
-
-
val EveryMillisecondScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one millisecond

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one millisecond

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

EveryMinuteScheduler

-
-
-
val EveryMinuteScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one minute

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one minute

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

EveryMonthScheduler

-
-
-
val EveryMonthScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one month

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one month

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

EverySecondScheduler

-
-
-
val EverySecondScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one second

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one second

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

EveryYearScheduler

-
-
-
val EveryYearScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one year

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one year

@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

KronSchedulerTz

-
-
-
fun KronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?): LambdaKronSchedulerTz
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun KronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?): LambdaKronSchedulerTz(source)
@@ -46,21 +55,17 @@ if(savedDarkMode === true){
- +

KronSchedulerTz

-
-
-
interface KronSchedulerTz : KronScheduler

This interface extending KronScheduler to use DateTimeTz with taking into account offset of incoming time for next operation.

+

This interface extending KronScheduler to use DateTimeTz with taking into account offset of incoming time for next operation.

-
+
-

See also

+

See also

-
-
-
dev.inmo.krontab.internal.CronDateTimeScheduler
+
CronDateTimeScheduler

Functions

@@ -73,9 +78,7 @@ if(savedDarkMode === true){
-
-
-
abstract suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
+
abstract suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
@@ -106,7 +109,157 @@ if(savedDarkMode === true){

Extensions

-
+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
+
+
+
+
+
@@ -116,41 +269,54 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronSchedulerTz.nextOrNowWithOffset(): <Error class: unknown class>
+
suspend fun KronSchedulerTz.nextOrNowWithOffset(): <Error class: unknown class>
- +
- +
Link copied to clipboard
-
-
-
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>
+
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
-
-

Sources

-
+
- - + +
Link copied to clipboard
-
+
+
+
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
diff --git a/kdocs/dev.inmo.krontab/-kron-scheduler-tz/next.html b/kdocs/dev.inmo.krontab/-kron-scheduler-tz/next.html index eca0e56..d7d0f8a 100644 --- a/kdocs/dev.inmo.krontab/-kron-scheduler-tz/next.html +++ b/kdocs/dev.inmo.krontab/-kron-scheduler-tz/next.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

next

-
-
-
abstract suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

dev.inmo.krontab.internal.CronDateTimeScheduler
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
abstract suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?(source)
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?(source)

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

CronDateTimeScheduler.next
@@ -46,26 +55,13 @@ if(savedDarkMode === true){
- +

KronSchedulerWork

-
-
fun KronSchedulerWork(context: Context, workerParams: WorkerParameters)
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
+
fun KronSchedulerWork(context: Context, workerParams: WorkerParameters)(source)
@@ -46,26 +55,13 @@ if(savedDarkMode === true){
- +

doWork

-
-
open suspend override fun doWork(): ListenableWorker.Result
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
+
open suspend override fun doWork(): ListenableWorker.Result(source)
@@ -46,21 +55,21 @@ if(savedDarkMode === true){
- +

KronSchedulerWork

-
-
abstract class KronSchedulerWork(context: Context, workerParams: WorkerParameters) : CoroutineWorker

Use this class as a super class in case you wish to implement krontab-based enqueuing of works

+
+
abstract class KronSchedulerWork(context: Context, workerParams: WorkerParameters) : CoroutineWorker(source)

Use this class as a super class in case you wish to implement krontab-based enqueuing of works

-
+

Constructors

@@ -74,8 +83,8 @@ if(savedDarkMode === true){
-
-
fun KronSchedulerWork(context: Context, workerParams: WorkerParameters)
+
+
fun KronSchedulerWork(context: Context, workerParams: WorkerParameters)
@@ -93,8 +102,8 @@ if(savedDarkMode === true){
-
-
open suspend override fun doWork(): ListenableWorker.Result
+
+
open suspend override fun doWork(): ListenableWorker.Result
@@ -110,8 +119,8 @@ if(savedDarkMode === true){
-
-
fun getApplicationContext(): Context
+
+
@@ -127,8 +136,8 @@ if(savedDarkMode === true){
-
-
open fun getBackgroundExecutor(): Executor
+
+
@@ -144,8 +153,8 @@ if(savedDarkMode === true){
-
-
open suspend fun getForegroundInfo(): ForegroundInfo
+
+
open suspend fun getForegroundInfo(): ForegroundInfo
@@ -161,8 +170,8 @@ if(savedDarkMode === true){
-
-
override fun getForegroundInfoAsync(): ListenableFuture<ForegroundInfo>
+
+
override fun getForegroundInfoAsync(): ListenableFuture<ForegroundInfo>
@@ -178,8 +187,8 @@ if(savedDarkMode === true){
-
-
fun getId(): UUID
+
+
@@ -195,8 +204,8 @@ if(savedDarkMode === true){
-
-
fun getInputData(): Data
+
+
@@ -212,8 +221,8 @@ if(savedDarkMode === true){
-
-
@RequiresApi(value = 28)
fun getNetwork(): Network?
+
+
@@ -229,8 +238,8 @@ if(savedDarkMode === true){
-
-
@IntRange(from = 0)
fun getRunAttemptCount(): Int
+
+
@@ -246,8 +255,8 @@ if(savedDarkMode === true){
-
-
fun getTags(): MutableSet<String>
+
+
@@ -263,8 +272,8 @@ if(savedDarkMode === true){
-
-
open fun getTaskExecutor(): TaskExecutor
+
+
open fun getTaskExecutor(): TaskExecutor
@@ -280,8 +289,8 @@ if(savedDarkMode === true){
-
-
@RequiresApi(value = 24)
fun getTriggeredContentAuthorities(): MutableList<String>
+
+
@@ -297,8 +306,8 @@ if(savedDarkMode === true){
-
-
@RequiresApi(value = 24)
fun getTriggeredContentUris(): MutableList<Uri>
+
+
@@ -314,8 +323,8 @@ if(savedDarkMode === true){
-
-
open fun getWorkerFactory(): WorkerFactory
+
+
@@ -331,8 +340,8 @@ if(savedDarkMode === true){
-
-
open fun isRunInForeground(): Boolean
+
+
@@ -348,8 +357,8 @@ if(savedDarkMode === true){
-
-
fun isStopped(): Boolean
+
+
@@ -365,8 +374,8 @@ if(savedDarkMode === true){
-
-
fun isUsed(): Boolean
+
+
@@ -382,8 +391,8 @@ if(savedDarkMode === true){
-
-
override fun onStopped()
+
+
override fun onStopped()
@@ -399,8 +408,8 @@ if(savedDarkMode === true){
-
-
suspend fun setForeground(foregroundInfo: ForegroundInfo)
+
+
suspend fun setForeground(foregroundInfo: ForegroundInfo)
@@ -416,8 +425,8 @@ if(savedDarkMode === true){
-
-
fun setForegroundAsync(@NonNull foregroundInfo: ForegroundInfo): ListenableFuture<Void>
+
+
fun setForegroundAsync(@NonNull foregroundInfo: ForegroundInfo): ListenableFuture<Void>
@@ -433,8 +442,8 @@ if(savedDarkMode === true){
-
-
suspend fun setProgress(data: Data)
+
+
suspend fun setProgress(data: Data)
@@ -450,8 +459,8 @@ if(savedDarkMode === true){
-
-
open fun setProgressAsync(@NonNull data: Data): ListenableFuture<Void>
+
+
open fun setProgressAsync(@NonNull data: Data): ListenableFuture<Void>
@@ -467,8 +476,8 @@ if(savedDarkMode === true){
-
-
open fun setRunInForeground(runInForeground: Boolean)
+
+
open fun setRunInForeground(runInForeground: Boolean)
@@ -484,8 +493,8 @@ if(savedDarkMode === true){
-
-
fun setUsed()
+
+
fun setUsed()
@@ -501,8 +510,8 @@ if(savedDarkMode === true){
-
-
override fun startWork(): ListenableFuture<ListenableWorker.Result>
+
+
override fun startWork(): ListenableFuture<ListenableWorker.Result>
@@ -518,8 +527,8 @@ if(savedDarkMode === true){
-
-
fun stop()
+
+
fun stop()
@@ -538,19 +547,6 @@ if(savedDarkMode === true){ -

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab/-kron-scheduler.html b/kdocs/dev.inmo.krontab/-kron-scheduler.html index 27dde5e..8e0cdca 100644 --- a/kdocs/dev.inmo.krontab/-kron-scheduler.html +++ b/kdocs/dev.inmo.krontab/-kron-scheduler.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

KronScheduler

-
-
-
fun KronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?): LambdaKronScheduler
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun KronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?): LambdaKronScheduler(source)
@@ -46,21 +55,17 @@ if(savedDarkMode === true){
- +

KronScheduler

-
-
-
interface KronScheduler

This interface was created for abstraction of next operation. Currently, there is only dev.inmo.krontab.internal.CronDateTimeScheduler realisation of this interface inside of this library, but you it is possible to create your own realisation of this interface for scheduling, for example, depending of users activity or something like this

+

This interface was created for abstraction of next operation. Currently, there is only dev.inmo.krontab.internal.CronDateTimeScheduler realisation of this interface inside of this library, but you it is possible to create your own realisation of this interface for scheduling, for example, depending of users activity or something like this

-
+
-

See also

+

See also

-
-
-
dev.inmo.krontab.internal.CronDateTimeScheduler
+
CronDateTimeScheduler

Functions

@@ -73,9 +78,7 @@ if(savedDarkMode === true){
-
-
-
abstract suspend fun next(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>?
+
abstract suspend fun next(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>?
@@ -127,9 +130,7 @@ if(savedDarkMode === true){
-
-
-
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

+
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

@@ -144,9 +145,7 @@ if(savedDarkMode === true){
-
-
-
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

+
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

@@ -161,9 +160,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

@@ -178,9 +175,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

@@ -195,9 +190,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

@@ -212,9 +205,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

@@ -229,9 +220,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

@@ -246,9 +235,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

@@ -263,9 +250,7 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
+
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
@@ -280,9 +265,7 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
+
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
@@ -297,9 +280,7 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
+
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
@@ -314,9 +295,7 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
+
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
@@ -331,27 +310,12 @@ if(savedDarkMode === true){
-
-
-
operator fun KronScheduler.plus(kronScheduler: KronScheduler): CollectionKronScheduler
+
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab/-kron-scheduler/next.html b/kdocs/dev.inmo.krontab/-kron-scheduler/next.html index 96d1479..1dfc26a 100644 --- a/kdocs/dev.inmo.krontab/-kron-scheduler/next.html +++ b/kdocs/dev.inmo.krontab/-kron-scheduler/next.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

next

-
-
-
abstract suspend fun next(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>?

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

dev.inmo.krontab.internal.CronDateTimeScheduler
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
abstract suspend fun next(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>?(source)

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

CronDateTimeScheduler.next
@@ -46,26 +55,13 @@ if(savedDarkMode === true){
- +

KrontabTemplateSchedulerWork

-
-
fun KrontabTemplateSchedulerWork(context: Context, workerParams: WorkerParameters)
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
+
@@ -46,15 +55,15 @@ if(savedDarkMode === true){
- +

KrontabTemplateSchedulerWork

-
-
abstract class KrontabTemplateSchedulerWork(context: Context, workerParams: WorkerParameters) : KronSchedulerWork

Extend this class in case you wish to base on KrontabTemplate. It will automatically handle request of kronScheduler and put it in setUpRequest

+
+

Extend this class in case you wish to base on KrontabTemplate. It will automatically handle request of kronScheduler and put it in setUpRequest

-
+

Constructors

@@ -68,8 +77,8 @@ if(savedDarkMode === true){
-
-
fun KrontabTemplateSchedulerWork(context: Context, workerParams: WorkerParameters)
+
+
@@ -87,8 +96,8 @@ if(savedDarkMode === true){
-
-
open suspend override fun doWork(): ListenableWorker.Result
+
+
open suspend override fun doWork(): ListenableWorker.Result
@@ -104,8 +113,8 @@ if(savedDarkMode === true){
-
-
fun getApplicationContext(): Context
+
+
@@ -121,8 +130,8 @@ if(savedDarkMode === true){
-
-
open fun getBackgroundExecutor(): Executor
+
+
@@ -138,8 +147,8 @@ if(savedDarkMode === true){
-
-
open suspend fun getForegroundInfo(): ForegroundInfo
+
+
open suspend fun getForegroundInfo(): ForegroundInfo
@@ -155,8 +164,8 @@ if(savedDarkMode === true){
-
-
override fun getForegroundInfoAsync(): ListenableFuture<ForegroundInfo>
+
+
override fun getForegroundInfoAsync(): ListenableFuture<ForegroundInfo>
@@ -172,8 +181,8 @@ if(savedDarkMode === true){
-
-
fun getId(): UUID
+
+
@@ -189,8 +198,8 @@ if(savedDarkMode === true){
-
-
fun getInputData(): Data
+
+
@@ -206,8 +215,8 @@ if(savedDarkMode === true){
-
-
@RequiresApi(value = 28)
fun getNetwork(): Network?
+
+
@@ -223,8 +232,8 @@ if(savedDarkMode === true){
-
-
@IntRange(from = 0)
fun getRunAttemptCount(): Int
+
+
@@ -240,8 +249,8 @@ if(savedDarkMode === true){
-
-
fun getTags(): MutableSet<String>
+
+
@@ -257,8 +266,8 @@ if(savedDarkMode === true){
-
-
open fun getTaskExecutor(): TaskExecutor
+
+
open fun getTaskExecutor(): TaskExecutor
@@ -274,8 +283,8 @@ if(savedDarkMode === true){
-
-
@RequiresApi(value = 24)
fun getTriggeredContentAuthorities(): MutableList<String>
+
+
@@ -291,8 +300,8 @@ if(savedDarkMode === true){
-
-
@RequiresApi(value = 24)
fun getTriggeredContentUris(): MutableList<Uri>
+
+
@@ -308,8 +317,8 @@ if(savedDarkMode === true){
-
-
open fun getWorkerFactory(): WorkerFactory
+
+
@@ -325,8 +334,8 @@ if(savedDarkMode === true){
-
-
open fun isRunInForeground(): Boolean
+
+
@@ -342,8 +351,8 @@ if(savedDarkMode === true){
-
-
fun isStopped(): Boolean
+
+
@@ -359,8 +368,8 @@ if(savedDarkMode === true){
-
-
fun isUsed(): Boolean
+
+
@@ -376,8 +385,8 @@ if(savedDarkMode === true){
-
-
override fun onStopped()
+
+
override fun onStopped()
@@ -393,8 +402,8 @@ if(savedDarkMode === true){
-
-
suspend fun setForeground(foregroundInfo: ForegroundInfo)
+
+
suspend fun setForeground(foregroundInfo: ForegroundInfo)
@@ -410,8 +419,8 @@ if(savedDarkMode === true){
-
-
fun setForegroundAsync(@NonNull foregroundInfo: ForegroundInfo): ListenableFuture<Void>
+
+
fun setForegroundAsync(@NonNull foregroundInfo: ForegroundInfo): ListenableFuture<Void>
@@ -427,8 +436,8 @@ if(savedDarkMode === true){
-
-
suspend fun setProgress(data: Data)
+
+
suspend fun setProgress(data: Data)
@@ -444,8 +453,8 @@ if(savedDarkMode === true){
-
-
open fun setProgressAsync(@NonNull data: Data): ListenableFuture<Void>
+
+
open fun setProgressAsync(@NonNull data: Data): ListenableFuture<Void>
@@ -461,8 +470,8 @@ if(savedDarkMode === true){
-
-
open fun setRunInForeground(runInForeground: Boolean)
+
+
open fun setRunInForeground(runInForeground: Boolean)
@@ -478,8 +487,8 @@ if(savedDarkMode === true){
-
-
fun setUsed()
+
+
fun setUsed()
@@ -495,8 +504,8 @@ if(savedDarkMode === true){
-
-
override fun startWork(): ListenableFuture<ListenableWorker.Result>
+
+
override fun startWork(): ListenableFuture<ListenableWorker.Result>
@@ -512,26 +521,13 @@ if(savedDarkMode === true){
-
-
fun stop()
+
+
fun stop()
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
diff --git a/kdocs/dev.inmo.krontab/-krontab-template-wrapper/-krontab-template-wrapper.html b/kdocs/dev.inmo.krontab/-krontab-template-wrapper/-krontab-template-wrapper.html index cff652f..6ee7028 100644 --- a/kdocs/dev.inmo.krontab/-krontab-template-wrapper/-krontab-template-wrapper.html +++ b/kdocs/dev.inmo.krontab/-krontab-template-wrapper/-krontab-template-wrapper.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

KrontabTemplateWrapper

-
-
-
fun KrontabTemplateWrapper(template: KrontabTemplate)
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

KrontabTemplateWrapper

-
-
-
data class KrontabTemplateWrapper(val template: KrontabTemplate) : KronScheduler

This class contains template and can be simply serialized/deserialized. In fact that class will work as dev.inmo.krontab.internal.CronDateTimeScheduler due to the fact that toKronScheduler will return it under the hood

+

This class contains template and can be simply serialized/deserialized. In fact that class will work as dev.inmo.krontab.internal.CronDateTimeScheduler due to the fact that toKronScheduler will return it under the hood

-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun KrontabTemplateWrapper(template: KrontabTemplate)
+
@@ -86,9 +91,7 @@ if(savedDarkMode === true){
-
-
-
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
+
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
@@ -105,24 +108,206 @@ if(savedDarkMode === true){
-
-
-
val template: KrontabTemplate
+
-

Sources

-
+

Extensions

+
- - + +
Link copied to clipboard
-
+
+
+
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
diff --git a/kdocs/dev.inmo.krontab/-krontab-template-wrapper/template.html b/kdocs/dev.inmo.krontab/-krontab-template-wrapper/template.html index 9f34511..7f9743e 100644 --- a/kdocs/dev.inmo.krontab/-krontab-template-wrapper/template.html +++ b/kdocs/dev.inmo.krontab/-krontab-template-wrapper/template.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

template

-
-
-
val template: KrontabTemplate
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

LambdaKronSchedulerTz

-
-
-
fun LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?)
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?)(source)
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

LambdaKronSchedulerTz

-
-
-
class LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?) : KronSchedulerTz
+
class LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?) : KronSchedulerTz(source)
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?)
+
fun LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?)
@@ -86,24 +91,221 @@ if(savedDarkMode === true){
-
-
-
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
+
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
-

Sources

-
+

Extensions

+
- - + +
Link copied to clipboard
-
+
+
+
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronSchedulerTz.nextOrNowWithOffset(): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
diff --git a/kdocs/dev.inmo.krontab/-lambda-kron-scheduler-tz/next.html b/kdocs/dev.inmo.krontab/-lambda-kron-scheduler-tz/next.html index 8c00e0b..56e11ec 100644 --- a/kdocs/dev.inmo.krontab/-lambda-kron-scheduler-tz/next.html +++ b/kdocs/dev.inmo.krontab/-lambda-kron-scheduler-tz/next.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

next

-
-
-
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

dev.inmo.krontab.internal.CronDateTimeScheduler
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?(source)

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

CronDateTimeScheduler.next
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

LambdaKronScheduler

-
-
-
fun LambdaKronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?)
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
fun LambdaKronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?)(source)
@@ -46,15 +55,13 @@ if(savedDarkMode === true){
- +

LambdaKronScheduler

-
-
-
class LambdaKronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?) : KronScheduler
+
class LambdaKronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?) : KronScheduler(source)
-
+

Constructors

@@ -67,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
fun LambdaKronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?)
+
fun LambdaKronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?)
@@ -86,24 +91,206 @@ if(savedDarkMode === true){
-
-
-
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
+
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?
-

Sources

-
+

Extensions

+
- - + +
Link copied to clipboard
-
+
+
+
fun KronScheduler.asFlow(): <Error class: unknown class><<Error class: unknown class>>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
fun KronScheduler.asTzFlow(): <Error class: unknown class><<Error class: unknown class>>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
diff --git a/kdocs/dev.inmo.krontab/-lambda-kron-scheduler/next.html b/kdocs/dev.inmo.krontab/-lambda-kron-scheduler/next.html index f42b95d..ea0d0f9 100644 --- a/kdocs/dev.inmo.krontab/-lambda-kron-scheduler/next.html +++ b/kdocs/dev.inmo.krontab/-lambda-kron-scheduler/next.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

next

-
-
-
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

dev.inmo.krontab.internal.CronDateTimeScheduler
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
open suspend override fun next(relatively: <Error class: unknown class>): <Error class: unknown class>?(source)

Return

Next DateTime when some action must be triggered according to settings of this instance

See also

CronDateTimeScheduler.next
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

buildSchedule

-
-
-
fun buildSchedule(incoming: KrontabTemplate): KronScheduler
fun buildSchedule(incoming: KrontabTemplate, defaultOffset: Minutes): KronSchedulerTz

Shortcut for createSimpleScheduler

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

createSimpleScheduler

-
-
-
fun createSimpleScheduler(incoming: KrontabTemplate): KronScheduler

Parse incoming string and adapt according to next format: "* * * * *" where order of things:

  • seconds

  • minutes

  • hours

  • dayOfMonth

  • month

  • year (optional)

  • offset (optional) (can be placed anywhere after month) (must be marked with o at the end, for example: 60o == +01:00)

  • dayOfWeek (optional) (can be placed anywhere after month)

  • milliseconds (optional) (can be placed anywhere after month) (must be marked with ms at the end, for example: 500ms; 100-200ms)

And each one (except of offsets) have next format:

{number}[,{number},...] or *

and {number} here is one of

  • {int}-{int}

  • {int}/{int}

  • */{int}

  • {int}

  • F

  • L

Week days must be marked with w at the end, and starts with 0 which means Sunday. For example, 0w == Sunday. With weeks you can use syntax like with any number like seconds, for example: 0-2w means Sunday-Tuesday

Additional info about ranges can be found in follow accordance:

  • Seconds ranges can be found in secondsRange

  • Minutes ranges can be found in minutesRange

  • Hours ranges can be found in hoursRange

  • Days of month ranges can be found in dayOfMonthRange

  • Months ranges can be found in monthRange

  • Years ranges can be found in yearRange (in fact - any Int)

  • WeekDay (timezone) ranges can be found in dayOfWeekRange

  • Milliseconds ranges can be found in millisecondsRange

Examples:

  • "0/5 * * * *" for every five seconds triggering

  • "0/5,L * * * *" for every five seconds triggering and on 59 second

  • "0/15 30 * * *" for every 15th seconds in a half of each hour

  • "0/15 30 * * * 500ms" for every 15th seconds in a half of each hour when milliseconds equal to 500

  • "1 2 3 F,4,L 5" for triggering in near first second of second minute of third hour of first, fifth and last days of may

  • "1 2 3 F,4,L 5 60o" for triggering in near first second of second minute of third hour of first, fifth and last days of may with timezone UTC+01:00

  • "1 2 3 F,4,L 5 60o 0-2w" for triggering in near first second of second minute of third hour of first, fifth and last days of may in case if it will be in Sunday-Tuesday week days with timezone UTC+01:00

  • "1 2 3 F,4,L 5 2021" for triggering in near first second of second minute of third hour of first, fifth and last days of may of 2021st year

  • "1 2 3 F,4,L 5 2021 60o" for triggering in near first second of second minute of third hour of first, fifth and last days of may of 2021st year with timezone UTC+01:00

  • "1 2 3 F,4,L 5 2021 60o 0-2w" for triggering in near first second of second minute of third hour of first, fifth and last days of may of 2021st year if it will be in Sunday-Tuesday week days with timezone UTC+01:00

  • "1 2 3 F,4,L 5 2021 60o 0-2w 500ms" for triggering in near first second of second minute of third hour of first, fifth and last days of may of 2021st year if it will be in Sunday-Tuesday week days with timezone UTC+01:00 when milliseconds will be equal to 500

Return

In case when offset parameter is absent in incoming will be used createSimpleScheduler method and returned CronDateTimeScheduler. In case when offset parameter there is in incoming will be used createKronSchedulerWithOffset and returned CronDateTimeSchedulerTz

See also

dev.inmo.krontab.internal.createKronScheduler

fun createSimpleScheduler(incoming: KrontabTemplate, defaultOffset: Minutes): KronSchedulerTz
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+

Parse incoming string and adapt according to next format: "* * * * *" where order of things:

  • seconds

  • minutes

  • hours

  • dayOfMonth

  • month

  • year (optional)

  • offset (optional) (can be placed anywhere after month) (must be marked with o at the end, for example: 60o == +01:00)

  • dayOfWeek (optional) (can be placed anywhere after month)

  • milliseconds (optional) (can be placed anywhere after month) (must be marked with ms at the end, for example: 500ms; 100-200ms)

And each one (except of offsets) have next format:

{number}[,{number},...] or *

and {number} here is one of

  • {int}-{int}

  • {int}/{int}

  • */{int}

  • {int}

  • F

  • L

Week days must be marked with w at the end, and starts with 0 which means Sunday. For example, 0w == Sunday. With weeks you can use syntax like with any number like seconds, for example: 0-2w means Sunday-Tuesday

Additional info about ranges can be found in follow accordance:

  • Seconds ranges can be found in secondsRange

  • Minutes ranges can be found in minutesRange

  • Hours ranges can be found in hoursRange

  • Days of month ranges can be found in dayOfMonthRange

  • Months ranges can be found in monthRange

  • Years ranges can be found in yearRange (in fact - any Int)

  • WeekDay (timezone) ranges can be found in dayOfWeekRange

  • Milliseconds ranges can be found in millisecondsRange

Examples:

  • "0/5 * * * *" for every five seconds triggering

  • "0/5,L * * * *" for every five seconds triggering and on 59 second

  • "0/15 30 * * *" for every 15th seconds in a half of each hour

  • "0/15 30 * * * 500ms" for every 15th seconds in a half of each hour when milliseconds equal to 500

  • "1 2 3 F,4,L 5" for triggering in near first second of second minute of third hour of first, fifth and last days of may

  • "1 2 3 F,4,L 5 60o" for triggering in near first second of second minute of third hour of first, fifth and last days of may with timezone UTC+01:00

  • "1 2 3 F,4,L 5 60o 0-2w" for triggering in near first second of second minute of third hour of first, fifth and last days of may in case if it will be in Sunday-Tuesday week days with timezone UTC+01:00

  • "1 2 3 F,4,L 5 2021" for triggering in near first second of second minute of third hour of first, fifth and last days of may of 2021st year

  • "1 2 3 F,4,L 5 2021 60o" for triggering in near first second of second minute of third hour of first, fifth and last days of may of 2021st year with timezone UTC+01:00

  • "1 2 3 F,4,L 5 2021 60o 0-2w" for triggering in near first second of second minute of third hour of first, fifth and last days of may of 2021st year if it will be in Sunday-Tuesday week days with timezone UTC+01:00

  • "1 2 3 F,4,L 5 2021 60o 0-2w 500ms" for triggering in near first second of second minute of third hour of first, fifth and last days of may of 2021st year if it will be in Sunday-Tuesday week days with timezone UTC+01:00 when milliseconds will be equal to 500

Return

In case when offset parameter is absent in incoming will be used createSimpleScheduler method and returned CronDateTimeScheduler. In case when offset parameter there is in incoming will be used createKronSchedulerWithOffset and returned CronDateTimeSchedulerTz

See also

createKronScheduler

@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

doInfinityTz

-
-
-
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result


inline suspend fun doInfinityTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Unit)

Will buildSchedule using scheduleConfig and call doInfinity with block

See also

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)(source)

Will execute block without any checking of result


inline suspend fun doInfinityTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Unit)(source)

Will buildSchedule using scheduleConfig and call doInfinity with block

See also

@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

doInfinity

-
-
-
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result


inline suspend fun doInfinity(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Unit)

Will buildSchedule using scheduleConfig and call doInfinity with block

See also

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)(source)

Will execute block without any checking of result


inline suspend fun doInfinity(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Unit)(source)

Will buildSchedule using scheduleConfig and call doInfinity with block

See also

@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

doOnceTz

-
-
-
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

WARNING!!! If you want to launch it in parallel, you must do this explicitly.

WARNING!!! In case if KronScheduler.next of this instance will return null, block will be called immediatelly


inline suspend fun <T> doOnceTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> T): T

Will buildSchedule using scheduleConfig and call doOnce on it

See also

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T(source)

Execute block once at the KronScheduler.next time and return result of block calculation.

WARNING!!! If you want to launch it in parallel, you must do this explicitly.

WARNING!!! In case if KronScheduler.next of this instance will return null, block will be called immediatelly


inline suspend fun <T> doOnceTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> T): T(source)

Will buildSchedule using scheduleConfig and call doOnce on it

See also

@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

doOnce

-
-
-
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

WARNING!!! If you want to launch it in parallel, you must do this explicitly.

WARNING!!! In case if KronScheduler.next of this instance will return null, block will be called immediately


inline suspend fun <T> doOnce(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> T): T

Will buildSchedule using scheduleConfig and call doOnce on it

See also

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T(source)

Execute block once at the KronScheduler.next time and return result of block calculation.

WARNING!!! If you want to launch it in parallel, you must do this explicitly.

WARNING!!! In case if KronScheduler.next of this instance will return null, block will be called immediately


inline suspend fun <T> doOnce(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> T): T(source)

Will buildSchedule using scheduleConfig and call doOnce on it

See also

@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

doWhileTz

-
-
-
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation


inline suspend fun doWhileTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will buildSchedule using scheduleConfig and call doWhile with block

See also

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)(source)

Will execute block while it will return true as a result of its calculation


inline suspend fun doWhileTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Boolean)(source)

Will buildSchedule using scheduleConfig and call doWhile with block

See also

@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

doWhile

-
-
-
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation


inline suspend fun doWhile(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will buildSchedule using scheduleConfig and call doWhile with block

See also

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)(source)

Will execute block while it will return true as a result of its calculation


inline suspend fun doWhile(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Boolean)(source)

Will buildSchedule using scheduleConfig and call doWhile with block

See also

@@ -46,59 +55,13 @@ if(savedDarkMode === true){
- +

enqueueKronSchedulerWork

-
-
suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(    workName: String,     delayMillis: Long,     workClass: Class<T>,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation

This method will enqueue OneTimeWorkRequest with workName and existingWorkPolicy. Use setUpRequest callback in case you need some additional actions to do before request will be enqueued


inline suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(    workName: String,     delayMillis: Long,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     noinline setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation

This method is shortcut for enqueueKronSchedulerWork with reified T parameter


suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(    workName: String,     initialScheduler: KronScheduler,     workClass: Class<T>,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation?

This method is shortcut for enqueueKronSchedulerWork with initialScheduler. It will try to calculate delay by itself. In case if KronScheduler.next of initialScheduler will return null, work WILL NOT be enqueued

Return

null in case if KronScheduler.next of initialScheduler has returned null and work has not been enqueued


inline suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(    workName: String,     initialScheduler: KronScheduler,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     noinline setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation?

This method is shortcut for enqueueKronSchedulerWork with reified T

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
+
suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(workName: String, delayMillis: Long, workClass: Class<T>, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation(source)

This method will enqueue OneTimeWorkRequest with workName and existingWorkPolicy. Use setUpRequest callback in case you need some additional actions to do before request will be enqueued


inline suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(workName: String, delayMillis: Long, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, noinline setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation(source)

This method is shortcut for enqueueKronSchedulerWork with reified T parameter


suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(workName: String, initialScheduler: KronScheduler, workClass: Class<T>, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation?(source)

This method is shortcut for enqueueKronSchedulerWork with initialScheduler. It will try to calculate delay by itself. In case if KronScheduler.next of initialScheduler will return null, work WILL NOT be enqueued

Return

null in case if KronScheduler.next of initialScheduler has returned null and work has not been enqueued


inline suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(workName: String, initialScheduler: KronScheduler, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, noinline setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation?(source)

This method is shortcut for enqueueKronSchedulerWork with reified T

@@ -46,26 +55,13 @@ if(savedDarkMode === true){
- +

enqueueKrontabTemplateSchedulerWork

-
-
inline suspend fun <T : KrontabTemplateSchedulerWork> Context.enqueueKrontabTemplateSchedulerWork(    workName: String,     krontabTemplate: KrontabTemplate,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     noinline setUpRequest: suspend OneTimeWorkRequest.Builder.(data: Data) -> Unit = {}): Operation?

Will enqueueKronSchedulerWork with KronScheduler from krontabTemplate and call setUpRequest on setting up OneTimeWorkRequest.Builder with Data which will be used to OneTimeWorkRequest.Builder.setInputData after setUpRequest completed

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
+
inline suspend fun <T : KrontabTemplateSchedulerWork> Context.enqueueKrontabTemplateSchedulerWork(workName: String, krontabTemplate: KrontabTemplate, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, noinline setUpRequest: suspend OneTimeWorkRequest.Builder.(data: Data) -> Unit = {}): Operation?(source)

Will enqueueKronSchedulerWork with KronScheduler from krontabTemplate and call setUpRequest on setting up OneTimeWorkRequest.Builder with Data which will be used to OneTimeWorkRequest.Builder.setInputData after setUpRequest completed

@@ -47,9 +56,9 @@ if(savedDarkMode === true){
- +
-

Package dev.inmo.krontab

+

Package-level declarations

@@ -65,9 +74,7 @@ if(savedDarkMode === true){
-
-
-
interface KronScheduler

This interface was created for abstraction of next operation. Currently, there is only dev.inmo.krontab.internal.CronDateTimeScheduler realisation of this interface inside of this library, but you it is possible to create your own realisation of this interface for scheduling, for example, depending of users activity or something like this

+
interface KronScheduler

This interface was created for abstraction of next operation. Currently, there is only dev.inmo.krontab.internal.CronDateTimeScheduler realisation of this interface inside of this library, but you it is possible to create your own realisation of this interface for scheduling, for example, depending of users activity or something like this

@@ -82,9 +89,7 @@ if(savedDarkMode === true){
-
-
-
interface KronSchedulerTz : KronScheduler

This interface extending KronScheduler to use DateTimeTz with taking into account offset of incoming time for next operation.

+

This interface extending KronScheduler to use DateTimeTz with taking into account offset of incoming time for next operation.

@@ -100,8 +105,8 @@ if(savedDarkMode === true){
-
-
abstract class KronSchedulerWork(context: Context, workerParams: WorkerParameters) : CoroutineWorker

Use this class as a super class in case you wish to implement krontab-based enqueuing of works

+
+
abstract class KronSchedulerWork(context: Context, workerParams: WorkerParameters) : CoroutineWorker

Use this class as a super class in case you wish to implement krontab-based enqueuing of works

@@ -116,9 +121,7 @@ if(savedDarkMode === true){
-
-
-
typealias KrontabTemplate = String
+
@@ -134,8 +137,8 @@ if(savedDarkMode === true){
-
-
abstract class KrontabTemplateSchedulerWork(context: Context, workerParams: WorkerParameters) : KronSchedulerWork

Extend this class in case you wish to base on KrontabTemplate. It will automatically handle request of kronScheduler and put it in setUpRequest

+
+

Extend this class in case you wish to base on KrontabTemplate. It will automatically handle request of kronScheduler and put it in setUpRequest

@@ -150,9 +153,7 @@ if(savedDarkMode === true){
-
-
-
data class KrontabTemplateWrapper(val template: KrontabTemplate) : KronScheduler

This class contains template and can be simply serialized/deserialized. In fact that class will work as dev.inmo.krontab.internal.CronDateTimeScheduler due to the fact that toKronScheduler will return it under the hood

+

This class contains template and can be simply serialized/deserialized. In fact that class will work as dev.inmo.krontab.internal.CronDateTimeScheduler due to the fact that toKronScheduler will return it under the hood

@@ -167,9 +168,7 @@ if(savedDarkMode === true){
-
-
-
class LambdaKronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?) : KronScheduler
+
class LambdaKronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?) : KronScheduler
@@ -184,9 +183,7 @@ if(savedDarkMode === true){
-
-
-
class LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?) : KronSchedulerTz
+
class LambdaKronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?) : KronSchedulerTz
@@ -203,9 +200,7 @@ if(savedDarkMode === true){
-
-
-
fun buildSchedule(incoming: KrontabTemplate): KronScheduler
fun buildSchedule(incoming: KrontabTemplate, defaultOffset: Minutes): KronSchedulerTz
+
@@ -220,9 +215,7 @@ if(savedDarkMode === true){
-
-
-
fun createSimpleScheduler(incoming: KrontabTemplate): KronScheduler

Parse incoming string and adapt according to next format: "* * * * *" where order of things:

fun createSimpleScheduler(incoming: KrontabTemplate, defaultOffset: Minutes): KronSchedulerTz
+

Parse incoming string and adapt according to next format: "* * * * *" where order of things:

@@ -237,9 +230,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

inline suspend fun doInfinity(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Unit)

Will buildSchedule using scheduleConfig and call doInfinity with block

+
inline suspend fun KronScheduler.doInfinity(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

inline suspend fun doInfinity(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Unit)

Will buildSchedule using scheduleConfig and call doInfinity with block

@@ -254,9 +245,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

inline suspend fun doInfinityTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Unit)

Will buildSchedule using scheduleConfig and call doInfinity with block

+
inline suspend fun KronScheduler.doInfinityTz(noinline block: suspend (<Error class: unknown class>) -> Unit)

Will execute block without any checking of result

inline suspend fun doInfinityTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Unit)

Will buildSchedule using scheduleConfig and call doInfinity with block

@@ -271,9 +260,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

inline suspend fun <T> doOnce(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> T): T

Will buildSchedule using scheduleConfig and call doOnce on it

+
inline suspend fun <T> KronScheduler.doOnce(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

inline suspend fun <T> doOnce(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> T): T

Will buildSchedule using scheduleConfig and call doOnce on it

@@ -288,9 +275,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

inline suspend fun <T> doOnceTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> T): T

Will buildSchedule using scheduleConfig and call doOnce on it

+
inline suspend fun <T> KronScheduler.doOnceTz(noinline block: suspend (<Error class: unknown class>) -> T): T

Execute block once at the KronScheduler.next time and return result of block calculation.

inline suspend fun <T> doOnceTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> T): T

Will buildSchedule using scheduleConfig and call doOnce on it

@@ -305,9 +290,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

inline suspend fun doWhile(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will buildSchedule using scheduleConfig and call doWhile with block

+
inline suspend fun KronScheduler.doWhile(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

inline suspend fun doWhile(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will buildSchedule using scheduleConfig and call doWhile with block

@@ -322,9 +305,7 @@ if(savedDarkMode === true){
-
-
-
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

inline suspend fun doWhileTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will buildSchedule using scheduleConfig and call doWhile with block

+
inline suspend fun KronScheduler.doWhileTz(noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will execute block while it will return true as a result of its calculation

inline suspend fun doWhileTz(scheduleConfig: String, noinline block: suspend (<Error class: unknown class>) -> Boolean)

Will buildSchedule using scheduleConfig and call doWhile with block

@@ -340,8 +321,8 @@ if(savedDarkMode === true){
-
-
inline suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(    workName: String,     initialScheduler: KronScheduler,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     noinline setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation?

This method is shortcut for enqueueKronSchedulerWork with reified T

inline suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(    workName: String,     delayMillis: Long,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     noinline setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation

This method is shortcut for enqueueKronSchedulerWork with reified T parameter

suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(    workName: String,     initialScheduler: KronScheduler,     workClass: Class<T>,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation?

This method is shortcut for enqueueKronSchedulerWork with initialScheduler. It will try to calculate delay by itself. In case if KronScheduler.next of initialScheduler will return null, work WILL NOT be enqueued

suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(    workName: String,     delayMillis: Long,     workClass: Class<T>,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation

This method will enqueue OneTimeWorkRequest with workName and existingWorkPolicy. Use setUpRequest callback in case you need some additional actions to do before request will be enqueued

+
+
inline suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(workName: String, initialScheduler: KronScheduler, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, noinline setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation?

This method is shortcut for enqueueKronSchedulerWork with reified T

inline suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(workName: String, delayMillis: Long, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, noinline setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation

This method is shortcut for enqueueKronSchedulerWork with reified T parameter

suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(workName: String, initialScheduler: KronScheduler, workClass: Class<T>, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation?

This method is shortcut for enqueueKronSchedulerWork with initialScheduler. It will try to calculate delay by itself. In case if KronScheduler.next of initialScheduler will return null, work WILL NOT be enqueued

suspend fun <T : KronSchedulerWork> Context.enqueueKronSchedulerWork(workName: String, delayMillis: Long, workClass: Class<T>, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, setUpRequest: suspend OneTimeWorkRequest.Builder.() -> Unit = {}): Operation

This method will enqueue OneTimeWorkRequest with workName and existingWorkPolicy. Use setUpRequest callback in case you need some additional actions to do before request will be enqueued

@@ -357,8 +338,8 @@ if(savedDarkMode === true){
-
-
inline suspend fun <T : KrontabTemplateSchedulerWork> Context.enqueueKrontabTemplateSchedulerWork(    workName: String,     krontabTemplate: KrontabTemplate,     existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE,     noinline setUpRequest: suspend OneTimeWorkRequest.Builder.(data: Data) -> Unit = {}): Operation?

Will enqueueKronSchedulerWork with KronScheduler from krontabTemplate and call setUpRequest on setting up OneTimeWorkRequest.Builder with Data which will be used to OneTimeWorkRequest.Builder.setInputData after setUpRequest completed

+
+
inline suspend fun <T : KrontabTemplateSchedulerWork> Context.enqueueKrontabTemplateSchedulerWork(workName: String, krontabTemplate: KrontabTemplate, existingWorkPolicy: ExistingWorkPolicy = ExistingWorkPolicy.REPLACE, noinline setUpRequest: suspend OneTimeWorkRequest.Builder.(data: Data) -> Unit = {}): Operation?

Will enqueueKronSchedulerWork with KronScheduler from krontabTemplate and call setUpRequest on setting up OneTimeWorkRequest.Builder with Data which will be used to OneTimeWorkRequest.Builder.setInputData after setUpRequest completed

@@ -373,9 +354,7 @@ if(savedDarkMode === true){
-
-
-
fun KronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?): LambdaKronScheduler
+
fun KronScheduler(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?): LambdaKronScheduler
@@ -390,9 +369,7 @@ if(savedDarkMode === true){
-
-
-
fun KronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?): LambdaKronSchedulerTz
+
fun KronSchedulerTz(onNext: suspend (<Error class: unknown class>) -> <Error class: unknown class>?): LambdaKronSchedulerTz
@@ -407,9 +384,7 @@ if(savedDarkMode === true){
-
-
-
inline fun Iterable<KronScheduler>.merge(): CollectionKronScheduler
fun Iterator<KronScheduler>.merge(): CollectionKronScheduler

Create new one CollectionKronScheduler to include all KronSchedulers of this

inline fun merge(vararg kronDateTimeSchedulers: KronScheduler): CollectionKronScheduler
+
@@ -424,9 +399,7 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
+
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
@@ -441,9 +414,7 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
+
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
@@ -458,9 +429,7 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronSchedulerTz.nextOrNowWithOffset(): <Error class: unknown class>
+
suspend fun KronSchedulerTz.nextOrNowWithOffset(): <Error class: unknown class>
@@ -475,9 +444,7 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>
+
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>
@@ -492,9 +459,7 @@ if(savedDarkMode === true){
-
-
-
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
+
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
@@ -509,9 +474,7 @@ if(savedDarkMode === true){
-
-
-
fun KrontabTemplate.toKronScheduler(): KronScheduler
fun KrontabTemplate.toKronScheduler(defaultOffset: Minutes): KronSchedulerTz

Shortcut for buildSchedule

+
@@ -526,9 +489,7 @@ if(savedDarkMode === true){
-
-
-
fun KrontabTemplate.toSchedule(): KronScheduler
fun KrontabTemplate.toSchedule(defaultOffset: Minutes): KronSchedulerTz

Shortcut for buildSchedule

+
@@ -543,9 +504,7 @@ if(savedDarkMode === true){
@@ -562,9 +521,7 @@ if(savedDarkMode === true){
-
-
-
val AnyTimeScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now

+

KronScheduler.next will always return com.soywiz.klock.DateTime.now

@@ -579,9 +536,7 @@ if(savedDarkMode === true){
-
-
-
val EveryDayOfMonthScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one day

+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one day

@@ -596,9 +551,7 @@ if(savedDarkMode === true){
-
-
-
val EveryHourScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one hour

+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one hour

@@ -613,9 +566,7 @@ if(savedDarkMode === true){
-
-
-
val EveryMillisecondScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one millisecond

+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one millisecond

@@ -630,9 +581,7 @@ if(savedDarkMode === true){
-
-
-
val EveryMinuteScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one minute

+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one minute

@@ -647,9 +596,7 @@ if(savedDarkMode === true){
-
-
-
val EveryMonthScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one month

+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one month

@@ -664,9 +611,7 @@ if(savedDarkMode === true){
-
-
-
val EverySecondScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one second

+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one second

@@ -681,9 +626,7 @@ if(savedDarkMode === true){
-
-
-
val EveryYearScheduler: KronScheduler

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one year

+

KronScheduler.next will always return com.soywiz.klock.DateTime.now + one year

@@ -699,8 +642,8 @@ if(savedDarkMode === true){
-
-
const val krontabTemplateWorkField: String
+
+
diff --git a/kdocs/dev.inmo.krontab/krontab-template-work-field.html b/kdocs/dev.inmo.krontab/krontab-template-work-field.html index 3971212..be4e8c5 100644 --- a/kdocs/dev.inmo.krontab/krontab-template-work-field.html +++ b/kdocs/dev.inmo.krontab/krontab-template-work-field.html @@ -6,10 +6,18 @@ + if (storage == null) { + const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches + if (osDarkSchemePreferred === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } else { + const savedDarkMode = JSON.parse(storage) + if(savedDarkMode === true) { + document.getElementsByTagName("html")[0].classList.add("theme-dark") + } + } + @@ -21,6 +29,7 @@ if(savedDarkMode === true){ +
-0.8.2
+0.8.3
@@ -46,26 +55,13 @@ if(savedDarkMode === true){
- +

krontabTemplateWorkField

-
-
const val krontabTemplateWorkField: String
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
+
@@ -46,48 +55,11 @@ if(savedDarkMode === true){
- +

merge

-
-
-
fun Iterator<KronScheduler>.merge(): CollectionKronScheduler
inline fun Iterable<KronScheduler>.merge(): CollectionKronScheduler

Create new one CollectionKronScheduler to include all KronSchedulers of this

See also


inline fun merge(vararg kronDateTimeSchedulers: KronScheduler): CollectionKronScheduler

Return

Vararg shortcut for merge

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

nextOrNowWithOffset

-
-
-
suspend fun KronSchedulerTz.nextOrNowWithOffset(): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
suspend fun KronSchedulerTz.nextOrNowWithOffset(): <Error class: unknown class>(source)
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

nextOrNow

-
-
-
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
suspend fun KronScheduler.nextOrNow(): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

nextOrRelative

-
-
-
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
suspend fun KronScheduler.nextOrRelative(relatively: <Error class: unknown class> = DateTime.now()): <Error class: unknown class>(source)
suspend fun KronSchedulerTz.nextOrRelative(relatively: <Error class: unknown class>): <Error class: unknown class>(source)
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

nextTimeZoned

-
-
-
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
suspend fun KronScheduler.nextTimeZoned(): <Error class: unknown class>?(source)
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

next

-
-
-
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>
-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
suspend fun KronScheduler.next(relatively: <Error class: unknown class>): <Error class: unknown class>(source)
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

toKronScheduler

-
-
-
fun KrontabTemplate.toKronScheduler(): KronScheduler
fun KrontabTemplate.toKronScheduler(defaultOffset: Minutes): KronSchedulerTz

Shortcut for buildSchedule

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,37 +55,11 @@ if(savedDarkMode === true){
- +

toSchedule

-
-
-
fun KrontabTemplate.toSchedule(): KronScheduler
fun KrontabTemplate.toSchedule(defaultOffset: Minutes): KronSchedulerTz

Shortcut for buildSchedule

-

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
- -
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
@@ -46,26 +55,11 @@ if(savedDarkMode === true){
- +

wrapAsKronScheduler

- -

Sources

-
-
-
-
- - -
Link copied to clipboard
-
-
-
-
-
+
diff --git a/scripts/main.js b/scripts/main.js index b3ee88c..ca7ae01 100644 --- a/scripts/main.js +++ b/scripts/main.js @@ -3,7 +3,7 @@ Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],n=0;n{"use strict";e.exports=function(e,n){var t=this,r=t.constructor;return t.options=Object.assign({storeInstancesGlobally:!0},n||{}),t.callbacks={},t.directMap={},t.sequenceLevels={},t.resetTimer=null,t.ignoreNextKeyup=!1,t.ignoreNextKeypress=!1,t.nextExpectedAction=!1,t.element=e,t.addEvents(),t.options.storeInstancesGlobally&&r.instances.push(t),t},e.exports.prototype.bind=t(2207),e.exports.prototype.bindMultiple=t(3396),e.exports.prototype.unbind=t(9208),e.exports.prototype.trigger=t(9855),e.exports.prototype.reset=t(6214),e.exports.prototype.stopCallback=t(3450),e.exports.prototype.handleKey=t(3067),e.exports.prototype.addEvents=t(718),e.exports.prototype.bindSingle=t(8763),e.exports.prototype.getKeyInfo=t(5825),e.exports.prototype.pickBestAction=t(8608),e.exports.prototype.getReverseMap=t(3956),e.exports.prototype.getMatches=t(3373),e.exports.prototype.resetSequences=t(3346),e.exports.prototype.fireCallback=t(2684),e.exports.prototype.bindSequence=t(7103),e.exports.prototype.resetSequenceTimer=t(7309),e.exports.prototype.detach=t(7554),e.exports.instances=[],e.exports.reset=t(1822),e.exports.REVERSE_MAP=null},718:(e,n,t)=>{"use strict";e.exports=function(){var e=this,n=t(4323),r=e.element;e.eventHandler=t(9646).bind(e),n(r,"keypress",e.eventHandler),n(r,"keydown",e.eventHandler),n(r,"keyup",e.eventHandler)}},2207:e=>{"use strict";e.exports=function(e,n,t){return e=e instanceof Array?e:[e],this.bindMultiple(e,n,t),this}},3396:e=>{"use strict";e.exports=function(e,n,t){for(var r=0;r{"use strict";e.exports=function(e,n,r,o){var i=this;function a(n){return function(){i.nextExpectedAction=n,++i.sequenceLevels[e],i.resetSequenceTimer()}}function l(n){var a;i.fireCallback(r,n,e),"keyup"!==o&&(a=t(6770),i.ignoreNextKeyup=a(n)),setTimeout((function(){i.resetSequences()}),10)}i.sequenceLevels[e]=0;for(var c=0;c{"use strict";e.exports=function(e,n,t,r,o){var i=this;i.directMap[e+":"+t]=n;var a,l=(e=e.replace(/\s+/g," ")).split(" ");l.length>1?i.bindSequence(e,l,n,t):(a=i.getKeyInfo(e,t),i.callbacks[a.key]=i.callbacks[a.key]||[],i.getMatches(a.key,a.modifiers,{type:a.action},r,e,o),i.callbacks[a.key][r?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:r,level:o,combo:e}))}},7554:(e,n,t)=>{var r=t(4323).off;e.exports=function(){var e=this,n=e.element;r(n,"keypress",e.eventHandler),r(n,"keydown",e.eventHandler),r(n,"keyup",e.eventHandler)}},4323:e=>{function n(e,n,t,r){return!e.addEventListener&&(n="on"+n),(e.addEventListener||e.attachEvent).call(e,n,t,r),t}e.exports=n,e.exports.on=n,e.exports.off=function(e,n,t,r){return!e.removeEventListener&&(n="on"+n),(e.removeEventListener||e.detachEvent).call(e,n,t,r),t}},2684:(e,n,t)=>{"use strict";e.exports=function(e,n,r,o){this.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(t(1350)(n),t(6103)(n))}},5825:(e,n,t)=>{"use strict";e.exports=function(e,n){var r,o,i,a,l,c,u=[];for(r=t(4520)(e),a=t(7549),l=t(5355),c=t(8581),i=0;i{"use strict";e.exports=function(e,n,r,o,i,a){var l,c,u,s,f=this,p=[],d=r.type;"keypress"!==d||r.code&&"Arrow"===r.code.slice(0,5)||(f.callbacks["any-character"]||[]).forEach((function(e){p.push(e)}));if(!f.callbacks[e])return p;for(u=t(8581),"keyup"===d&&u(e)&&(n=[e]),l=0;l{"use strict";e.exports=function(){var e,n=this.constructor;if(!n.REVERSE_MAP)for(var r in n.REVERSE_MAP={},e=t(4766))r>95&&r<112||e.hasOwnProperty(r)&&(n.REVERSE_MAP[e[r]]=r);return n.REVERSE_MAP}},3067:(e,n,t)=>{"use strict";e.exports=function(e,n,r){var o,i,a,l,c=this,u={},s=0,f=!1;for(o=c.getMatches(e,n,r),i=0;i{"use strict";e.exports=function(e){var n,r=this;"number"!=typeof e.which&&(e.which=e.keyCode);var o=t(6770)(e);void 0!==o&&("keyup"!==e.type||r.ignoreNextKeyup!==o?(n=t(4610),r.handleKey(o,n(e),e)):r.ignoreNextKeyup=!1)}},5532:e=>{"use strict";e.exports=function(e,n){return e.sort().join(",")===n.sort().join(",")}},8608:e=>{"use strict";e.exports=function(e,n,t){return t||(t=this.getReverseMap()[e]?"keydown":"keypress"),"keypress"===t&&n.length&&(t="keydown"),t}},6214:e=>{"use strict";e.exports=function(){return this.callbacks={},this.directMap={},this}},7309:e=>{"use strict";e.exports=function(){var e=this;clearTimeout(e.resetTimer),e.resetTimer=setTimeout((function(){e.resetSequences()}),1e3)}},3346:e=>{"use strict";e.exports=function(e){var n=this;e=e||{};var t,r=!1;for(t in n.sequenceLevels)e[t]?r=!0:n.sequenceLevels[t]=0;r||(n.nextExpectedAction=!1)}},3450:e=>{"use strict";e.exports=function(e,n){if((" "+n.className+" ").indexOf(" combokeys ")>-1)return!1;var t=n.tagName.toLowerCase();return"input"===t||"select"===t||"textarea"===t||n.isContentEditable}},9855:e=>{"use strict";e.exports=function(e,n){return this.directMap[e+":"+n]&&this.directMap[e+":"+n]({},e),this}},9208:e=>{"use strict";e.exports=function(e,n){return this.bind(e,(function(){}),n)}},1822:e=>{"use strict";e.exports=function(){this.instances.forEach((function(e){e.reset()}))}},6770:(e,n,t)=>{"use strict";e.exports=function(e){var n,r;if(n=t(4766),r=t(5295),"keypress"===e.type){var o=String.fromCharCode(e.which);return e.shiftKey||(o=o.toLowerCase()),o}return void 0!==n[e.which]?n[e.which]:void 0!==r[e.which]?r[e.which]:String.fromCharCode(e.which).toLowerCase()}},4610:e=>{"use strict";e.exports=function(e){var n=[];return e.shiftKey&&n.push("shift"),e.altKey&&n.push("alt"),e.ctrlKey&&n.push("ctrl"),e.metaKey&&n.push("meta"),n}},8581:e=>{"use strict";e.exports=function(e){return"shift"===e||"ctrl"===e||"alt"===e||"meta"===e}},4520:e=>{"use strict";e.exports=function(e){return"+"===e?["+"]:e.split("+")}},1350:e=>{"use strict";e.exports=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}},5355:e=>{"use strict";e.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},7549:e=>{"use strict";e.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},5295:e=>{"use strict";e.exports={106:"*",107:"plus",109:"minus",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},4766:e=>{"use strict";e.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",173:"minus",187:"plus",189:"minus",224:"meta"};for(var n=1;n<20;++n)e.exports[111+n]="f"+n;for(n=0;n<=9;++n)e.exports[n+96]=n},6103:e=>{"use strict";e.exports=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}},3362:()=>{var e;!function(){var e=Math.PI,n=2*e,t=e/180,r=document.createElement("div");document.head.appendChild(r);var o=self.ConicGradient=function(e){o.all.push(this),e=e||{},this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),this.repeating=!!e.repeating,this.size=e.size||Math.max(innerWidth,innerHeight),this.canvas.width=this.canvas.height=this.size;var n=e.stops;this.stops=(n||"").split(/\s*,(?![^(]*\))\s*/),this.from=0;for(var t=0;t0){var i=this.stops[0].clone();i.pos=0,this.stops.unshift(i)}if(void 0===this.stops[this.stops.length-1].pos)this.stops[this.stops.length-1].pos=1;else if(!this.repeating&&this.stops[this.stops.length-1].pos<1){var a=this.stops[this.stops.length-1].clone();a.pos=1,this.stops.push(a)}if(this.stops.forEach((function(e,n){if(void 0===e.pos){for(var t=n+1;this[t];t++)if(void 0!==this[t].pos){e.pos=this[n-1].pos+(this[t].pos-this[n-1].pos)/(t-n+1);break}}else n>0&&(e.pos=Math.max(e.pos,this[n-1].pos))}),this.stops),this.repeating){var l=(n=this.stops.slice())[n.length-1].pos-n[0].pos;for(t=0;this.stops[this.stops.length-1].pos<1&&t<1e4;t++)for(var c=0;c'},get png(){return this.canvas.toDataURL()},get r(){return Math.sqrt(2)*this.size/2},paint:function(){var e,n,r,o=this.context,i=this.r,a=this.size/2,l=0,c=this.stops[l];o.translate(this.size/2,this.size/2),o.rotate(-90*t),o.rotate(this.from*t),o.translate(-this.size/2,-this.size/2);for(var u=0;u<360;){if(u/360+1e-5>=c.pos){do{e=c,l++,c=this.stops[l]}while(c&&c!=e&&c.pos===e.pos);if(!c)break;var s=e.color+""==c.color+""&&e!=c;n=e.color.map((function(e,n){return c.color[n]-e}))}r=(u/360-e.pos)/(c.pos-e.pos);var f=s?c.color:n.map((function(n,t){var o=n*r+e.color[t];return t<3?255&o:o}));if(o.fillStyle="rgba("+f.join(",")+")",o.beginPath(),o.moveTo(a,a),s)var p=360*(c.pos-e.pos);else p=.5;var d=u*t,h=(d=Math.min(360*t,d))+p*t;h=Math.min(360*t,h+.02),o.arc(a,a,i,d,h),o.closePath(),o.fill(),u+=p}}},o.ColorStop=function(e,t){if(this.gradient=e,t){var r=t.match(/^(.+?)(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?(?:\s+([\d.]+)(%|deg|turn|grad|rad)?)?\s*$/);if(this.color=o.ColorStop.colorToRGBA(r[1]),r[2]){var i=r[3];"%"==i||"0"===r[2]&&!i?this.pos=r[2]/100:"turn"==i?this.pos=+r[2]:"deg"==i?this.pos=r[2]/360:"grad"==i?this.pos=r[2]/400:"rad"==i&&(this.pos=r[2]/n)}r[4]&&(this.next=new o.ColorStop(e,r[1]+" "+r[4]+r[5]))}},o.ColorStop.prototype={clone:function(){var e=new o.ColorStop(this.gradient);return e.color=this.color,e.pos=this.pos,e},toString:function(){return"rgba("+this.color.join(", ")+") "+100*this.pos+"%"}},o.ColorStop.colorToRGBA=function(e){if(!Array.isArray(e)&&-1==e.indexOf("from")){r.style.color=e;var n=getComputedStyle(r).color.match(/rgba?\(([\d.]+), ([\d.]+), ([\d.]+)(?:, ([\d.]+))?\)/);return n&&(n.shift(),(n=n.map((function(e){return+e})))[3]=isNaN(n[3])?1:n[3]),n||[0,0,0,0]}return e}}(),self.StyleFix&&((e=document.createElement("p")).style.backgroundImage="conic-gradient(white, black)",e.style.backgroundImage=PrefixFree.prefix+"conic-gradient(white, black)",e.style.backgroundImage||StyleFix.register((function(e,n){return e.indexOf("conic-gradient")>-1&&(e=e.replace(/(?:repeating-)?conic-gradient\(\s*((?:\([^()]+\)|[^;()}])+?)\)/g,(function(e,n){return new ConicGradient({stops:n,repeating:e.indexOf("repeating-")>-1})}))),e})))},9662:(e,n,t)=>{var r=t(7854),o=t(614),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},9483:(e,n,t)=>{var r=t(7854),o=t(4411),i=t(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},6077:(e,n,t)=>{var r=t(7854),o=t(614),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},1223:(e,n,t)=>{var r=t(5112),o=t(30),i=t(3070),a=r("unscopables"),l=Array.prototype;null==l[a]&&i.f(l,a,{configurable:!0,value:o(null)}),e.exports=function(e){l[a][e]=!0}},1530:(e,n,t)=>{"use strict";var r=t(8710).charAt;e.exports=function(e,n,t){return n+(t?r(e,n).length:1)}},5787:(e,n,t)=>{var r=t(7854),o=t(7976),i=r.TypeError;e.exports=function(e,n){if(o(n,e))return e;throw i("Incorrect invocation")}},9670:(e,n,t)=>{var r=t(7854),o=t(111),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},7556:(e,n,t)=>{var r=t(7293);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},8533:(e,n,t)=>{"use strict";var r=t(2092).forEach,o=t(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},8457:(e,n,t)=>{"use strict";var r=t(7854),o=t(9974),i=t(6916),a=t(7908),l=t(3411),c=t(7659),u=t(4411),s=t(6244),f=t(6135),p=t(8554),d=t(1246),h=r.Array;e.exports=function(e){var n=a(e),t=u(this),r=arguments.length,g=r>1?arguments[1]:void 0,v=void 0!==g;v&&(g=o(g,r>2?arguments[2]:void 0));var A,b,m,y,E,_,C=d(n),w=0;if(!C||this==h&&c(C))for(A=s(n),b=t?new this(A):h(A);A>w;w++)_=v?g(n[w],w):n[w],f(b,w,_);else for(E=(y=p(n,C)).next,b=t?new this:[];!(m=i(E,y)).done;w++)_=v?l(y,g,[m.value,w],!0):m.value,f(b,w,_);return b.length=w,b}},1318:(e,n,t)=>{var r=t(5656),o=t(1400),i=t(6244),a=function(e){return function(n,t,a){var l,c=r(n),u=i(c),s=o(a,u);if(e&&t!=t){for(;u>s;)if((l=c[s++])!=l)return!0}else for(;u>s;s++)if((e||s in c)&&c[s]===t)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:(e,n,t)=>{var r=t(9974),o=t(1702),i=t(8361),a=t(7908),l=t(6244),c=t(5417),u=o([].push),s=function(e){var n=1==e,t=2==e,o=3==e,s=4==e,f=6==e,p=7==e,d=5==e||f;return function(h,g,v,A){for(var b,m,y=a(h),E=i(y),_=r(g,v),C=l(E),w=0,x=A||c,k=n?x(h,C):t||p?x(h,0):void 0;C>w;w++)if((d||w in E)&&(m=_(b=E[w],w,y),e))if(n)k[w]=m;else if(m)switch(e){case 3:return!0;case 5:return b;case 6:return w;case 2:u(k,b)}else switch(e){case 4:return!1;case 7:u(k,b)}return f?-1:o||s?s:k}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterReject:s(7)}},1194:(e,n,t)=>{var r=t(7293),o=t(5112),i=t(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var n=[];return(n.constructor={})[a]=function(){return{foo:1}},1!==n[e](Boolean).foo}))}},9341:(e,n,t)=>{"use strict";var r=t(7293);e.exports=function(e,n){var t=[][e];return!!t&&r((function(){t.call(null,n||function(){throw 1},1)}))}},3671:(e,n,t)=>{var r=t(7854),o=t(9662),i=t(7908),a=t(8361),l=t(6244),c=r.TypeError,u=function(e){return function(n,t,r,u){o(t);var s=i(n),f=a(s),p=l(s),d=e?p-1:0,h=e?-1:1;if(r<2)for(;;){if(d in f){u=f[d],d+=h;break}if(d+=h,e?d<0:p<=d)throw c("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=h)d in f&&(u=t(u,f[d],d,s));return u}};e.exports={left:u(!1),right:u(!0)}},206:(e,n,t)=>{var r=t(1702);e.exports=r([].slice)},4362:(e,n,t)=>{var r=t(206),o=Math.floor,i=function(e,n){var t=e.length,c=o(t/2);return t<8?a(e,n):l(e,i(r(e,0,c),n),i(r(e,c),n),n)},a=function(e,n){for(var t,r,o=e.length,i=1;i0;)e[r]=e[--r];r!==i++&&(e[r]=t)}return e},l=function(e,n,t,r){for(var o=n.length,i=t.length,a=0,l=0;a{var r=t(7854),o=t(3157),i=t(4411),a=t(111),l=t(5112)("species"),c=r.Array;e.exports=function(e){var n;return o(e)&&(n=e.constructor,(i(n)&&(n===c||o(n.prototype))||a(n)&&null===(n=n[l]))&&(n=void 0)),void 0===n?c:n}},5417:(e,n,t)=>{var r=t(7475);e.exports=function(e,n){return new(r(e))(0===n?0:n)}},3411:(e,n,t)=>{var r=t(9670),o=t(9212);e.exports=function(e,n,t,i){try{return i?n(r(t)[0],t[1]):n(t)}catch(n){o(e,"throw",n)}}},7072:(e,n,t)=>{var r=t(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,n){if(!n&&!o)return!1;var t=!1;try{var i={};i[r]=function(){return{next:function(){return{done:t=!0}}}},e(i)}catch(e){}return t}},4326:(e,n,t)=>{var r=t(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:(e,n,t)=>{var r=t(7854),o=t(1694),i=t(614),a=t(4326),l=t(5112)("toStringTag"),c=r.Object,u="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var n,t,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=c(e),l))?t:u?a(n):"Object"==(r=a(n))&&i(n.callee)?"Arguments":r}},5631:(e,n,t)=>{"use strict";var r=t(3070).f,o=t(30),i=t(2248),a=t(9974),l=t(5787),c=t(408),u=t(654),s=t(6340),f=t(9781),p=t(2423).fastKey,d=t(9909),h=d.set,g=d.getterFor;e.exports={getConstructor:function(e,n,t,u){var s=e((function(e,r){l(e,d),h(e,{type:n,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&c(r,e[u],{that:e,AS_ENTRIES:t})})),d=s.prototype,v=g(n),A=function(e,n,t){var r,o,i=v(e),a=b(e,n);return a?a.value=t:(i.last=a={index:o=p(n,!0),key:n,value:t,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},b=function(e,n){var t,r=v(e),o=p(n);if("F"!==o)return r.index[o];for(t=r.first;t;t=t.next)if(t.key==n)return t};return i(d,{clear:function(){for(var e=v(this),n=e.index,t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=void 0),delete n[t.index],t=t.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var n=this,t=v(n),r=b(n,e);if(r){var o=r.next,i=r.previous;delete t.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),t.first==r&&(t.first=o),t.last==r&&(t.last=i),f?t.size--:n.size--}return!!r},forEach:function(e){for(var n,t=v(this),r=a(e,arguments.length>1?arguments[1]:void 0);n=n?n.next:t.first;)for(r(n.value,n.key,this);n&&n.removed;)n=n.previous},has:function(e){return!!b(this,e)}}),i(d,t?{get:function(e){var n=b(this,e);return n&&n.value},set:function(e,n){return A(this,0===e?0:e,n)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),f&&r(d,"size",{get:function(){return v(this).size}}),s},setStrong:function(e,n,t){var r=n+" Iterator",o=g(n),i=g(r);u(e,n,(function(e,n){h(this,{type:r,target:e,state:o(e),kind:n,last:void 0})}),(function(){for(var e=i(this),n=e.kind,t=e.last;t&&t.removed;)t=t.previous;return e.target&&(e.last=t=t?t.next:e.state.first)?"keys"==n?{value:t.key,done:!1}:"values"==n?{value:t.value,done:!1}:{value:[t.key,t.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),t?"entries":"values",!t,!0),s(n)}}},9320:(e,n,t)=>{"use strict";var r=t(1702),o=t(2248),i=t(2423).getWeakData,a=t(9670),l=t(111),c=t(5787),u=t(408),s=t(2092),f=t(2597),p=t(9909),d=p.set,h=p.getterFor,g=s.find,v=s.findIndex,A=r([].splice),b=0,m=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},E=function(e,n){return g(e.entries,(function(e){return e[0]===n}))};y.prototype={get:function(e){var n=E(this,e);if(n)return n[1]},has:function(e){return!!E(this,e)},set:function(e,n){var t=E(this,e);t?t[1]=n:this.entries.push([e,n])},delete:function(e){var n=v(this.entries,(function(n){return n[0]===e}));return~n&&A(this.entries,n,1),!!~n}},e.exports={getConstructor:function(e,n,t,r){var s=e((function(e,o){c(e,p),d(e,{type:n,id:b++,frozen:void 0}),null!=o&&u(o,e[r],{that:e,AS_ENTRIES:t})})),p=s.prototype,g=h(n),v=function(e,n,t){var r=g(e),o=i(a(n),!0);return!0===o?m(r).set(n,t):o[r.id]=t,e};return o(p,{delete:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).delete(e):t&&f(t,n.id)&&delete t[n.id]},has:function(e){var n=g(this);if(!l(e))return!1;var t=i(e);return!0===t?m(n).has(e):t&&f(t,n.id)}}),o(p,t?{get:function(e){var n=g(this);if(l(e)){var t=i(e);return!0===t?m(n).get(e):t?t[n.id]:void 0}},set:function(e,n){return v(this,e,n)}}:{add:function(e){return v(this,e,!0)}}),s}}},7710:(e,n,t)=>{"use strict";var r=t(2109),o=t(7854),i=t(1702),a=t(4705),l=t(1320),c=t(2423),u=t(408),s=t(5787),f=t(614),p=t(111),d=t(7293),h=t(7072),g=t(8003),v=t(9587);e.exports=function(e,n,t){var A=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),m=A?"set":"add",y=o[e],E=y&&y.prototype,_=y,C={},w=function(e){var n=i(E[e]);l(E,e,"add"==e?function(e){return n(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:"get"==e?function(e){return b&&!p(e)?void 0:n(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!p(e))&&n(this,0===e?0:e)}:function(e,t){return n(this,0===e?0:e,t),this})};if(a(e,!f(y)||!(b||E.forEach&&!d((function(){(new y).entries().next()})))))_=t.getConstructor(n,e,A,m),c.enable();else if(a(e,!0)){var x=new _,k=x[m](b?{}:-0,1)!=x,S=d((function(){x.has(1)})),O=h((function(e){new y(e)})),B=!b&&d((function(){for(var e=new y,n=5;n--;)e[m](n,n);return!e.has(-0)}));O||((_=n((function(e,n){s(e,E);var t=v(new y,e,_);return null!=n&&u(n,t[m],{that:t,AS_ENTRIES:A}),t}))).prototype=E,E.constructor=_),(S||B)&&(w("delete"),w("has"),A&&w("get")),(B||k)&&w(m),b&&E.clear&&delete E.clear}return C[e]=_,r({global:!0,forced:_!=y},C),g(_,e),b||t.setStrong(_,e,A),_}},9920:(e,n,t)=>{var r=t(2597),o=t(3887),i=t(1236),a=t(3070);e.exports=function(e,n){for(var t=o(n),l=a.f,c=i.f,u=0;u{var r=t(5112)("match");e.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,"/./"[e](n)}catch(e){}}return!1}},8544:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4230:(e,n,t)=>{var r=t(1702),o=t(4488),i=t(1340),a=/"/g,l=r("".replace);e.exports=function(e,n,t,r){var c=i(o(e)),u="<"+n;return""!==t&&(u+=" "+t+'="'+l(i(r),a,""")+'"'),u+">"+c+""}},4994:(e,n,t)=>{"use strict";var r=t(3383).IteratorPrototype,o=t(30),i=t(9114),a=t(8003),l=t(7497),c=function(){return this};e.exports=function(e,n,t){var u=n+" Iterator";return e.prototype=o(r,{next:i(1,t)}),a(e,u,!1,!0),l[u]=c,e}},8880:(e,n,t)=>{var r=t(9781),o=t(3070),i=t(9114);e.exports=r?function(e,n,t){return o.f(e,n,i(1,t))}:function(e,n,t){return e[n]=t,e}},9114:e=>{e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},6135:(e,n,t)=>{"use strict";var r=t(4948),o=t(3070),i=t(9114);e.exports=function(e,n,t){var a=r(n);a in e?o.f(e,a,i(0,t)):e[a]=t}},8709:(e,n,t)=>{"use strict";var r=t(7854),o=t(9670),i=t(2140),a=r.TypeError;e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw a("Incorrect hint");return i(this,e)}},654:(e,n,t)=>{"use strict";var r=t(2109),o=t(6916),i=t(1913),a=t(6530),l=t(614),c=t(4994),u=t(9518),s=t(7674),f=t(8003),p=t(8880),d=t(1320),h=t(5112),g=t(7497),v=t(3383),A=a.PROPER,b=a.CONFIGURABLE,m=v.IteratorPrototype,y=v.BUGGY_SAFARI_ITERATORS,E=h("iterator"),_="keys",C="values",w="entries",x=function(){return this};e.exports=function(e,n,t,a,h,v,k){c(t,n,a);var S,O,B,I=function(e){if(e===h&&R)return R;if(!y&&e in j)return j[e];switch(e){case _:case C:case w:return function(){return new t(this,e)}}return function(){return new t(this)}},T=n+" Iterator",P=!1,j=e.prototype,z=j[E]||j["@@iterator"]||h&&j[h],R=!y&&z||I(h),M="Array"==n&&j.entries||z;if(M&&(S=u(M.call(new e)))!==Object.prototype&&S.next&&(i||u(S)===m||(s?s(S,m):l(S[E])||d(S,E,x)),f(S,T,!0,!0),i&&(g[T]=x)),A&&h==C&&z&&z.name!==C&&(!i&&b?p(j,"name",C):(P=!0,R=function(){return o(z,this)})),h)if(O={values:I(C),keys:v?R:I(_),entries:I(w)},k)for(B in O)(y||P||!(B in j))&&d(j,B,O[B]);else r({target:n,proto:!0,forced:y||P},O);return i&&!k||j[E]===R||d(j,E,R,{name:h}),g[n]=R,O}},7235:(e,n,t)=>{var r=t(857),o=t(2597),i=t(6061),a=t(3070).f;e.exports=function(e){var n=r.Symbol||(r.Symbol={});o(n,e)||a(n,e,{value:i.f(e)})}},9781:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:(e,n,t)=>{var r=t(7854),o=t(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8509:(e,n,t)=>{var r=t(317)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8886:(e,n,t)=>{var r=t(8113).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},256:(e,n,t)=>{var r=t(8113);e.exports=/MSIE|Trident/.test(r)},5268:(e,n,t)=>{var r=t(4326),o=t(7854);e.exports="process"==r(o.process)},8113:(e,n,t)=>{var r=t(5005);e.exports=r("navigator","userAgent")||""},7392:(e,n,t)=>{var r,o,i=t(7854),a=t(8113),l=i.process,c=i.Deno,u=l&&l.versions||c&&c.version,s=u&&u.v8;s&&(o=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},8008:(e,n,t)=>{var r=t(8113).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},748:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:(e,n,t)=>{var r=t(7854),o=t(1236).f,i=t(8880),a=t(1320),l=t(3505),c=t(9920),u=t(4705);e.exports=function(e,n){var t,s,f,p,d,h=e.target,g=e.global,v=e.stat;if(t=g?r:v?r[h]||l(h,{}):(r[h]||{}).prototype)for(s in n){if(p=n[s],f=e.noTargetGet?(d=o(t,s))&&d.value:t[s],!u(g?s:h+(v?".":"#")+s,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(t,s,p,e)}}},7293:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:(e,n,t)=>{"use strict";t(4916);var r=t(1702),o=t(1320),i=t(2261),a=t(7293),l=t(5112),c=t(8880),u=l("species"),s=RegExp.prototype;e.exports=function(e,n,t,f){var p=l(e),d=!a((function(){var n={};return n[p]=function(){return 7},7!=""[e](n)})),h=d&&!a((function(){var n=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[u]=function(){return t},t.flags="",t[p]=/./[p]),t.exec=function(){return n=!0,null},t[p](""),!n}));if(!d||!h||t){var g=r(/./[p]),v=n(p,""[e],(function(e,n,t,o,a){var l=r(e),c=n.exec;return c===i||c===s.exec?d&&!a?{done:!0,value:g(n,t,o)}:{done:!0,value:l(t,n,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(s,p,v[1])}f&&c(s[p],"sham",!0)}},6677:(e,n,t)=>{var r=t(7293);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},2104:e=>{var n=Function.prototype,t=n.apply,r=n.bind,o=n.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(t):function(){return o.apply(t,arguments)})},9974:(e,n,t)=>{var r=t(1702),o=t(9662),i=r(r.bind);e.exports=function(e,n){return o(e),void 0===n?e:i?i(e,n):function(){return e.apply(n,arguments)}}},7065:(e,n,t)=>{"use strict";var r=t(7854),o=t(1702),i=t(9662),a=t(111),l=t(2597),c=t(206),u=r.Function,s=o([].concat),f=o([].join),p={},d=function(e,n,t){if(!l(p,n)){for(var r=[],o=0;o{var n=Function.prototype.call;e.exports=n.bind?n.bind(n):function(){return n.apply(n,arguments)}},6530:(e,n,t)=>{var r=t(9781),o=t(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,l=o(i,"name"),c=l&&"something"===function(){}.name,u=l&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:l,PROPER:c,CONFIGURABLE:u}},1702:e=>{var n=Function.prototype,t=n.bind,r=n.call,o=t&&t.bind(r);e.exports=t?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},5005:(e,n,t)=>{var r=t(7854),o=t(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,n){return arguments.length<2?i(r[e]):r[e]&&r[e][n]}},1246:(e,n,t)=>{var r=t(648),o=t(8173),i=t(7497),a=t(5112)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},8554:(e,n,t)=>{var r=t(7854),o=t(6916),i=t(9662),a=t(9670),l=t(6330),c=t(1246),u=r.TypeError;e.exports=function(e,n){var t=arguments.length<2?c(e):n;if(i(t))return a(o(t,e));throw u(l(e)+" is not iterable")}},8173:(e,n,t)=>{var r=t(9662);e.exports=function(e,n){var t=e[n];return null==t?void 0:r(t)}},647:(e,n,t)=>{var r=t(1702),o=t(7908),i=Math.floor,a=r("".charAt),l=r("".replace),c=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,n,t,r,f,p){var d=t+e.length,h=r.length,g=s;return void 0!==f&&(f=o(f),g=u),l(p,g,(function(o,l){var u;switch(a(l,0)){case"$":return"$";case"&":return e;case"`":return c(n,0,t);case"'":return c(n,d);case"<":u=f[c(l,1,-1)];break;default:var s=+l;if(0===s)return o;if(s>h){var p=i(s/10);return 0===p?o:p<=h?void 0===r[p-1]?a(l,1):r[p-1]+a(l,1):o}u=r[s-1]}return void 0===u?"":u}))}},7854:(e,n,t)=>{var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t.g&&t.g)||function(){return this}()||Function("return this")()},2597:(e,n,t)=>{var r=t(1702),o=t(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,n){return i(o(e),n)}},3501:e=>{e.exports={}},490:(e,n,t)=>{var r=t(5005);e.exports=r("document","documentElement")},4664:(e,n,t)=>{var r=t(9781),o=t(7293),i=t(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:(e,n,t)=>{var r=t(7854),o=t(1702),i=t(7293),a=t(4326),l=r.Object,c=o("".split);e.exports=i((function(){return!l("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?c(e,""):l(e)}:l},9587:(e,n,t)=>{var r=t(614),o=t(111),i=t(7674);e.exports=function(e,n,t){var a,l;return i&&r(a=n.constructor)&&a!==t&&o(l=a.prototype)&&l!==t.prototype&&i(e,l),e}},2788:(e,n,t)=>{var r=t(1702),o=t(614),i=t(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},2423:(e,n,t)=>{var r=t(2109),o=t(1702),i=t(3501),a=t(111),l=t(2597),c=t(3070).f,u=t(8006),s=t(1156),f=t(2050),p=t(9711),d=t(6677),h=!1,g=p("meta"),v=0,A=function(e){c(e,g,{value:{objectID:"O"+v++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=u.f,n=o([].splice),t={};t[g]=1,e(t).length&&(u.f=function(t){for(var r=e(t),o=0,i=r.length;o{var r,o,i,a=t(8536),l=t(7854),c=t(1702),u=t(111),s=t(8880),f=t(2597),p=t(5465),d=t(6200),h=t(3501),g="Object already initialized",v=l.TypeError,A=l.WeakMap;if(a||p.state){var b=p.state||(p.state=new A),m=c(b.get),y=c(b.has),E=c(b.set);r=function(e,n){if(y(b,e))throw new v(g);return n.facade=e,E(b,e,n),n},o=function(e){return m(b,e)||{}},i=function(e){return y(b,e)}}else{var _=d("state");h[_]=!0,r=function(e,n){if(f(e,_))throw new v(g);return n.facade=e,s(e,_,n),n},o=function(e){return f(e,_)?e[_]:{}},i=function(e){return f(e,_)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(n){var t;if(!u(n)||(t=o(n)).type!==e)throw v("Incompatible receiver, "+e+" required");return t}}}},7659:(e,n,t)=>{var r=t(5112),o=t(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:(e,n,t)=>{var r=t(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:e=>{e.exports=function(e){return"function"==typeof e}},4411:(e,n,t)=>{var r=t(1702),o=t(7293),i=t(614),a=t(648),l=t(5005),c=t(2788),u=function(){},s=[],f=l("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r(p.exec),h=!p.exec(u),g=function(e){if(!i(e))return!1;try{return f(u,s,e),!0}catch(e){return!1}};e.exports=!f||o((function(){var e;return g(g.call)||!g(Object)||!g((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!d(p,c(e))}:g},4705:(e,n,t)=>{var r=t(7293),o=t(614),i=/#|\.prototype\./,a=function(e,n){var t=c[l(e)];return t==s||t!=u&&(o(n)?r(n):!!n)},l=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";e.exports=a},111:(e,n,t)=>{var r=t(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:e=>{e.exports=!1},7850:(e,n,t)=>{var r=t(111),o=t(4326),i=t(5112)("match");e.exports=function(e){var n;return r(e)&&(void 0!==(n=e[i])?!!n:"RegExp"==o(e))}},2190:(e,n,t)=>{var r=t(7854),o=t(5005),i=t(614),a=t(7976),l=t(3307),c=r.Object;e.exports=l?function(e){return"symbol"==typeof e}:function(e){var n=o("Symbol");return i(n)&&a(n.prototype,c(e))}},408:(e,n,t)=>{var r=t(7854),o=t(9974),i=t(6916),a=t(9670),l=t(6330),c=t(7659),u=t(6244),s=t(7976),f=t(8554),p=t(1246),d=t(9212),h=r.TypeError,g=function(e,n){this.stopped=e,this.result=n},v=g.prototype;e.exports=function(e,n,t){var r,A,b,m,y,E,_,C=t&&t.that,w=!(!t||!t.AS_ENTRIES),x=!(!t||!t.IS_ITERATOR),k=!(!t||!t.INTERRUPTED),S=o(n,C),O=function(e){return r&&d(r,"normal",e),new g(!0,e)},B=function(e){return w?(a(e),k?S(e[0],e[1],O):S(e[0],e[1])):k?S(e,O):S(e)};if(x)r=e;else{if(!(A=p(e)))throw h(l(e)+" is not iterable");if(c(A)){for(b=0,m=u(e);m>b;b++)if((y=B(e[b]))&&s(v,y))return y;return new g(!1)}r=f(e,A)}for(E=r.next;!(_=i(E,r)).done;){try{y=B(_.value)}catch(e){d(r,"throw",e)}if("object"==typeof y&&y&&s(v,y))return y}return new g(!1)}},9212:(e,n,t)=>{var r=t(6916),o=t(9670),i=t(8173);e.exports=function(e,n,t){var a,l;o(e);try{if(!(a=i(e,"return"))){if("throw"===n)throw t;return t}a=r(a,e)}catch(e){l=!0,a=e}if("throw"===n)throw t;if(l)throw a;return o(a),t}},3383:(e,n,t)=>{"use strict";var r,o,i,a=t(7293),l=t(614),c=t(30),u=t(9518),s=t(1320),f=t(5112),p=t(1913),d=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[d].call(e)!==e}))?r={}:p&&(r=c(r)),l(r[d])||s(r,d,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},7497:e=>{e.exports={}},6244:(e,n,t)=>{var r=t(7466);e.exports=function(e){return r(e.length)}},133:(e,n,t)=>{var r=t(7392),o=t(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:(e,n,t)=>{var r=t(7854),o=t(614),i=t(2788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},3929:(e,n,t)=>{var r=t(7854),o=t(7850),i=r.TypeError;e.exports=function(e){if(o(e))throw i("The method doesn't accept regular expressions");return e}},1574:(e,n,t)=>{"use strict";var r=t(9781),o=t(1702),i=t(6916),a=t(7293),l=t(1956),c=t(5181),u=t(5296),s=t(7908),f=t(8361),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a((function(){if(r&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},n={},t=Symbol(),o="abcdefghijklmnopqrst";return e[t]=7,o.split("").forEach((function(e){n[e]=e})),7!=p({},e)[t]||l(p({},n)).join("")!=o}))?function(e,n){for(var t=s(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var g,v=f(arguments[a++]),A=p?h(l(v),p(v)):l(v),b=A.length,m=0;b>m;)g=A[m++],r&&!i(d,v,g)||(t[g]=v[g]);return t}:p},30:(e,n,t)=>{var r,o=t(9670),i=t(6048),a=t(748),l=t(3501),c=t(490),u=t(317),s=t(6200),f=s("IE_PROTO"),p=function(){},d=function(e){return"