Public Member Functions | |
TimeDifference () | |
Create a zero time difference. | |
TimeDifference (const SYSTEMTIME &now, const SYSTEMTIME &base) | |
Take the time portion of now from the time portion of base and store as our difference. | |
void | Apply (SYSTEMTIME &time) const |
Add our difference to the supplied SYSTEMTIME. | |
__int64 | GetDifference () const |
Returns our difference. |
TimeDifference | ( | ) |
Create a zero time difference.
TimeDifference | ( | const SYSTEMTIME & | now, | |
const SYSTEMTIME & | base | |||
) |
Take the time portion of now from the time portion of base and store as our difference.
void Apply | ( | SYSTEMTIME & | time | ) | const |
Add our difference to the supplied SYSTEMTIME.
__int64 GetDifference | ( | ) | const |
Returns our difference.