Represent a day of the month (range 1900 - 10000) More...
#include <greg_year.hpp>
Public Types | |
typedef value_policies::value_type | value_type |
Public Member Functions | |
greg_year (unsigned short year) | |
operator unsigned short () 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 of the month (range 1900 - 10000)
This small class allows for simple conversion an integer value into a year for the gregorian calendar. This currently only allows a range of 1900 to 10000. Both ends of the range are a bit arbitrary at the moment, but they are the limits of current testing of the library. As such they may be increased in the future.
|
inherited |
|
inline |
|
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.
|
inline |
|
inlineinherited |
Coerce into the representation type.
References boost::CV::constrained_value< value_policies >::value_.
|
protectedinherited |