|
Anypia Programmer's Documentation
|
Calculates the disability insured status code for one year.
static DisInsCode::DisInsCodeType disInsCal( const WorkerDataGeneral& workerData, PiaData& piaData, const DateMoyr& dateMoyr, int iswasPrimary );
|
Parameters |
Description |
|
const WorkerDataGeneral& workerData |
Worker's basic data. |
|
PiaData& piaData |
Benefit calculation data. |
|
const DateMoyr& dateMoyr |
The date for which insured status code is required. |
|
int iswasPrimary |
Worker's primary beneficiary status. |
The disability insured status code.
Note that this is a static function.
The iswasPrimary argument has the following possible values:
|
0 |
never a primary beneficiary. |
|
1 |
is a primary beneficiary. |
|
2 |
is a deceased primary beneficiary. |
|
Copyright (c) 2010. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|