Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Chapter 3. Boost.Date_Time

Jeff Garland

Subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Table of Contents

Conceptual
Motivation
Domain Concepts
Design Concepts
More Information
Gregorian
Date Class
Date Duration (aka Days)
Date Period
Date Iterators
Date Generators/Algorithms
Gregorian Calendar
Class day_clock
Posix Time
Ptime Class
Time Duration
Time Period
Time Iterators
Local Time Adjustment
Details
Calculations
Design Goals
Tradeoffs: Stability, Predictability, and Approximations
Serialization
Terminology
References
Build-Compiler Information
Tests
Change History
Acknowledgements
Examples
General Usage Examples
Dates as Strings
Days Alive
Days Between New Years
End of the Months
Localization Demonstration
Date Period Calculations
Print Holidays
Print Month
Month Adding
Time Math
Print Hours
Local to UTC Conversion
Time Periods
Library Reference
Date Time Reference
Gregorian Reference
Posix Time Reference

Introduction

A set of date-time libraries based on generic programming concepts.

Last revised: July 22, 2004 at 01:35:15 GMT


PrevUpHomeNext