20namespace JPP {
using namespace JEEP; }
37 template<
char JSeparator_t>
80 std::istringstream in(date);
86 static JDate min() {
return JDate(std::numeric_limits<int>::lowest(), 1, 1); }
87 static JDate max() {
return JDate(std::numeric_limits<int>::max(), 12, 31); }
101 return this->
day < date.
day;
126 while (isspace(in.peek())) { in.ignore(); }
130 in >>
object.year >>
object.month >>
object.day;
149 <<
FILL(2,
'0') <<
object.day <<
FILL();
Auxiliary class to specify white space character(s) in currect locale.
General puprpose classes and methods.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for sequence of same character.
Auxiliary class for simple date.
static JDate max()
Maximal date.
JDate()
Default constructor.
friend std::istream & operator>>(std::istream &in, JDate &object)
Read date from input stream.
friend std::ostream & operator<<(std::ostream &out, const JDate &object)
Write date to output stream.
static const char SEPARATOR
Separation character.
JDate(const std::string &date)
Constructor.
static JDate min()
Minimal date.
JDate(const int year, const int month, const int day)
Constructor.
bool less(const JDate &date) const
Less-than method.
Template definition of auxiliary base class for comparison of data structures.