...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::gregorian::greg_weekday — Represent a day within a week (range 0==Sun to 6==Sat)
// In header: <boost/date_time/gregorian/greg_weekday.hpp> class greg_weekday : public greg_weekday_rep { public: // types typedef boost::date_time::weekdays weekday_enum; // construct/copy/destruct greg_weekday(value_type); // public member functions BOOST_CXX14_CONSTEXPR value_type as_number() const; BOOST_CXX14_CONSTEXPR weekday_enum as_enum() 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; };
greg_weekday
public member functionsBOOST_CXX14_CONSTEXPR value_type as_number() const;
BOOST_CXX14_CONSTEXPR weekday_enum as_enum() const;
const char * as_short_string() const;Return a 3 digit english string of the day of week (eg: Sun)
const char * as_long_string() const;Return a point to a long english string representing day of week.
const wchar_t * as_short_wstring() const;Return a 3 digit english wchar_t string of the day of week (eg: Sun)
const wchar_t * as_long_wstring() const;Return a point to a long english wchar_t string representing day of week.