boost.png (6897 bytes) Home Libraries People FAQ More

PrevUpHomeNext

Class greg_weekday

boost::gregorian::greg_weekday — Represent a day within a week (range 0==Sun to 6==Sat).

Synopsis

class greg_weekday {
public:
  // types
  typedef boost::date_time::weekdays weekday_enum;

  // construct/copy/destruct
  greg_weekday(unsigned short);

  // public member functions
  unsigned short as_number() const;
  const char * as_short_string() const;
  const char * as_long_string() const;
  const wchar_t * as_short_wstring() const;
  const wchar_t * as_long_wstring() const;
  weekday_enum as_enum() const;
};

Description

greg_weekday construct/copy/destruct

  1. greg_weekday(unsigned short day_of_week_num);

greg_weekday public member functions

  1. unsigned short as_number() const;
  2. const char * as_short_string() const;
  3. const char * as_long_string() const;
  4. const wchar_t * as_short_wstring() const;
  5. const wchar_t * as_long_wstring() const;
  6. weekday_enum as_enum() const;
Copyright © 2001-2005 CrystalClear Software, Inc

PrevUpHomeNext