diff options
author | Douglas Gregor <doug.gregor@gmail.com> | 2005-07-31 16:48:16 +0000 |
---|---|---|
committer | Douglas Gregor <doug.gregor@gmail.com> | 2005-07-31 16:48:16 +0000 |
commit | 6c009ef3685caff213316319b827264c5c1489e5 (patch) | |
tree | c1305562bc74292e8daefff2313c18d081ba408a /doc/html/ostream_ymd_formatter.html | |
parent | ed6bc8f4c0884495823b25c470838d8094b12446 (diff) | |
download | boost-6c009ef3685caff213316319b827264c5c1489e5.tar.gz |
Move 1.33.0 docs over to the branch
[SVN r30340]
Diffstat (limited to 'doc/html/ostream_ymd_formatter.html')
-rw-r--r-- | doc/html/ostream_ymd_formatter.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/doc/html/ostream_ymd_formatter.html b/doc/html/ostream_ymd_formatter.html new file mode 100644 index 0000000000..ec191c8b19 --- /dev/null +++ b/doc/html/ostream_ymd_formatter.html @@ -0,0 +1,65 @@ +<html> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> +<title>Class template ostream_ymd_formatter</title> +<link rel="stylesheet" href="boostbook.css" type="text/css"> +<meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> +<link rel="start" href="index.html" title="The Boost C++ Libraries"> +<link rel="up" href="date_time/doxy.html#id968176" title="Header <boost/date_time/date_formatting_locales.hpp>"> +<link rel="prev" href="ostream_weekday_formatter.html" title="Class template ostream_weekday_formatter"> +<link rel="next" href="ostream_date_formatter.html" title="Class template ostream_date_formatter"> +</head> +<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> +<table cellpadding="2" width="100%"> +<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td> +<td align="center"><a href="../../index.htm">Home</a></td> +<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td> +<td align="center"><a href="../../people/people.htm">People</a></td> +<td align="center"><a href="../../more/faq.htm">FAQ</a></td> +<td align="center"><a href="../../more/index.htm">More</a></td> +</table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="ostream_weekday_formatter.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id968176"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="ostream_date_formatter.html"><img src="images/next.png" alt="Next"></a> +</div> +<div class="refentry" lang="en"> +<a name="ostream_ymd_formatter"></a><div class="titlepage"></div> +<div class="refnamediv"> +<h2><span class="refentrytitle">Class template ostream_ymd_formatter</span></h2> +<p>boost::date_time::ostream_ymd_formatter — Convert ymd to a standard string formatting policies. </p> +</div> +<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> +<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>template</strong></span><<span class="bold"><strong>typename</strong></span> ymd_type, <span class="bold"><strong>typename</strong></span> facet_type, <span class="bold"><strong>typename</strong></span> charT = <span class="bold"><strong>char</strong></span>> +<span class="bold"><strong>class</strong></span> ostream_ymd_formatter { +<span class="bold"><strong>public</strong></span>: + <span class="emphasis"><em>// types</em></span> + <span class="bold"><strong>typedef</strong></span> ymd_type::month_type month_type; + <span class="bold"><strong>typedef</strong></span> <a href="ostream_month_formatter.html" title="Class template ostream_month_formatter">ostream_month_formatter</a>< facet_type, charT > month_formatter_type; + <span class="bold"><strong>typedef</strong></span> std::basic_ostream< charT > ostream_type; + <span class="bold"><strong>typedef</strong></span> std::basic_string< charT > foo_type; + + <span class="emphasis"><em>// <a href="ostream_ymd_formatter.html#id976307-bb">public static functions</a></em></span> + <span class="type"><span class="bold"><strong>void</strong></span></span> <a href="ostream_ymd_formatter.html#id1102473-bb">ymd_put</a>(ymd_type, ostream_type &, <span class="bold"><strong>const</strong></span> facet_type &) ; +};</pre></div> +<div class="refsect1" lang="en"> +<a name="id1070005"></a><h2>Description</h2> +<div class="refsect2" lang="en"> +<a name="id1070008"></a><h3> +<a name="id976307-bb"></a><code class="computeroutput">ostream_ymd_formatter</code> public static functions</h3> +<div class="orderedlist"><ol type="1"><li> +<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id1102473-bb"></a>ymd_put(ymd_type ymd, ostream_type & os, <span class="bold"><strong>const</strong></span> facet_type & f) ;</pre> +<p>This is standard code for handling date formatting with year-month-day based date information. This function uses the format_type to control whether the string will contain separator characters, and if so what the character will be. In addtion, it can format the month as either an integer or a string as controled by the formatting policy </p> +</li></ol></div> +</div> +</div> +</div> +<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> +<td align="left"></td> +<td align="right"><small>Copyright © 2001-2005 CrystalClear Software, Inc</small></td> +</tr></table> +<hr> +<div class="spirit-nav"> +<a accesskey="p" href="ostream_weekday_formatter.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="date_time/doxy.html#id968176"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a><a accesskey="n" href="ostream_date_formatter.html"><img src="images/next.png" alt="Next"></a> +</div> +</body> +</html> |