1 /* Copyright (c) 2002,2003 CrystalClear Software, Inc. 2 * Use, modification and distribution is subject to the 3 * Boost Software License, Version 1.0. (See accompanying 4 * file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) 5 * Author: Jeff Garland 6 * $Date$ 7 */ 8 9 10 /** @defgroup date_basics Date Basics 11 This page summarizes some of the key user types and functions needed 12 to write programs using the gregorian date system. This is not a 13 comprehensive list, but rather some key types to start exploring. 14 15 16 **/ 17 18 /** @defgroup date_alg Date Algorithms / Generators 19 Date algorithms or generators are tools for generating other dates or 20 schedules of dates. A generator function starts with some part of a 21 date such as a month and day and is supplied another part to then 22 generate a final date. 23 24 **/ 25 26 /** @defgroup date_format Date Formatting 27 The functions on these page are some of the key formatting functions 28 for dates. 29 **/ 30 31 32 //File doesn't have a current purpose except to generate docs 33 //and keep it changeable without recompiles 34 /*! @example days_alive.cpp 35 Calculate the number of days you have been living using durations and dates. 36 */ 37 /*! @example days_till_new_year.cpp 38 Calculate the number of days till new years 39 */ 40 /*! @example print_month.cpp 41 Simple utility to print out days of the month with the days of a month. Demontstrates date iteration (date_time::date_itr). 42 */ 43 /*! @example localization.cpp 44 An example showing localized stream-based I/O. 45 */ 46 /*! @example dates_as_strings.cpp 47 Various parsing and output of strings (mostly supported for 48 compilers that do not support localized streams). 49 */ 50 /*! @example period_calc.cpp 51 Calculates if a date is in an 'irregular' collection of periods using 52 period calculation functions. 53 */ 54 /*! @example print_holidays.cpp 55 This is an example of using functors to define a holiday schedule 56 */ 57 /*! @example localization.cpp 58 Demonstrates the use of facets to localize date output for Gregorian dates. 59 */ 60 61 62 63