-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.randomseed.utils.time.html
7 lines (7 loc) · 26.1 KB
/
io.randomseed.utils.time.html
1
2
3
4
5
6
7
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>io.randomseed.utils.time documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script><link rel="stylesheet" type="text/css" href="css/randomseed.css" /></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Random:utils</span> <span class="project-version">1.2.34</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="10_introduction.html"><div class="inner"><span>Introduction</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>io</span></div></div></li><li class="depth-2"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>randomseed</span></div></div></li><li class="depth-3"><a href="io.randomseed.utils.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>utils</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.bot.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>bot</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.bus.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>bus</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.crypto.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>crypto</span></div></a></li><li class="depth-4"><a href="io.randomseed.utils.db.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>db</span></div></a></li><li class="depth-5"><a href="io.randomseed.utils.db.types.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>types</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.fs.html"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>fs</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.ip.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>ip</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.log.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>log</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.map.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>map</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.nop-cache.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>nop-cache</span></div></a></li><li class="depth-4"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>reitit</span></div></div></li><li class="depth-5"><a href="io.randomseed.utils.reitit.http.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>http</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.set.html"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>set</span></div></a></li><li class="depth-4 branch current"><a href="io.randomseed.utils.time.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>time</span></div></a></li><li class="depth-4"><a href="io.randomseed.utils.validators.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>validators</span></div></a></li><li class="depth-5"><a href="io.randomseed.utils.validators.common.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>common</span></div></a></li><li class="depth-4 branch"><a href="io.randomseed.utils.var.html"><div class="inner"><span class="tree" style="top: -52px;"><span class="top" style="height: 61px;"></span><span class="bottom"></span></span><span>var</span></div></a></li><li class="depth-4"><a href="io.randomseed.utils.vec.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>vec</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="io.randomseed.utils.time.html#var-add-second"><div class="inner"><span>add-second</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-date-time-rpat"><div class="inner"><span>date-time-rpat</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-date-to-local-utc"><div class="inner"><span>date-to-local-utc</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-days"><div class="inner"><span>days</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-days-ago"><div class="inner"><span>days-ago</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-duration-.3Etime"><div class="inner"><span>duration->time</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-duration-map"><div class="inner"><span>duration-map</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-duration-or-time"><div class="inner"><span>duration-or-time</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-duration.3F"><div class="inner"><span>duration?</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-hours"><div class="inner"><span>hours</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-instant-utc"><div class="inner"><span>instant-utc</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-local-utc-delta"><div class="inner"><span>local-utc-delta</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-millis"><div class="inner"><span>millis</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-milliseconds"><div class="inner"><span>milliseconds</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-minutes"><div class="inner"><span>minutes</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-neg-duration.3F"><div class="inner"><span>neg-duration?</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-one-second"><div class="inner"><span>one-second</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-parse-dt"><div class="inner"><span>parse-dt</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-parse-dt-secs"><div class="inner"><span>parse-dt-secs</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-parse-dur-min"><div class="inner"><span>parse-dur-min</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-parse-duration"><div class="inner"><span>parse-duration</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-parse-ts"><div class="inner"><span>parse-ts</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-parse-ts-secs"><div class="inner"><span>parse-ts-secs</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-pos-duration.3F"><div class="inner"><span>pos-duration?</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-safe-parse-dt"><div class="inner"><span>safe-parse-dt</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-safe-parse-dt-secs"><div class="inner"><span>safe-parse-dt-secs</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-safe-parse-ts"><div class="inner"><span>safe-parse-ts</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-safe-parse-ts-secs"><div class="inner"><span>safe-parse-ts-secs</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-seconds"><div class="inner"><span>seconds</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-sub-second"><div class="inner"><span>sub-second</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-time-.3Eduration"><div class="inner"><span>time->duration</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-time-unit"><div class="inner"><span>time-unit</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-timeish.3F"><div class="inner"><span>timeish?</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-timestamp"><div class="inner"><span>timestamp</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-timestamp-secs"><div class="inner"><span>timestamp-secs</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-try-times"><div class="inner"><span>try-times</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-try-times*"><div class="inner"><span>try-times*</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-tstamp-pat"><div class="inner"><span>tstamp-pat</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-unit-to-efn"><div class="inner"><span>unit-to-efn</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-utc"><div class="inner"><span>utc</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-utc-instant"><div class="inner"><span>utc-instant</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-utc-to-local-date"><div class="inner"><span>utc-to-local-date</span></div></a></li><li class="depth-1"><a href="io.randomseed.utils.time.html#var-zero-duration.3F"><div class="inner"><span>zero-duration?</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">io.randomseed.utils.time</h1><h4 class="added">added in 1.0.0</h4><div class="doc"><div class="markdown"><p>Random utilities, date and time functions.</p>
</div></div><div class="public anchor" id="var-add-second"><h3>add-second</h3><div class="usage"><code>(add-second t)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L242">view source</a></div></div><div class="public anchor" id="var-date-time-rpat"><h3>date-time-rpat</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L46">view source</a></div></div><div class="public anchor" id="var-date-to-local-utc"><h3>date-to-local-utc</h3><div class="usage"><code>(date-to-local-utc t)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L300">view source</a></div></div><div class="public anchor" id="var-days"><h3>days</h3><div class="usage"><code>(days v)</code><code>(days v default)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L235">view source</a></div></div><div class="public anchor" id="var-days-ago"><h3>days-ago</h3><div class="usage"><code>(days-ago n)</code></div><div class="doc"><div class="markdown"><p>Returns a time of days ago from now.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L250">view source</a></div></div><div class="public anchor" id="var-duration-.3Etime"><h3>duration->time</h3><div class="usage"><code>(duration->time duration)</code><code>(duration->time duration t)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L255">view source</a></div></div><div class="public anchor" id="var-duration-map"><h3>duration-map</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L114">view source</a></div></div><div class="public anchor" id="var-duration-or-time"><h3>duration-or-time</h3><div class="usage"><code>(duration-or-time v)</code><code>(duration-or-time v t)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L273">view source</a></div></div><div class="public anchor" id="var-duration.3F"><h3>duration?</h3><div class="usage"><code>(duration? v)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L269">view source</a></div></div><div class="public anchor" id="var-hours"><h3>hours</h3><div class="usage"><code>(hours v)</code><code>(hours v default)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L231">view source</a></div></div><div class="public anchor" id="var-instant-utc"><h3>instant-utc</h3><div class="usage"><code>(instant-utc)</code><code>(instant-utc v)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L284">view source</a></div></div><div class="public anchor" id="var-local-utc-delta"><h3>local-utc-delta</h3><div class="usage"><code>(local-utc-delta)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L293">view source</a></div></div><div class="public anchor" id="var-millis"><h3>millis</h3><div class="usage"><code>(millis v)</code><code>(millis v default)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L217">view source</a></div></div><div class="public anchor" id="var-milliseconds"><h3>milliseconds</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L221">view source</a></div></div><div class="public anchor" id="var-minutes"><h3>minutes</h3><div class="usage"><code>(minutes v)</code><code>(minutes v default)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L227">view source</a></div></div><div class="public anchor" id="var-neg-duration.3F"><h3>neg-duration?</h3><div class="usage"><code>(neg-duration? d)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L105">view source</a></div></div><div class="public anchor" id="var-one-second"><h3>one-second</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L239">view source</a></div></div><div class="public anchor" id="var-parse-dt"><h3>parse-dt</h3><div class="usage"><code>(parse-dt s)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L65">view source</a></div></div><div class="public anchor" id="var-parse-dt-secs"><h3>parse-dt-secs</h3><div class="usage"><code>(parse-dt-secs s)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L69">view source</a></div></div><div class="public anchor" id="var-parse-dur-min"><h3>parse-dur-min</h3><div class="usage"><code>(parse-dur-min v)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L109">view source</a></div></div><div class="public anchor" id="var-parse-duration"><h3>parse-duration</h3><div class="usage"><code>(parse-duration d)</code><code>(parse-duration d default-unit)</code><code>(parse-duration d default-unit & pairs)</code></div><div class="doc"><div class="markdown"><p>Parses time duration expressed as value and unit. For a single argument being a single value it is treated as minutes. For a single value being a collection the function is applied to consecutive values. For the given <code>d</code> and <code>default-unit</code> the value of <code>d</code> is parsed as a long number and the unit is converted into a keyword and should be one of the: <code>:day</code>, <code>:hour</code>, <code>:minute</code>, <code>:second</code>, <code>:millisecond</code>, <code>:microsecond</code> or <code>:nanosecond</code> (including their corresponding plural forms). When multiple arguments are given they are parsed in pairs and added to create a single duration.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L153">view source</a></div></div><div class="public anchor" id="var-parse-ts"><h3>parse-ts</h3><div class="usage"><code>(parse-ts s)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L28">view source</a></div></div><div class="public anchor" id="var-parse-ts-secs"><h3>parse-ts-secs</h3><div class="usage"><code>(parse-ts-secs s)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L32">view source</a></div></div><div class="public anchor" id="var-pos-duration.3F"><h3>pos-duration?</h3><div class="usage"><code>(pos-duration? d)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L100">view source</a></div></div><div class="public anchor" id="var-safe-parse-dt"><h3>safe-parse-dt</h3><div class="usage"><code>(safe-parse-dt s)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L73">view source</a></div></div><div class="public anchor" id="var-safe-parse-dt-secs"><h3>safe-parse-dt-secs</h3><div class="usage"><code>(safe-parse-dt-secs s)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L78">view source</a></div></div><div class="public anchor" id="var-safe-parse-ts"><h3>safe-parse-ts</h3><div class="usage"><code>(safe-parse-ts s)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L36">view source</a></div></div><div class="public anchor" id="var-safe-parse-ts-secs"><h3>safe-parse-ts-secs</h3><div class="usage"><code>(safe-parse-ts-secs s)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L41">view source</a></div></div><div class="public anchor" id="var-seconds"><h3>seconds</h3><div class="usage"><code>(seconds v)</code><code>(seconds v default)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L223">view source</a></div></div><div class="public anchor" id="var-sub-second"><h3>sub-second</h3><div class="usage"><code>(sub-second t)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L246">view source</a></div></div><div class="public anchor" id="var-time-.3Eduration"><h3>time->duration</h3><div class="usage"><code>(time->duration t)</code><code>(time->duration from-time to-time)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L259">view source</a></div></div><div class="public anchor" id="var-time-unit"><h3>time-unit</h3><div class="usage"><code>(time-unit v default-unit)</code><code>(time-unit v default-unit extraction-fn)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L204">view source</a></div></div><div class="public anchor" id="var-timeish.3F"><h3>timeish?</h3><div class="usage"><code>(timeish? v)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L263">view source</a></div></div><div class="public anchor" id="var-timestamp"><h3>timestamp</h3><div class="usage"><code>(timestamp)</code><code>(timestamp t)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L83">view source</a></div></div><div class="public anchor" id="var-timestamp-secs"><h3>timestamp-secs</h3><div class="usage"><code>(timestamp-secs)</code><code>(timestamp-secs t)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L92">view source</a></div></div><div class="public anchor" id="var-try-times"><h3>try-times</h3><h4 class="type">macro</h4><div class="usage"><code>(try-times & body)</code></div><div class="doc"><div class="markdown"><p>Executes body. If an exception is thrown, will retry. At most n retries are done. If still some exception is thrown it is bubbled upwards in the call chain.</p>
</div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L332">view source</a></div></div><div class="public anchor" id="var-try-times*"><h3>try-times*</h3><div class="usage"><code>(try-times* times thunk)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L317">view source</a></div></div><div class="public anchor" id="var-tstamp-pat"><h3>tstamp-pat</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L47">view source</a></div></div><div class="public anchor" id="var-unit-to-efn"><h3>unit-to-efn</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L193">view source</a></div></div><div class="public anchor" id="var-utc"><h3>utc</h3><div class="usage"></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L282">view source</a></div></div><div class="public anchor" id="var-utc-instant"><h3>utc-instant</h3><div class="usage"><code>(utc-instant)</code><code>(utc-instant v)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L308">view source</a></div></div><div class="public anchor" id="var-utc-to-local-date"><h3>utc-to-local-date</h3><div class="usage"><code>(utc-to-local-date t)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L304">view source</a></div></div><div class="public anchor" id="var-zero-duration.3F"><h3>zero-duration?</h3><div class="usage"><code>(zero-duration? d)</code></div><div class="doc"><div class="markdown"></div></div><div class="src-link"><a href="https://github.com/randomseed-io/utils/tree/1.2.34/src/io/randomseed/utils/time.clj#L96">view source</a></div></div></div></body></html>