File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed
src/commonMain/kotlin/dev/inmo/krontab Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
package dev.inmo.krontab.internal
2
2
3
- import com.soywiz.klock.*
3
+ import com.soywiz.klock.DateTime
4
+ import com.soywiz.klock.TimezoneOffset
4
5
import dev.inmo.krontab.KronScheduler
5
- import dev.inmo.krontab.utils.copy
6
6
7
7
/* *
8
8
* @param daysOfWeek 0-6
Original file line number Diff line number Diff line change 1
1
package dev.inmo.krontab.utils
2
2
3
- import com.soywiz.klock.*
3
+ import com.soywiz.klock.DateTime
4
+ import com.soywiz.klock.Month
4
5
import kotlin.math.min
5
6
6
7
fun DateTime.copy (
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ package dev.inmo.krontab.utils
3
3
import com.soywiz.klock.DateTime
4
4
import com.soywiz.klock.DateTimeTz
5
5
import dev.inmo.krontab.*
6
- import kotlinx.coroutines.*
6
+ import kotlinx.coroutines.FlowPreview
7
+ import kotlinx.coroutines.delay
7
8
import kotlinx.coroutines.flow.*
8
9
9
10
/* *
You can’t perform that action at this time.
0 commit comments