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

Checks date of disability onset against dates of birth, entitlement, and benefit.

C++
static void disBirthEntCheck(
    const boost::gregorian::date& onsetDatet, 
    const boost::gregorian::date& birthDatet, 
    ben_type ioasdi, 
    const DateMoyr& entDatet, 
    const DateMoyr& benDatet
);
Parameters 
Description 
const boost::gregorian::date& onsetDatet 
The date of onset. 
const boost::gregorian::date& birthDatet 
The date of birth. 
ben_type ioasdi 
Type of benefit. 
const DateMoyr& entDatet 
The date of entitlement. 
const DateMoyr& benDatet 
The date of benefit. 
Exceptions 
Description 
PiaException of type PIA_IDS_ONSET5 if disability is before birth. PiaException of type PIA_IDS_ONSET6 if disability is after entitlement. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!