Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
WorkerDataGeneral::birth1Check Method (boost::gregorian::date&, int)

Checks date of birth in a Statement case, using passed values.

C++
static void birth1Check(
    const boost::gregorian::date& datetemp, 
    int istartt
);
Parameters 
Description 
const boost::gregorian::date& datetemp 
The date to check. 
int istartt 
Starting year of projections. 
Exceptions 
Description 
PiaException of type PIA_IDS_BIRTH3 if month of birth is out of range; of type PIA_IDS_BIRTH4 if day of birth is out of range; of type PIA_IDS_BIRTH2 if year of birth is before 1800; of type PIA_IDS_BIRTH1 if year of birth is in current year or later. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!