|
PLearn 0.1
|
#include <iostream>#include <string>

Go to the source code of this file.
Classes | |
| class | PLearn::PDateTime |
Namespaces | |
| namespace | PLearn |
< for swap | |
Defines | |
| #define | SECONDS_PER_DAY 86400 |
Functions | |
| double | PLearn::operator- (const PDateTime &to_date, const PDateTime &from_date) |
| subtract two dates, the result being counted in days (+ fractions) | |
| ostream & | PLearn::operator<< (ostream &os, const PDateTime &date) |
| double | PLearn::datetime_to_double (const PDateTime &t) |
| converts date/time to double: for example: September 29 1972: 720929; December 25 2002: 1021225. | |
| PDateTime | PLearn::double_to_datetime (double f) |
| double | PLearn::hhmmss_to_double (int hh, int mm, int ss) |
| converts an hours/minutes/seconds to a day fraction | |
| void | PLearn::double_to_hhmmss (double fraction, int &hh, int &mm, int &ss) |
| convert a day fraction (< 1) to hours/minutes/seconds | |
| int | PLearn::delta_seconds (const PDateTime ¤t, const PDateTime &past) |
| Return the number of seconds between the two dates. | |
Definition in file PDateTime.h.
| #define SECONDS_PER_DAY 86400 |
Definition at line 51 of file PDateTime.h.
Referenced by PLearn::delta_seconds().
1.7.4