Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
QtrYear::diff Method

Calculates difference of two quarter-year periods as an integer number of quarters.

C++
static int diff(
    const QtrYear& qtrYear1, 
    const QtrYear& qtrYear2
);
Parameters 
Description 
const QtrYear& qtrYear1 
First period. 
const QtrYear& qtrYear2 
Second period. 

Difference as an integer number of quarters. Result is negative if second period is before first period.

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