Collapse All

Anypia Programmer's Documentation |  |

RetireTest::earningsTestCal Method
RetireTest Class RetireTest Members RetireTest Methods Send Feedback

Returns how many months of person's benefit will be withheld according to the retirement test.

C++

    double earningsTestCal(
        const Age& age,
        double earnings,
        int year,
        double benefit
    ) const;

Parameters

Parameters | Description
const Age& age | The age at end of year.
double earnings | Earnings in year.
int year | Year being considered.
double benefit | Monthly benefit before reduction.

Returns

How many months of person's benefit will be withheld according to the retirement test.

Remarks

Some benies (i.e. disabled workers and disabled widow(er)s) are not affected by the retirement test and should not have this function called for them.

Group

RetireTest Methods

Links
RetireTest Class, RetireTest Members, RetireTest Methods

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