Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
PiaMethod::specMinYearsCal Method (double, DoubleAnnual&, int, DoubleAnnual&)

Calculates number of years of coverage, using passed argument for amounts required for coverage.

C++
static int specMinYearsCal(
    double pre1951, 
    const DoubleAnnual& earnings, 
    int year, 
    const DoubleAnnual& yocAmount
);
Parameters 
Description 
double pre1951 
Pre-1951 earnings. 
const DoubleAnnual& earnings 
Annual earnings, starting in 1951. 
int year 
Last year of earnings considered. 
const DoubleAnnual& yocAmount 
Amount required for year of coverage. 

Number of years of coverage.

This version does not save indicators for years used.

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