libtime++: Date and time calculation

◆ init_from_seconds()

void init_from_seconds ( const double &  seconds)

Definition at line 87 of file testtime++.cc.

References libtime::double2time(), and libtime::TBaseClassTime::timestring().

Referenced by main().

88 {
90  std::cout << value.timestring()
91  << " initialized from "
92  << seconds
93  << " seconds"
94  << endl;
95 }
TRelativeTime double2time(const double &seconds)
convert seconds to relative time
Definition: convert.cc:42
class to contain relative times
Definition: libtime++.h:201
Here is the call graph for this function:
Here is the caller graph for this function: