Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
DisabPeriod::onsetDateCheck Method

Checks a date of disability onset.

C++
static void onsetDateCheck(
    const boost::gregorian::date& dateModyyr
);
Parameters 
Description 
const boost::gregorian::date& dateModyyr 
The date to check. 
Exceptions 
Description 
PiaException of type PIA_IDS_ONSET1 if month of onset is out of range; of type PIA_IDS_ONSET2 if day of onset is out of range; of type PIA_IDS_ONSET3 if year of onset is before 1937; of type PIA_IDS_ONSET4 if year of onset is after maximum allowed. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!