20namespace JPP {
using namespace JEEP; }
37 template<
char JSeparator_t>
80 std::istringstream in(time);
86 static JTime min() {
return JTime(std::numeric_limits<int>::lowest(), 1, 1); }
87 static JTime max() {
return JTime(std::numeric_limits<int>::max(), 12, 31); }
126 while (isspace(in.peek())) { in.ignore(); }
130 in >>
object.hour >>
object.minute >>
object.second;
149 <<
FILL(2,
'0') <<
object.second <<
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 time.
bool less(const JTime &time) const
Less-than method.
static const char SEPARATOR
Separation character.
JTime(const int hour, const int minute, const int second)
Constructor.
JTime(const std::string &time)
Constructor.
friend std::istream & operator>>(std::istream &in, JTime &object)
Read time from input stream.
JTime()
Default constructor.
static JTime max()
Maximal time.
static JTime min()
Minimal time.
friend std::ostream & operator<<(std::ostream &out, const JTime &object)
Write time to output stream.
Template definition of auxiliary base class for comparison of data structures.