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

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

C++
static void birth2Check(
    const boost::gregorian::date& datetemp
);
Parameters 
Description 
const boost::gregorian::date& datetemp 
The date to check. 
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_BIRTH5 if year of birth is after maximum allowed.  
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!