Collapse All

Anypia Programmer's Documentation |  |

WorkerDataGeneral::setBenefitDate Method (DateMoyr&)
WorkerDataGeneral Class WorkerDataGeneral Members setBenefitDate Method Send Feedback

Sets date of benefit to the specified value.

C++

    void setBenefitDate(
        const DateMoyr& newBenefitDate
    );

Parameters

Parameters | Description
const DateMoyr& newBenefitDate | The date to use.

Remarks

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

Exceptions | Description
PiaException | 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.

Group

setBenefitDate Method

Links
WorkerDataGeneral Class, WorkerDataGeneral Members, setBenefitDate Method

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!