| Home | Libraries | People | FAQ | More

## Struct bad_day_of_month

boost::gregorian::bad_day_of_month — Exception type for gregorian day of month (1..31)

## Synopsis

    // In header: <boost/date_time/gregorian/greg_day.hpp>

    struct bad_day_of_month : public std::out_of_range {

      // public member functions
      bad_day_of_month();
      bad_day_of_month(const std::string &);
    };

## Description

### `bad_day_of_month` public member functions

1.     bad_day_of_month();

2.     bad_day_of_month(const std::string & s);

   Allow other classes to throw with unique string for bad day like Feb 29.