Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
EarnProject::project Method

Projects OASDI-covered earnings for the specified worker.

C++
bool project(
    WorkerDataGeneral& workerData, 
    const Awinc& fqinc
) const;
Parameters 
Description 
WorkerDataGeneral& workerData 
Worker basic data. 
const Awinc& fqinc 
Average wage increases. 

True if any earnings go over the maximum allowed, false otherwise.

First sets all the earnings in the WorkerDataGeneral for the period within the non-projected period. Then projects backwards, if the trigger is not earn_proj_type::NO_PROJ. The projection goes backwards from the beginning of the non-projected period, using annual factors that depend on the type of projection. Then projects forwards, in a similar fashion.

Exceptions 
Description 
PiaException of type PIA_IDS_EARNPROJ if projection year is out of range (only in debug mode). 
Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!