Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
PiaCal::insCal Method (boost::gregorian::date&, int)

Calculates the insured status code for one date.

C++
InsCode::InsCodeType insCal(
    const boost::gregorian::date& dateModyyr, 
    int isWasPrimary
);
Parameters 
Description 
const boost::gregorian::date& dateModyyr 
The date for which insured status code is required. 
int isWasPrimary 
Worker's primary beneficiary status. 

The insured status code for one date.

Requires adjusted date of birth, quarters of coverage filled in from 1937 to date, total quarters of coverage for 1937 to 1950, dates of disability onset and cessation. This version calls the static version with 5 arguments. 

The isWasPrimary argument has the following possible values:

never a primary beneficiary. 
is a primary beneficiary. 
is a deceased primary beneficiary. 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!