Collapse All

Anypia Programmer's Documentation |  |

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

Checks date of disability onset, using passed values.

C++

    static void disCheck(
        const boost::gregorian::date& onsetDatet,
        const boost::gregorian::date& deathDatet,
        int valdit,
        const boost::gregorian::date& birthDatet,
        ben_type ioasdi,
        const DateMoyr& entDatet,
        const DateMoyr& benDatet
    );

Parameters

Parameters | Description
const boost::gregorian::date& onsetDatet | The date of onset.
const boost::gregorian::date& deathDatet | The date of death.
int valdit | Number of periods of disability.
const boost::gregorian::date& birthDatet | The date of birth.
ben_type ioasdi | Type of benefit.
const DateMoyr& entDatet | The date of entitlement.
const DateMoyr& benDatet | The date of benefit.

Exceptions

Exceptions | Description
PiaException | PiaException of type PIA_IDS_ONSET5 if disability is before birth; of type PIA_IDS_ONSET6 if disability is after entitlement in a life case or after benefit date in a survivor case; of type PIA_IDS_ONSET7 if death of worker is before onset in a survivor case.

Group

disCheck Method

Links
WorkerDataGeneral Class, WorkerDataGeneral Members, disCheck Method

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