<divclass="content sourceset-depenent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword">suspend </span><spanclass="token keyword">fun </span><ahref="next.html"><spanclass="token function">next</span></a><spanclass="token punctuation">(</span>relatively<spanclass="token operator">: </span><spandata-unresolved-link="com.soywiz.klock/DateTime///PointingToDeclaration/">DateTime</span><spanclass="token operator"> = </span>DateTime.now()<spanclass="token punctuation">)</span><spanclass="token operator">: </span><spandata-unresolved-link="com.soywiz.klock/DateTime///PointingToDeclaration/">DateTime</span><spanclass="token operator">?</span><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><h4class="">Return</h4><pclass="paragraph">Next <spandata-unresolved-link="com.soywiz.klock/DateTime///PointingToDeclaration/">DateTime</span> when some action must be triggered according to settings of this instance</p><h2class="">See also</h2><divdata-togglable="See also"><divclass="table"data-togglable="See also"><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue WithExtraAttributes"><divclass=""><spanclass="inline-flex"><spandata-unresolved-link="dev.inmo.krontab.internal/CronDateTimeScheduler/next/#com.soywiz.klock.DateTime/PointingToDeclaration/">dev.inmo.krontab.internal.CronDateTimeScheduler</span></span></div><div><divclass="title"><divdata-togglable="See also"></div></div></div></div></div></div></div></div></div>