Logo Search packages:      
Sourcecode: pwlib version File versions

PINLINE PTimeInterval::PTimeInterval ( PInt64  millisecs = 0  ) 

Create a new time interval object. The time interval, in milliseconds, is the sum of all of the parameters. For example all of the following are equivalent: {verbatim} PTimeInterval(120000) PTimeInterval(60000, 60) PTimeInterval(60000, 0, 1) PTimeInterval(0, 60, 1) PTimeInterval(0, 0, 2) {verbatim}

Parameters:
millisecs  Number of milliseconds for interval.

Definition at line 330 of file osutil.inl.

Referenced by Clone(), operator*(), operator+(), operator-(), and operator/().

  : milliseconds(millisecs) { }


Generated by  Doxygen 1.6.0   Back to index