Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
WorkerDataGeneral::pubpenDateCheck Method

Checks public pension entitlement date.

C++
static void pubpenDateCheck(
    const DateMoyr& pubpenDatet, 
    const boost::gregorian::date& birthDatet, 
    const boost::gregorian::date& deathDatet
);
Parameters 
Description 
const DateMoyr& pubpenDatet 
Pension to check. 
const boost::gregorian::date& birthDatet 
Birth date. 
const boost::gregorian::date& deathDatet 
Death date (could be not_a_date). 
Exceptions 
Description 
PiaException of type PIA_IDS_NONPENDATE1 or PIA_IDS_NONPENDATE2 if public pension entitlement date is out of range (before date of birth or after date of death). 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!