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

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

C++
static DateMoyr month_year_from_undelimited_us_string(
    const std::string& line
);
Parameters 
Description 
const std::string& line 
Line to parse. 

The month and year date parsed from the date string.

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