From d11f106f19c75d3be75ce4c5b607b087c9e4dc19 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Fri, 1 Jan 2021 20:51:09 +0600 Subject: [PATCH] deprecation of CronDateTImeScheduler --- CHANGELOG.md | 2 ++ .../kotlin/dev/inmo/krontab/internal/CronDateTimeScheduler.kt | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7681537..d0b146e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## 0.4.2 +* `CronDateTimeScheduler` now is deprecated and will be set up as `internal` in future + ## 0.4.1 * Versions: diff --git a/src/commonMain/kotlin/dev/inmo/krontab/internal/CronDateTimeScheduler.kt b/src/commonMain/kotlin/dev/inmo/krontab/internal/CronDateTimeScheduler.kt index db6873a..01a8912 100644 --- a/src/commonMain/kotlin/dev/inmo/krontab/internal/CronDateTimeScheduler.kt +++ b/src/commonMain/kotlin/dev/inmo/krontab/internal/CronDateTimeScheduler.kt @@ -17,6 +17,7 @@ import dev.inmo.krontab.anyCronDateTime * @see dev.inmo.krontab.builder.buildSchedule * @see dev.inmo.krontab.builder.SchedulerBuilder */ +@Deprecated("This class wil get internal status in future") data class CronDateTimeScheduler internal constructor( internal val cronDateTimes: List ) : KronScheduler {