libtime++: Date and time calculation

◆ Ainit_from_value()

void Ainit_from_value ( const long int &  year,
const long int &  month,
const long int &  day,
const long int &  hour = 0,
const long int &  minute = 0,
const long int &  second = 0,
const long int &  milsec = 0,
const long int &  micsec = 0 
)

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

References libtime::TAbsoluteTime::timestring().

Referenced by main().

63 {
64  libtime::TAbsoluteTime Instance(year,month,day,hour,minute,
65  second,milsec,micsec);
66  std::cout << Instance.timestring()
67  << " initialized from values: "
68  << year << " " << month << " " << day << " "
69  << hour << " " << minute << " " << second << " "
70  << milsec << " " << micsec << endl;
71 }
class to contain absolute times
Definition: libtime++.h:149
Here is the call graph for this function:
Here is the caller graph for this function: