<h3id='tymethod.hour'class='method'><spanid='hour.v'class='invisible'><code>fn <ahref='#tymethod.hour'class='fnname'>hour</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></h3><divclass='docblock'><p>Returns the hour number from 0 to 23.</p>
</div><h3id='tymethod.minute'class='method'><spanid='minute.v'class='invisible'><code>fn <ahref='#tymethod.minute'class='fnname'>minute</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></h3><divclass='docblock'><p>Returns the minute number from 0 to 59.</p>
</div><h3id='tymethod.second'class='method'><spanid='second.v'class='invisible'><code>fn <ahref='#tymethod.second'class='fnname'>second</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></h3><divclass='docblock'><p>Returns the second number from 0 to 59.</p>
</div><h3id='tymethod.nanosecond'class='method'><spanid='nanosecond.v'class='invisible'><code>fn <ahref='#tymethod.nanosecond'class='fnname'>nanosecond</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></h3><divclass='docblock'><p>Returns the number of nanoseconds since the whole non-leap second.
The range from 1,000,000,000 to 1,999,999,999 represents
the <ahref="./naive/struct.NaiveTime.html#leap-second-handling">leap second</a>.</p>
</div><h3id='tymethod.with_hour'class='method'><spanid='with_hour.v'class='invisible'><code>fn <ahref='#tymethod.with_hour'class='fnname'>with_hour</a>(&self, hour: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self></code></span></h3><divclass='docblock'><p>Makes a new value with the hour number changed.</p>
<p>Returns <code>None</code> when the resulting value would be invalid.</p>
</div><h3id='tymethod.with_minute'class='method'><spanid='with_minute.v'class='invisible'><code>fn <ahref='#tymethod.with_minute'class='fnname'>with_minute</a>(&self, min: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self></code></span></h3><divclass='docblock'><p>Makes a new value with the minute number changed.</p>
<p>Returns <code>None</code> when the resulting value would be invalid.</p>
</div><h3id='tymethod.with_second'class='method'><spanid='with_second.v'class='invisible'><code>fn <ahref='#tymethod.with_second'class='fnname'>with_second</a>(&self, sec: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self></code></span></h3><divclass='docblock'><p>Makes a new value with the second number changed.</p>
<p>Returns <code>None</code> when the resulting value would be invalid.
As with the <ahref="#tymethod.second"><code>second</code></a> method,
the input range is restricted to 0 through 59.</p>
</div><h3id='tymethod.with_nanosecond'class='method'><spanid='with_nanosecond.v'class='invisible'><code>fn <ahref='#tymethod.with_nanosecond'class='fnname'>with_nanosecond</a>(&self, nano: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Self></code></span></h3><divclass='docblock'><p>Makes a new value with nanoseconds since the whole non-leap second changed.</p>
<p>Returns <code>None</code> when the resulting value would be invalid.
As with the <ahref="#tymethod.nanosecond"><code>nanosecond</code></a> method,
the input range can exceed 1,000,000,000 for leap seconds.</p>
<h3id='method.hour12'class='method'><spanid='hour12.v'class='invisible'><code>fn <ahref='#method.hour12'class='fnname'>hour12</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code></span></h3><divclass='docblock'><p>Returns the hour number from 1 to 12 with a boolean flag,
which is false for AM and true for PM.</p>
</div><h3id='method.num_seconds_from_midnight'class='method'><spanid='num_seconds_from_midnight.v'class='invisible'><code>fn <ahref='#method.num_seconds_from_midnight'class='fnname'>num_seconds_from_midnight</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></h3><divclass='docblock'><p>Returns the number of non-leap seconds past the last midnight.</p>
<h3id='impl-Timelike'class='impl'><spanclass='in-band'><tableclass='table-display'><tbody><tr><td><code>impl <aclass="trait"href="../mentat_core/trait.Timelike.html"title="trait mentat_core::Timelike">Timelike</a> for <aclass="struct"href="https://docs.rs/chrono/0.4.0/chrono/naive/datetime/struct.NaiveDateTime.html"title="struct chrono::naive::datetime::NaiveDateTime">NaiveDateTime</a></code><ahref='#impl-Timelike'class='anchor'></a></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/datetime.rs.html#988-1154'title='goto source code'>[src]</a></span></td></tr></tbody></table></h3><spanclass='docblock autohide'><divclass='impl-items'><h4id='method.hour'class="method"><spanid='hour.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.hour'class='fnname'>hour</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/datetime.rs.html#1002-1004'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the hour number from 0 to 23.</p>
<p>See also the <ahref="./struct.NaiveTime.html#method.hour"><code>NaiveTime::hour</code></a> method.</p>
</div><h4id='method.minute'class="method"><spanid='minute.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.minute'class='fnname'>minute</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/datetime.rs.html#1019-1021'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the minute number from 0 to 59.</p>
<p>See also the <ahref="./struct.NaiveTime.html#method.minute"><code>NaiveTime::minute</code></a> method.</p>
</div><h4id='method.second'class="method"><spanid='second.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.second'class='fnname'>second</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/datetime.rs.html#1036-1038'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the second number from 0 to 59.</p>
<p>See also the <ahref="./struct.NaiveTime.html#method.second"><code>NaiveTime::second</code></a> method.</p>
</div><h4id='method.nanosecond'class="method"><spanid='nanosecond.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.nanosecond'class='fnname'>nanosecond</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/datetime.rs.html#1056-1058'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the number of nanoseconds since the whole non-leap second.
The range from 1,000,000,000 to 1,999,999,999 represents
the <ahref="./struct.NaiveTime.html#leap-second-handling">leap second</a>.</p>
</div><h4id='method.with_hour'class="method"><spanid='with_hour.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.with_hour'class='fnname'>with_hour</a>(&self, hour: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/chrono/0.4.0/chrono/naive/datetime/struct.NaiveDateTime.html"title="struct chrono::naive::datetime::NaiveDateTime">NaiveDateTime</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/datetime.rs.html#1078-1080'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Makes a new <code>NaiveDateTime</code> with the hour number changed.</p>
<p>Returns <code>None</code> when the resulting <code>NaiveDateTime</code> would be invalid.</p>
</div><h4id='method.with_minute'class="method"><spanid='with_minute.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.with_minute'class='fnname'>with_minute</a>(&self, min: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/chrono/0.4.0/chrono/naive/datetime/struct.NaiveDateTime.html"title="struct chrono::naive::datetime::NaiveDateTime">NaiveDateTime</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/datetime.rs.html#1100-1102'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Makes a new <code>NaiveDateTime</code> with the minute number changed.</p>
<p>Returns <code>None</code> when the resulting <code>NaiveDateTime</code> would be invalid.</p>
</div><h4id='method.with_second'class="method"><spanid='with_second.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.with_second'class='fnname'>with_second</a>(&self, sec: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/chrono/0.4.0/chrono/naive/datetime/struct.NaiveDateTime.html"title="struct chrono::naive::datetime::NaiveDateTime">NaiveDateTime</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/datetime.rs.html#1124-1126'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Makes a new <code>NaiveDateTime</code> with the second number changed.</p>
<p>Returns <code>None</code> when the resulting <code>NaiveDateTime</code> would be invalid.
As with the <ahref="#method.second"><code>second</code></a> method,
the input range is restricted to 0 through 59.</p>
</div><h4id='method.with_nanosecond'class="method"><spanid='with_nanosecond.v-1'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.with_nanosecond'class='fnname'>with_nanosecond</a>(&self, nano: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/chrono/0.4.0/chrono/naive/datetime/struct.NaiveDateTime.html"title="struct chrono::naive::datetime::NaiveDateTime">NaiveDateTime</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/datetime.rs.html#1151-1153'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Makes a new <code>NaiveDateTime</code> with nanoseconds since the whole non-leap second changed.</p>
<p>Returns <code>None</code> when the resulting <code>NaiveDateTime</code> would be invalid.
As with the <ahref="#method.nanosecond"><code>nanosecond</code></a> method,
the input range can exceed 1,000,000,000 for leap seconds.</p>
</div><h4id='method.minute-1'class="method"><spanid='minute.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.minute'class='fnname'>minute</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/time.rs.html#806-808'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the minute number from 0 to 59.</p>
</div><h4id='method.second-1'class="method"><spanid='second.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.second'class='fnname'>second</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/time.rs.html#832-834'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the second number from 0 to 59.</p>
</div><h4id='method.nanosecond-1'class="method"><spanid='nanosecond.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.nanosecond'class='fnname'>nanosecond</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/time.rs.html#860-862'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the number of nanoseconds since the whole non-leap second.
</div><h4id='method.with_hour-1'class="method"><spanid='with_hour.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.with_hour'class='fnname'>with_hour</a>(&self, hour: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/chrono/0.4.0/chrono/naive/time/struct.NaiveTime.html"title="struct chrono::naive::time::NaiveTime">NaiveTime</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/time.rs.html#878-882'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Makes a new <code>NaiveTime</code> with the hour number changed.</p>
</div><h4id='method.with_minute-1'class="method"><spanid='with_minute.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.with_minute'class='fnname'>with_minute</a>(&self, min: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/chrono/0.4.0/chrono/naive/time/struct.NaiveTime.html"title="struct chrono::naive::time::NaiveTime">NaiveTime</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/time.rs.html#898-902'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Makes a new <code>NaiveTime</code> with the minute number changed.</p>
</div><h4id='method.with_second-1'class="method"><spanid='with_second.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.with_second'class='fnname'>with_second</a>(&self, sec: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/chrono/0.4.0/chrono/naive/time/struct.NaiveTime.html"title="struct chrono::naive::time::NaiveTime">NaiveTime</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/time.rs.html#920-924'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Makes a new <code>NaiveTime</code> with the second number changed.</p>
</div><h4id='method.with_nanosecond-1'class="method"><spanid='with_nanosecond.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.with_nanosecond'class='fnname'>with_nanosecond</a>(&self, nano: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>) -><aclass="enum"href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="https://docs.rs/chrono/0.4.0/chrono/naive/time/struct.NaiveTime.html"title="struct chrono::naive::time::NaiveTime">NaiveTime</a>></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/time.rs.html#955-958'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Makes a new <code>NaiveTime</code> with nanoseconds since the whole non-leap second changed.</p>
</div><h4id='method.num_seconds_from_midnight-2'class="method"><spanid='num_seconds_from_midnight.v-2'class='invisible'><tableclass='table-display'><tbody><tr><td><code>fn <ahref='#method.num_seconds_from_midnight'class='fnname'>num_seconds_from_midnight</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code></span></td><td><spanclass='out-of-band'><divclass='ghost'></div><aclass='srclink'href='https://docs.rs/chrono/0.4.0/src/chrono/naive/time.rs.html#975-977'title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><divclass='docblock'><p>Returns the number of non-leap seconds past the last midnight.</p>