|
Anypia Programmer's Documentation
|
Returns how many months of person's benefit will be withheld according to the retirement test.
double earningsTestCal( const Age& age, double earnings, int year, double benefit ) const;
|
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. |
How many months of person's benefit will be withheld according to the retirement test.
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.
|
Copyright (c) 2010. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|