<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">sealed </span><spanclass="token keyword">class </span><ahref="index.html">TimeBuilder</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a><spanclass="token operator">></span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/krontab/blob/master//src/commonMain/kotlin/dev/inmo/krontab/builder/TimeBuilder.kt#L9">source</a>)</span></span></div><pclass="paragraph">This class was created for incapsulation of builder work with specified <spandata-unresolved-link="dev.inmo.krontab.builder/TimeBuilder/restrictionsRange/#/PointingToDeclaration/">restrictionsRange</span>. For example, <ahref="include.html">include</a> function of <ahref="index.html">TimeBuilder</a> will always <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.ranges/index.html">coerceIn</a> incoming data using its <spandata-unresolved-link="dev.inmo.krontab.builder/TimeBuilder/restrictionsRange/#/PointingToDeclaration/">restrictionsRange</span></p><h4class="">Inheritors</h4><divclass="table"><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-milliseconds-builder/index.html">MillisecondsBuilder</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-seconds-builder/index.html">SecondsBuilder</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-minutes-builder/index.html">MinutesBuilder</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-hours-builder/index.html">HoursBuilder</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-days-of-month-builder/index.html">DaysOfMonthBuilder</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-months-builder/index.html">MonthsBuilder</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-years-builder/index.html">YearsBuilder</a></div></span></div><div></div></div></div><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="../-week-days-builder/index.html">WeekDaysBuilder</a></div></span></div><div></div></div></div></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="allow-all.html"><spanclass="token function">allowAll</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span></div><divclass="brief "><pclass="paragraph">After calling of this function this builder will allow any value of current time</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">infix </span><spanclass="token keyword">fun </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><spanclass="token punctuation">.</span><ahref="every.html"><spanclass="token function">every</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">delay<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><spanclass="token operator">></span></div><divclass="brief "><pclass="paragraph">Will create an sequence of times starting <spandata-unresolved-link="dev.inmo.krontab.builder/TimeBuilder/&lt;this&gt;/#/PointingToCallableParameters(-1)/">from</span><ahref="every.html">every</a> times. For example, for <ahref="../-seconds-builder/index.html">SecondsBuilder</a> it will mean "<ahref="from.html">from</a> second second <ahref="every.html">every</a> 5 seconds", or "2, 7, 13, ..."</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">infix inline </span><spanclass="token keyword">fun </span><ahref="from.html"><spanclass="token function">from</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">value<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></div><divclass="brief "><pclass="paragraph">Just wrapper for more obvious writing something like "<ahref="from.html">from</a> 2 <ahref="every.html">every</a> 5". For example, for <ahref="../-seconds-builder/index.html">SecondsBuilder</a> it will mean "<ahref="from.html">from</a> second second <ahref="every.html">every</a> 5 seconds", or "2, 7, 13, ..."</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">infix </span><spanclass="token keyword">fun </span><ahref="include.html"><spanclass="token function">include</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">array<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html">Array</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span></div><divclass="brief "><pclass="paragraph">Will include all variations from this array inside of this timeline</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="include-first.html"><spanclass="token function">includeFirst</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span></div><divclass="brief "><pclass="paragraph">Will include the first possible value</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="include-last.html"><spanclass="token function">includeLast</span></a><spanclass="token punctuation">(</span><spanclass="token punctuation">)</span></div><divclass="brief "><pclass="paragraph">Will include the last possible value</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">val </span><ahref="first.html">first</a><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></div><divclass="brief "><pclass="paragraph">The first possible value of builder</p></div></div></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">val </span><ahref="last.html">last</a><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></div><divclass="brief "><pclass="paragraph">The last possible value of builder. Using of this variable equal to using "L" in strings</p></div></div></div>