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>?, minutes: Array<Byte>?, hours: Array<Byte>?, dayOfMonth: Array<Byte>?, month: Array<Byte>?, year: Array<Int>?, dayOfWeek: Array<Byte>?, offset: Minutes?, milliseconds: Array<Short>?)
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