Package dev.inmo.krontab.utils

Types

Link copied to clipboard
typealias Minutes = Int

Functions

Link copied to clipboard
@FlowPreview
fun KronScheduler.asFlow(): Flow<DateTime>

This method is a map for asTzFlow and will works the same but return flow with DateTimes

Link copied to clipboard
@FlowPreview
fun KronScheduler.asTzFlow(): Flow<DateTimeTz>

This Flow will trigger emitting each near time which will be returned from this with attention to time zones

Link copied to clipboard
fun DateTime.copy(year: Int = yearInt, month: Int = month1, dayOfMonth: Int = this.dayOfMonth, hour: Int = hours, minute: Int = minutes, second: Int = seconds, milliseconds: Int = this.milliseconds): DateTime