Imported Upstream version 1.51.0
[platform/upstream/boost.git] / doc / html / boost / local_time / operator-__id688229.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Function operator-=</title>
5 <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7 <link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
8 <link rel="up" href="../../date_time/doxy.html#header.boost.date_time.local_time.date_duration_operators_hpp" title="Header &lt;boost/date_time/local_time/date_duration_operators.hpp&gt;">
9 <link rel="prev" href="operator-_id367078.html" title="Function operator-">
10 <link rel="next" href="operator__id673707.html" title="Function operator+">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
15 <td align="center"><a href="../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../more/index.htm">More</a></td>
20 </tr></table>
21 <hr>
22 <div class="spirit-nav">
23 <a accesskey="p" href="operator-_id367078.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.local_time.date_duration_operators_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator__id673707.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
24 </div>
25 <div class="refentry">
26 <a name="boost.local_time.operator-=_id688229"></a><div class="titlepage"></div>
27 <div class="refnamediv">
28 <h2><span class="refentrytitle">Function operator-=</span></h2>
29 <p>boost::local_time::operator-=</p>
30 </div>
31 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
32 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../date_time/doxy.html#header.boost.date_time.local_time.date_duration_operators_hpp" title="Header &lt;boost/date_time/local_time/date_duration_operators.hpp&gt;">boost/date_time/local_time/date_duration_operators.hpp</a>&gt;
33
34 </span>
35 <a class="link" href="../../date_time/doxy.html#boost.local_time.local_date_time">local_date_time</a> 
36 <span class="keyword">operator</span><span class="special">-=</span><span class="special">(</span><a class="link" href="../../date_time/doxy.html#boost.local_time.local_date_time">local_date_time</a> <span class="special">&amp;</span> t<span class="special">,</span> <span class="keyword">const</span> <span class="identifier">boost</span><span class="special">::</span><span class="identifier">gregorian</span><span class="special">::</span><span class="identifier">months</span> <span class="special">&amp;</span> m<span class="special">)</span><span class="special">;</span></pre></div>
37 <div class="refsect1">
38 <a name="id1525677"></a><h2>Description</h2>
39 <p>Subtracts a months object from a local_date_time. Result will be same day-of-month as local_date_time unless original day was the last day of month. see date_time::months_duration for more details </p>
40 </div>
41 </div>
42 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
43 <td align="left"></td>
44 <td align="right"><div class="copyright-footer">Copyright &#169; 2001-2005 CrystalClear Software, Inc<p>Subject to the Boost Software License, Version 1.0. (See accompanying file
45     <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
46 </div></td>
47 </tr></table>
48 <hr>
49 <div class="spirit-nav">
50 <a accesskey="p" href="operator-_id367078.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#header.boost.date_time.local_time.date_duration_operators_hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="operator__id673707.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
51 </div>
52 </body>
53 </html>