Date and time.
More...
#include <JDate_t.hh>
|
template<class JHead_t , class JTail_t > |
static bool | lt (const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JTail_t > > &type) |
| Less than method for composite data types. More...
|
|
template<class JHead_t > |
static bool | lt (const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JNullType > > &type) |
| Less than method for composite data types. More...
|
|
Date and time.
Definition at line 31 of file JDate_t.hh.
◆ JDateAndTime_t()
JDATABASE::JDateAndTime_t::JDateAndTime_t |
( |
| ) |
|
|
inline |
Default constructor;.
Definition at line 45 of file JDate_t.hh.
◆ min() [1/2]
template<char JSeparator_t>
Minimal date.
Definition at line 87 of file JDate.hh.
◆ max() [1/2]
template<char JSeparator_t>
Maximal date.
Definition at line 88 of file JDate.hh.
◆ less() [1/2]
template<char JSeparator_t>
bool JEEP::JDate< JSeparator_t >::less |
( |
const JDate< JSeparator_t > & |
date | ) |
const |
|
inlineinherited |
Less-than method.
- Parameters
-
- Returns
- true if this date earlier than given date; else false
Definition at line 97 of file JDate.hh.
102 return this->
day < date.
day;
◆ min() [2/2]
template<char JSeparator_t>
◆ max() [2/2]
template<char JSeparator_t>
◆ less() [2/2]
template<char JSeparator_t>
bool JEEP::JTime< JSeparator_t >::less |
( |
const JTime< JSeparator_t > & |
time | ) |
const |
|
inlineinherited |
Less-than method.
- Parameters
-
- Returns
- true if this time earlier than given time; else false
Definition at line 97 of file Jeep/JTime.hh.
◆ lt() [1/2]
template<class JClass_t , class JTypelist_t >
template<class JHead_t , class JTail_t >
|
inlinestaticprotectedinherited |
Less than method for composite data types.
- Parameters
-
first | first object |
second | second object |
type | type |
- Returns
- true if first object is less than second object; else false
Definition at line 43 of file JMultiComparable.hh.
47 if (
static_cast<const JHead_t&
>(first) <
48 static_cast<const JHead_t&
>(second))
50 else if (
static_cast<const JHead_t&
>(second) <
51 static_cast<const JHead_t&
>(first))
static bool lt(const JClass_t &first, const JClass_t &second, const JType< JTypeList< JHead_t, JTail_t > > &type)
Less than method for composite data types.
Auxiliary class for a type holder.
◆ lt() [2/2]
template<class JClass_t , class JTypelist_t >
template<class JHead_t >
|
inlinestaticprotectedinherited |
Less than method for composite data types.
- Parameters
-
first | first object |
second | second object |
type | type |
- Returns
- true if first object is less than second object; else false
Definition at line 67 of file JMultiComparable.hh.
71 return (
static_cast<const JHead_t&
>(first) <
72 static_cast<const JHead_t&
>(second));
◆ operator>>
std::istream& operator>> |
( |
std::istream & |
in, |
|
|
JDateAndTime_t & |
object |
|
) |
| |
|
friend |
Read date and time from input stream.
- Parameters
-
in | input stream |
object | date and time |
- Returns
- input stream
Definition at line 56 of file JDate_t.hh.
58 in >>
static_cast<JDate_t&
>(object);
61 in >>
static_cast<JTime_t&
>(object);
static const char SEPARATOR
Separation character.
Auxiliary class for simple date.
Auxiliary class for simple time.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const JDateAndTime_t & |
object |
|
) |
| |
|
friend |
Write date and time to output stream.
- Parameters
-
out | output stream |
object | date and time |
- Returns
- output stream
Definition at line 75 of file JDate_t.hh.
77 out << static_cast<const JDate_t&>(
object);
79 out << static_cast<const JTime_t&>(
object);
◆ SEPARATOR
const char JDATABASE::JDateAndTime_t::SEPARATOR = '-' |
|
static |
Separation character.
Definition at line 39 of file JDate_t.hh.
◆ year
template<char JSeparator_t>
◆ month
template<char JSeparator_t>
◆ day
template<char JSeparator_t>
◆ hour
template<char JSeparator_t>
◆ minute
template<char JSeparator_t>
◆ second
template<char JSeparator_t>
The documentation for this struct was generated from the following file: