![]() |
Home | Libraries | People | FAQ | More |
boost::date_time::gregorian_calendar_base — An implementation of the Gregorian calendar.
// In header: <boost/date_time/gregorian_calendar.hpp> template<typename ymd_type_, typename date_int_type_> class gregorian_calendar_base { public: // types typedef ; // define a type a date split into components typedef ; // define a type for representing months typedef ; // define a type for representing days typedef ; // Type to hold a stand alone year value (eg: 2002) typedef ; // Define the integer type to use for internal calculations. // public static functions (); (); (); (); (); (); (); (); (); (, ); (); (); };
This is a parameterized implementation of a proleptic Gregorian Calendar that can be used in the creation of date systems or just to perform calculations. All the methods of this class are static functions, so the intent is to never create instances of this class.