Collapse All

Anypia Programmer's Documentation |  |

EarnProject::yearsCheck Method (int, int)
EarnProject Class EarnProject Members yearsCheck Method Send Feedback

Checks for first and last year of earnings within bounds.

C++

    void yearsCheck(
        int ibegint,
        int iendt
    ) const;

Parameters

Parameters | Description
int ibegint | First year of earnings in backward projection period.
int iendt | Last year of earnings in forward projection period.

Remarks

Calls the static version with 4 arguments, adding firstYear and lastYear as arguments.

Exceptions

Exceptions | Description
PiaException | PiaException of type PIA_IDS_END1 if first year of earnings in forward projection period is before last year of earnings in backward projection period; of type PIA_IDS_END3 if first year of earnings in forward projection period is after last year of earnings in forward projection period; of type PIA_IDS_END4 if the total number of years of earnings is greater than the maximum allowed (MAXYRS); of type PIA_IDS_END1 if last year of earnings is before 1937; of type PIA_IDS_END2 if last year of earnings is after maximum year allowed.

Group

yearsCheck Method

Links
EarnProject Class, EarnProject Members, yearsCheck Method

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