C++ Boost

Date Input/Output

 


Overall Index -- Gregorian Index -- Posix Time Index

Introduction -- Class Overview

Introduction

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 build information page for details.

Class Overview

Class Construction Parameters Description
date_iterator Common base class for all day level iterators.
day_iterator date start_date, int day_count=1 Iterate day_count days at a time.
week_iterator date start_date, int week_offset=1 Iterate week_offset weeks at a time.
month_iterator date start_date, int month_offset=1 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.
year_iterator date start_date, int year_offset=1 Iterate year_offset years


Last modified: Thu Sep 5 07:26:05 MST 2002 by Jeff Garland © 2000-2002