KronSchedulerTz

interface KronSchedulerTz : KronScheduler

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

See also

dev.inmo.krontab.internal.CronDateTimeScheduler

Functions

next
Link copied to clipboard
common
open suspend override fun next(relatively: DateTime): DateTime?
abstract suspend fun next(relatively: DateTimeTz): DateTimeTz?

Inheritors

CollectionKronScheduler
Link copied to clipboard

Extensions

nextOrNowWithOffset
Link copied to clipboard
common
suspend fun KronSchedulerTz.nextOrNowWithOffset(): DateTimeTz
nextOrRelative
Link copied to clipboard
common
suspend fun KronSchedulerTz.nextOrRelative(relatively: DateTimeTz): DateTimeTz

Sources

common source
Link copied to clipboard