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

Checks that date of death is after birth, using passed values.

C++
static void deathCheck(
    const boost::gregorian::date& deathDatet, 
    const boost::gregorian::date& birthDatet
);
Parameters 
Description 
const boost::gregorian::date& deathDatet 
The date of death. 
const boost::gregorian::date& birthDatet 
The date of birth. 
Exceptions 
Description 
PiaException of type PIA_IDS_DEATH5 if death of worker is before birth.  
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!