1 #ifndef __JEEP__JDATE__
2 #define __JEEP__JDATE__
21 namespace JPP {
using namespace JEEP; }
38 template<
char JSeparator_t>
81 std::istringstream
in(date);
87 static JDate min() {
return JDate(std::numeric_limits<int>::lowest(), 1, 1); }
88 static JDate max() {
return JDate(std::numeric_limits<int>::max(), 12, 31); }
102 return this->
day < date.
day;
127 while (isspace(in.peek())) { in.ignore(); }
129 const locale
loc = in.imbue(locale(in.getloc(),
new JWhiteSpacesFacet(in.getloc(),
JDate::SEPARATOR)));
131 in >>
object.year >>
object.month >>
object.day;
150 <<
FILL(2,
'0') <<
object.day <<
FILL();
static const char SEPARATOR
Separation character.
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 JDate min()
Minimal date.
I/O formatting auxiliaries.
JDate()
Default constructor.
static JDate max()
Maximal date.
Auxiliary class for simple date.
JDate(const int year, const int month, const int day)
Constructor.
Template definition of auxiliary base class for comparison of data structures.
Auxiliary data structure for sequence of same character.
JDate(const std::string &date)
Constructor.
then fatal The output file must have the wildcard in the e g root fi eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY JAcoustics sh $DETECTOR_ID source JAcousticsToolkit sh CHECK_EXIT_CODE typeset A EMITTERS get_tripods $WORKDIR tripod txt EMITTERS get_transmitters $WORKDIR transmitter txt EMITTERS for EMITTER in
bool less(const JDate &date) const
Less-than method.