Package dev.inmo.krontab.builder

Types

Link copied to clipboard
class DaysOfMonthBuilder : TimeBuilder<Byte>
Link copied to clipboard
class HoursBuilder : TimeBuilder<Byte>
Link copied to clipboard
class MillisecondsBuilder : TimeBuilder<Short>
Link copied to clipboard
class MinutesBuilder : TimeBuilder<Byte>
Link copied to clipboard
class MonthsBuilder : TimeBuilder<Byte>
Link copied to clipboard
class SchedulerBuilder(    seconds: Array<Byte>? = null,     minutes: Array<Byte>? = null,     hours: Array<Byte>? = null,     dayOfMonth: Array<Byte>? = null,     month: Array<Byte>? = null,     year: Array<Int>? = null,     dayOfWeek: Array<Byte>? = null,     offset: Minutes? = null,     milliseconds: Array<Short>? = null)
Link copied to clipboard
class SecondsBuilder : TimeBuilder<Byte>
Link copied to clipboard
sealed class TimeBuilder<T : Number>

This class was created for incapsulation of builder work with specified restrictionsRange. For example, include function of TimeBuilder will always coerceIn incoming data using its restrictionsRange

Link copied to clipboard
class WeekDaysBuilder : TimeBuilder<Byte>
Link copied to clipboard
class YearsBuilder : TimeBuilder<Int>

Functions

Link copied to clipboard
fun buildSchedule(settingsBlock: SchedulerBuilder.() -> Unit): KronScheduler
fun buildSchedule(offset: Minutes, settingsBlock: SchedulerBuilder.() -> Unit): KronSchedulerTz

Will help to create an instance of KronScheduler