boost::gregorian::special_value_from_string — Return special_value from string argument.
// In header: <boost/date_time/gregorian/parsers.hpp> ( s);
Return special_value from string argument. If argument is not one of the special value names (defined in names.hpp), return 'not_special'