<divclass="content sourceset-depenent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">abstract </span><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="calculate-near-time.html"><spanclass="token function">calculateNearTime</span></a><spanclass="token punctuation">(</span>relativelyTo<spanclass="token operator">: </span><spandata-unresolved-link="com.soywiz.klock/DateTime///PointingToDeclaration/">DateTime</span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html">Pair</a><spanclass="token operator"><</span><spanclass="token keyword"></span><spandata-unresolved-link="com.soywiz.klock/DateTime///PointingToDeclaration/">DateTime</span><spanclass="token punctuation">, </span><spanclass="token keyword"></span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><spanclass="token operator">></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">pair of near <spandata-unresolved-link="com.soywiz.klock/DateTime///PointingToDeclaration/">DateTime</span> for this checker and <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a> flag that all previous calculations must be recalculated</p></div></div>