Collapse All

Anypia Programmer's Documentation |  |

PiaCal::fins1Cal Method
PiaCal Class PiaCal Members PiaCal Methods Send Feedback

Calculates and returns the insured status code for one date.

C++

    static InsCode::InsCodeType fins1Cal(
        const WorkerDataGeneral& workerData,
        PiaData& piaData,
        const QtrYear& qtrYear,
        int iswasPrimary
    );

Parameters

Parameters | Description
const WorkerDataGeneral& workerData | Worker's basic data.
PiaData& piaData | Benefit calculation data.
const QtrYear& qtrYear | Quarter and year of desired insured status.
int iswasPrimary | Worker's primary beneficiary status.

Returns

The insured status code for one date.

Remarks

Requires that total and required quarters of coverage have been calculated, and that worker is alive. 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.

Group

PiaCal Methods

Links
PiaCal Class, PiaCal Members, PiaCal Methods

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