Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class greg_month

boost::gregorian::greg_month — Wrapper class to represent months in gregorian based calendar.

Synopsis

// In header: <boost/date_time/gregorian/greg_month.hpp>


class greg_month : public  {
public:
  // types
  typedef  ;

  // public member functions
  ();
  ();
   () ;
   () ;
   () ;
   () ;
   () ;
   () ;
   () ;
   () ;
   () ;
   () ;
   () ;
};

Description

greg_month public member functions

  1. ( theMonth);
    Construct a month from the months_of_year enumeration.
  2. ( theMonth);
    Construct from a short value.
  3.  () ;
    Convert the value back to a short.
  4.  () ;
    Returns month as number from 1 to 12.
  5.  () ;
  6.  () ;
    Returns 3 char english string for the month ex: Jan, Feb, Mar, Apr.
  7.  () ;
    Returns full name of month as string in english ex: January, February.
  8.  () ;
    Returns 3 wchar_t english string for the month ex: Jan, Feb, Mar, Apr.
  9.  () ;
    Returns full name of month as wchar_t string in english ex: January, February.
  10.  () ;
  11.  () ;
  12.  () ;
  13.  () ;

PrevUpHomeNext