|
Jpp
|
Auxiliary class for simple date. More...
#include <JDate.hh>
Public Member Functions | |
| JDate () | |
| Default constructor. More... | |
| JDate (const int year, const int month, const int day) | |
| Constructor. More... | |
| JDate (const std::string &date) | |
| Constructor. More... | |
| bool | less (const JDate &date) const |
| Less-than method. More... | |
Static Public Member Functions | |
| static JDate | min () |
| Minimal date. More... | |
| static JDate | max () |
| Maximal date. More... | |
Public Attributes | |
| int | year |
| year More... | |
| int | month |
| month More... | |
| int | day |
| day More... | |
Static Public Attributes | |
| static const char | SEPARATOR = JSeparator_t |
| Separation character. More... | |
Friends | |
| std::istream & | operator>> (std::istream &in, JDate &object) |
| Read date from input stream. More... | |
| std::ostream & | operator<< (std::ostream &out, const JDate &object) |
| Write date to output stream. More... | |
Auxiliary class for simple date.
The corresponding ASCII format is yyyy<separator>mm<separator>dd. where the separator is defined by the template parameter.
Definition at line 30 of file Jeep/JDate.hh.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Minimal date.
Definition at line 78 of file Jeep/JDate.hh.
|
inlinestatic |
Maximal date.
Definition at line 79 of file Jeep/JDate.hh.
|
inline |
Less-than method.
| date | date |
Definition at line 88 of file Jeep/JDate.hh.
|
friend |
Read date from input stream.
| in | input stream |
| object | date |
Definition at line 111 of file Jeep/JDate.hh.
|
friend |
Write date to output stream.
| out | output stream |
| object | date |
Definition at line 145 of file Jeep/JDate.hh.
|
static |
Separation character.
Definition at line 36 of file Jeep/JDate.hh.
| int JEEP::JDate< JSeparator_t >::year |
year
Definition at line 153 of file Jeep/JDate.hh.
| int JEEP::JDate< JSeparator_t >::month |
month
Definition at line 154 of file Jeep/JDate.hh.
| int JEEP::JDate< JSeparator_t >::day |
day
Definition at line 155 of file Jeep/JDate.hh.
1.8.5