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  ;

  // construct/copy/destruct
  ();
  ();

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

Description

greg_month public construct/copy/destruct

  1. ( theMonth);
    Construct a month from the months_of_year enumeration.
  2. ( theMonth);
    Construct from a short value.

greg_month public member functions

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

PrevUpHomeNext