Package dev.inmo.krontab.utils

Types

Minutes
Link copied to clipboard
common
typealias Minutes = Int

Functions

asFlow
Link copied to clipboard
common
@FlowPreview()
fun KronScheduler.asFlow(): Flow<DateTime>
This method is a map for asTzFlow and will works the same but return flow with DateTimes
asTzFlow
Link copied to clipboard
common
@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
copy
Link copied to clipboard
common
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