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.
bool less(const JDate &date) const
Less-than method.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable INPUT_FILE $argv[2] eval JPrintDetector a $DETECTOR O IDENTIFIER eval JPrintDetector a $DETECTOR O SUMMARY source JAcoustics sh $DETECTOR_ID CHECK_EXIT_CODE typeset A TRIPODS get_tripods $WORKDIR tripod txt TRIPODS for EMITTER in