Collapse All

Anypia Programmer's Documentation |  |

DateMoyr::- Operator
DateMoyr Class DateMoyr Members DateMoyr Operators Send Feedback

Calculates an Age by subtracting argument date from this one.

C++

    Age operator -(
        const DateMoyr& dateMoyr
    ) const;

Parameters

Parameters | Description
const DateMoyr& dateMoyr | The date to subtract from this instance.

Returns

The calculated Age.

Remarks

This would typically be used when this instance is the date of entitlement to a benefit and the argument is the date of birth.

Exceptions

Exceptions | Description
PiaException | PiaException if argument is greater than this instance.

Group

DateMoyr Operators

Links
DateMoyr Class, DateMoyr Members, DateMoyr Operators

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