DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
No more ctime(S) errors - Time(C++)

Duration constants

There is a single Duration constant. It is returned by a static function Duration::MAX(). Its value is the magnitude of the largest Duration that can be represented on your machine. To see what value the constant has on your machine, for example, you could write:

       #include <Time.h>
       #include <iostream.h>
       main(){
           cout << Duration::MAX() << endl;
       }

Next topic: Constructors
Previous topic: Duration

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005