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

Checks first month of waiting period, using passed values.

C++
static void waitpdCheck(
    const DateMoyr& waitperDatet, 
    const boost::gregorian::date& onsetDatet, 
    const DateMoyr& entDatet
);
Parameters 
Description 
const DateMoyr& waitperDatet 
First month of waiting period. 
const boost::gregorian::date& onsetDatet 
The date of onset. 
const DateMoyr& entDatet 
The date of entitlement. 
Exceptions 
Description 
PiaException of type PIA_IDS_WAITPD1 if first month of waiting period is out of range; of type PIA_IDS_WAITPD2 if year of first month of waiting period is before 1940; of type PIA_IDS_WAITPD3 if year of first month of waiting period is after maximum allowed; of type PIA_IDS_WAITPD4 if waiting period starts before onset; of type PIA_IDS_WAITPD5 if entitlement is before waiting period. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!