WeekDaysBuilder

class WeekDaysBuilder : TimeBuilder<Byte>

Functions

allowAll
Link copied to clipboard
common
fun allowAll()
After calling of this function this builder will allow any value of current time
at
Link copied to clipboard
common
infix fun at(value: Int)
Add one value to current timeline
each
Link copied to clipboard
common
infix inline fun each(value: Int)
Shortcut for at.
every
Link copied to clipboard
common
infix fun every(delay: Int): Array<Int>
Shortcut for "from 0 every"
infix fun Int.every(delay: Int): Array<Int>
Will create an sequence of times starting fromevery times.
from
Link copied to clipboard
common
infix inline fun from(value: Int): Int
Just wrapper for more obvious writing something like "from 2 every 5".
include
Link copied to clipboard
common
infix fun include(array: Array<Int>)
Will include all variations from this array inside of this timeline
includeFirst
Link copied to clipboard
common
fun includeFirst()
Will include the first possible value
includeLast
Link copied to clipboard
common
fun includeLast()
Will include the last possible value
rangeTo
Link copied to clipboard
common
infix operator fun rangeTo(endIncluding: Int): Array<Int>
Shortcut for "from 0 rangeTo"
infix operator fun Int.rangeTo(endIncluding: Int): Array<Int>
Will fill up this timeline from this up to endIncluding
upTo
Link copied to clipboard
common
infix fun upTo(endIncluding: Int): Array<Int>
Shortcut for "from 0 upTo"
infix fun Int.upTo(endIncluding: Int): Array<Int>
Will fill up this timeline from this up to endIncluding

Properties

first
Link copied to clipboard
common
val first: Int
The first possible value of builder
last
Link copied to clipboard
common
val last: Int
The last possible value of builder.

Sources

common source
Link copied to clipboard