Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
DateFormatter::date_from_undelimited_us_string Method

Parses a date from an undelimited date string where the order is month (2 digits), day (2 digits), and year (4 digits).

C++
static boost::gregorian::date date_from_undelimited_us_string(
    const std::string& line
);
Parameters 
Description 
const std::string& line 
Line to parse. 

The date parsed from the date string.

Exceptions 
Description 
PiaException of type PIA_IDS_DATEDAY if bad day; of type PIA_IDS_DATEMONTH if bad month; of type PIA_IDS_DATEYEAR if bad year; of type PIA_IDS_READERR if fewer than 8 characters. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!