y-def">Static Method: </span><span><code class="def-type"><var class="var">obj</var> =</code> <strong class="def-name">duration.ofDays</strong> <code class="def-code-arguments">(<var class="var">dnums</var>)</code><a class="copiable-link" href="#index-duration_002eofDays"> &para;</a></span></dt>
<dd>
<p>Converts a double array representing durations in whole and fractional days
to a <code class="code">duration</code> array. This is the method that is used for implicit conversion
of numerics in many cases.
<