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

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

Inheritors

Link copied to clipboard

Extensions

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

Sources

Link copied to clipboard