Represent a day within a week (range 0==Sun to 6==Sat) More...
#include <greg_weekday.hpp>
Public Types | |
typedef boost::date_time::weekdays | weekday_enum |
typedef value_policies::value_type | value_type |
Public Member Functions | |
greg_weekday (unsigned short day_of_week_num) | |
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 |
operator value_type () const | |
Coerce into the representation type. More... | |
Static Public Member Functions | |
static value_type max | BOOST_PREVENT_MACRO_SUBSTITUTION () |
Return the max allowed value (traits method) More... | |
static value_type min | BOOST_PREVENT_MACRO_SUBSTITUTION () |
Return the min allowed value (traits method) More... | |
Protected Attributes | |
value_type | value_ |
Represent a day within a week (range 0==Sun to 6==Sat)
|
inherited |
|
inline |
|
inline |
const char* boost::gregorian::greg_weekday::as_long_string | ( | ) | const |
const wchar_t* boost::gregorian::greg_weekday::as_long_wstring | ( | ) | const |
|
inline |
Referenced by boost::serialization::save().
const char* boost::gregorian::greg_weekday::as_short_string | ( | ) | const |
const wchar_t* boost::gregorian::greg_weekday::as_short_wstring | ( | ) | const |
|
inlinestaticinherited |
Return the max allowed value (traits method)
References boost::accumulators::extract::max.
|
inlinestaticinherited |
Return the min allowed value (traits method)
References boost::accumulators::extract::min.
|
inlineinherited |
Coerce into the representation type.
References boost::CV::constrained_value< value_policies >::value_.
|
protectedinherited |