mirror of
https://github.com/boostorg/date_time.git
synced 2026-01-29 19:32:20 +00:00
67 lines
2.2 KiB
HTML
67 lines
2.2 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>Date I/O Documentation</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
|
|
<body>
|
|
<a href="../../../index.htm">
|
|
<img align="left" src="../../../c++boost.gif" alt="C++ Boost">
|
|
</a>
|
|
<h1>Date Input/Output</h1>
|
|
<p> </p>
|
|
<hr>
|
|
<a href="index.html">Overall Index</a> --
|
|
<a href="gregorian.html">Gregorian Index</a> --
|
|
<a href="posix_time.html">Posix Time Index</a>
|
|
<p>
|
|
<a href="#intro">Introduction</a> --
|
|
<a href="#classoverview">Class Overview</a>
|
|
<p>
|
|
<h2><a name="intro">Introduction</a></h2>
|
|
<p>
|
|
The library provides for localized stream-based I/O of dates and times.
|
|
Note that this support is not supported for all compilers. See the
|
|
<a href="BuildInfo.html">build information</a> page for details.
|
|
<p>
|
|
<p>
|
|
<a name="classoverview"><h2>Class Overview</h2></a>
|
|
<p>
|
|
<table border=1 cellspacing=3 cellpadding=3>
|
|
<tr><td><b>Class</b></td>
|
|
<td><b>Construction Parameters</b></td>
|
|
<td><b>Description</b></td></tr>
|
|
<tr><td>date_iterator</td>
|
|
<td></td>
|
|
<td>Common base class for all day level iterators.</td></tr>
|
|
<tr><td>day_iterator</td>
|
|
<td>date start_date, int day_count=1</td>
|
|
<td>Iterate day_count days at a time.</td></tr>
|
|
<tr><td>week_iterator</td>
|
|
<td>date start_date, int week_offset=1</td>
|
|
<td>Iterate week_offset weeks at a time.</td></tr>
|
|
<tr><td>month_iterator</td>
|
|
<td>date start_date, int month_offset=1</td>
|
|
<td>Iterate month_offset months. There are special rules for
|
|
handling the end of the month. These are: if start date is last
|
|
day of the month, always adjust to last day of the month.
|
|
if date is beyond the end of the month (eg: jan 31 + 1 month)
|
|
adjust back to end of month.
|
|
</td></tr>
|
|
<tr><td>year_iterator</td>
|
|
<td>date start_date, int year_offset=1</td>
|
|
<td>Iterate year_offset years</td></tr>
|
|
</table>
|
|
|
|
|
|
<hr><address><small>
|
|
<!-- hhmts start -->
|
|
Last modified: Thu Sep 5 07:26:05 MST 2002
|
|
<!-- hhmts end -->
|
|
by <a href="mailto:jeff@crystalclearsoftware.com">Jeff Garland</a> © 2000-2002
|
|
</small></address>
|
|
|
|
</body>
|
|
</html>
|
|
|