Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
WorkerDataGeneral::setBenefitDate Method (DateMoyr&)

Sets date of benefit to the specified value.

C++
void setBenefitDate(
    const DateMoyr& newBenefitDate
);
Parameters 
Description 
const DateMoyr& newBenefitDate 
The date to use. 

The specified date is used to set the date of benefit, if the recalculation indicator has been set or this is a survivor benefit. Otherwise, the benefit date is set to the date of initial entitlement, by calling the version of this function with no arguments.

Exceptions 
Description 
PiaException of type PIA_IDS_BENDATE2 if month is out of range. PiaException of type PIA_IDS_BENDATE3 if year is before 1940. PiaException of type PIA_IDS_BENDATE4 if year is after maximum allowed. All are in debug mode only. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!