Function CSPTime::operator +()

Description:
It adds a number of seconds to this object's time, and returns a resulting time object.

Prototype:
CSPTime operator +(long lSeconds) const;

Arguments:
  • long lSeconds [IN]
    The number of seconds to add.



Return value:
It returns an object containing the resulting time.

Examples:
CSPTime tNextHour = CSPTime::GetCurTime() + 3600;

See also:
member functions operator = (), operator += (), operator -= (), operator - ( long lSeconds ), operator - ( const CSPTime& ),
operator ++ (), operator -- ()
CSPTime | Basic classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd