libtime++: Date and time calculation

◆ example5()

void example5 ( )

Definition at line 221 of file example++.cc.

Referenced by main().

222 {
223  libtime::TAbsoluteTime exampletime;
224 
225  cout << "\n"
226  << "Example 5: What is a spurious year value?\n"
227  << "----------\n"
228  << "\n";
229 
230  cout << " If you set an absolute time to a year for which I do not\n"
231  << " expect any digital seismological data to be available, I\n"
232  << " will regard this as a spurious year value. However any\n"
233  << " calculations with such values will lead to the expected\n"
234  << " results apart from the annoying warning message.\n";
235 
236  cout << "\n"
237  << " I do not expect digital data for years before 1970:\n";
238 
239  exampletime="1972/1/1";
240  exampletime="1971/1/1";
241  exampletime="1970/1/1";
242  exampletime="1969/1/1";
243  exampletime="1968/1/1";
244 
245 }
class to contain absolute times
Definition: libtime++.h:149
Here is the caller graph for this function: