|
PLearn 0.1
|
#include "PDate.h"#include <algorithm>#include "stringutils.h"#include <plearn/base/tostring.h>#include <plearn/math/pl_math.h>
Go to the source code of this file.
Namespaces | |
| namespace | PLearn |
< for swap | |
Functions | |
| PStream & | PLearn::operator<< (PStream &out, const PDate &date) |
| Serialization to PStream. | |
| PStream & | PLearn::operator>> (PStream &in, PDate &date) |
| De-serialization from PStream. | |
| float | PLearn::date_to_float (const PDate &t) |
| Converts date to float: ex: September 29 1972: 720929; December 25 2002: 1021225 Also converts missing date to missing float value and vice-versa. | |
| PDate | PLearn::float_to_date (float f) |
| double | PLearn::date_to_double (const PDate &t) |
| Converts date to double: ex: September 29 1972: 720929; December 25 2002: 20021225 Also converts missing date to missing double value and vice-versa. | |
| PDate | PLearn::double_to_date (double d) |
1.7.4