mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-11-29 21:48:50 +00:00
optimize imports
This commit is contained in:
parent
85cb87c459
commit
ef436892aa
@ -1,12 +1,6 @@
|
|||||||
package com.insanusmokrassar.krontab
|
package com.insanusmokrassar.krontab
|
||||||
|
|
||||||
import com.insanusmokrassar.krontab.internal.*
|
import com.insanusmokrassar.krontab.internal.*
|
||||||
import com.insanusmokrassar.krontab.internal.CronDateTime
|
|
||||||
import com.insanusmokrassar.krontab.internal.parseDaysOfMonth
|
|
||||||
import com.insanusmokrassar.krontab.internal.parseHours
|
|
||||||
import com.insanusmokrassar.krontab.internal.parseMinutes
|
|
||||||
import com.insanusmokrassar.krontab.internal.parseMonths
|
|
||||||
import com.insanusmokrassar.krontab.internal.parseSeconds
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parse [incoming] string and adapt according to next format: "* * * * *" where order of things:
|
* Parse [incoming] string and adapt according to next format: "* * * * *" where order of things:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package com.insanusmokrassar.krontab
|
package com.insanusmokrassar.krontab
|
||||||
|
|
||||||
import com.insanusmokrassar.krontab.internal.*
|
import com.insanusmokrassar.krontab.internal.CronDateTime
|
||||||
|
import com.insanusmokrassar.krontab.internal.toNearDateTime
|
||||||
import com.soywiz.klock.DateTime
|
import com.soywiz.klock.DateTime
|
||||||
|
|
||||||
internal data class CronDateTimeScheduler internal constructor(
|
internal data class CronDateTimeScheduler internal constructor(
|
||||||
|
@ -2,7 +2,8 @@ package com.insanusmokrassar.krontab.utils
|
|||||||
|
|
||||||
import com.insanusmokrassar.krontab.KronScheduler
|
import com.insanusmokrassar.krontab.KronScheduler
|
||||||
import com.soywiz.klock.DateTime
|
import com.soywiz.klock.DateTime
|
||||||
import kotlinx.coroutines.*
|
import kotlinx.coroutines.FlowPreview
|
||||||
|
import kotlinx.coroutines.delay
|
||||||
import kotlinx.coroutines.flow.*
|
import kotlinx.coroutines.flow.*
|
||||||
|
|
||||||
@FlowPreview
|
@FlowPreview
|
||||||
|
Loading…
Reference in New Issue
Block a user