Jpp 19.3.0-rc.3
the software that should make you happy
|
Auxiliary class for simple date. More...
#include <JDate.hh>
Public Member Functions | |
JDate () | |
Default constructor. | |
JDate (const int year, const int month, const int day) | |
Constructor. | |
JDate (const std::string &date) | |
Constructor. | |
bool | less (const JDate &date) const |
Less-than method. | |
Static Public Member Functions | |
static JDate | min () |
Minimal date. | |
static JDate | max () |
Maximal date. | |
Public Attributes | |
int | year |
year | |
int | month |
month | |
int | day |
day | |
Static Public Attributes | |
static const char | SEPARATOR = JSeparator_t |
Separation character. | |
Friends | |
std::istream & | operator>> (std::istream &in, JDate &object) |
Read date from input stream. | |
std::ostream & | operator<< (std::ostream &out, const JDate &object) |
Write date to output stream. | |
Auxiliary class for simple date.
The corresponding ASCII format is yyyy<separator>mm<separator>dd
,
where yyyy
corresponds to the year, mm
to the month and dd
to the day.
The separator is defined by the template parameter.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
Less-than method.
date | date |
|
friend |
Read date from input stream.
in | input stream |
object | date |
Definition at line 119 of file JDate.hh.
|
friend |
|
static |
int JEEP::JDate< JSeparator_t >::year |
int JEEP::JDate< JSeparator_t >::month |
int JEEP::JDate< JSeparator_t >::day |