forked from HowardHinnant/date
Add streaming inserter for utc_time.
* Fix bug in utc_to_sys.
This commit is contained in:
18
tz.html
18
tz.html
@@ -26,7 +26,7 @@
|
|||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="mailto:howard.hinnant@gmail.com">Howard E. Hinnant</a><br/>
|
<a href="mailto:howard.hinnant@gmail.com">Howard E. Hinnant</a><br/>
|
||||||
2016-06-01<br/>
|
2016-06-06<br/>
|
||||||
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"> <img alt="Creative
|
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"> <img alt="Creative
|
||||||
Commons License" style="border-width:0"
|
Commons License" style="border-width:0"
|
||||||
src="http://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br /> This work is licensed
|
src="http://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br /> This work is licensed
|
||||||
@@ -2454,6 +2454,22 @@ Output:
|
|||||||
<i>— end example</i>]
|
<i>— end example</i>]
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
template <class CharT, class Traits, class Duration>
|
||||||
|
std::basic_ostream<class CharT, class Traits>&
|
||||||
|
operator<<(std::basic_ostream<class CharT, class Traits>& os, const utc_time<Duration>& t)
|
||||||
|
</pre>
|
||||||
|
<blockquote>
|
||||||
|
<p>
|
||||||
|
<i>Effects:</i> Streams <code>t</code> to <code>os</code> using the format "%F %T". This
|
||||||
|
differs from streaming <code>sys_time</code> only by the use of <code>60</code> for the
|
||||||
|
seconds specifier when the value represents an inserted leap second.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<i>Returns:</i> <code>os</code>.
|
||||||
|
</p>
|
||||||
|
</blockquote>
|
||||||
|
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<a name="leap"></a><h3><code>leap</code></h3>
|
<a name="leap"></a><h3><code>leap</code></h3>
|
||||||
|
Reference in New Issue
Block a user