Collapse All

Anypia Programmer's Documentation |  |

WorkerDataGeneral::priorentCheck Method (DateMoyr&, boost::gregorian::date&, DateMoyr&, ben_type)
WorkerDataGeneral Class WorkerDataGeneral Members priorentCheck Method Send Feedback

Checks date of prior entitlement to disability, using passed values.

C++

    static void priorentCheck(
        const DateMoyr& priorentDatet,
        const boost::gregorian::date& onsetDatet,
        const DateMoyr& entDatet,
        ben_type ioasdit
    );

Parameters

Parameters | Description
const DateMoyr& priorentDatet | The date of prior entitlement.
const boost::gregorian::date& onsetDatet | The date of current disability onset.
const DateMoyr& entDatet | The date of current entitlement.
ben_type ioasdit | The type of benefit.

Exceptions

Exceptions | Description
PiaException | PiaException of type PIA_IDS_PRRENT1 if month of prior entitlement is out of range; of type PIA_IDS_PRRENT2 if year of prior entitlement is before 1940; of type PIA_IDS_PRRENT3 if year of prior entitlement is after maximum allowed; of type PIA_IDS_PRRENT4 if prior entitlement is not before current entitlement in an old-age case (prior entitlement should equal current entitlement in a disability case, and there is no date of entitlement for the worker in a survivor case); of type PIA_IDS_PRRENT5 if prior entitlement to disability is before disability onset.

Group

priorentCheck Method

Links
WorkerDataGeneral Class, WorkerDataGeneral Members, priorentCheck Method

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