|
| Timestamp (NanoSeconds _ns) |
|
bool | isValid () const |
|
cres_qresult< QDateTime > | toQDateTime () const |
|
cres_qresult< QString > | toRdfLiteral () const |
|
template<typename _unit_ > |
cres_qresult< _unit_ > | toLocal () const |
|
template<typename _unit_ > |
_unit_ | toEpoch () const |
|
bool | operator< (const Timestamp &_rhs) const |
|
bool | operator<= (const Timestamp &_rhs) const |
|
bool | operator== (const Timestamp &_rhs) const |
|
bool | operator!= (const Timestamp &_rhs) const |
|
bool | operator> (const Timestamp &_rhs) const |
|
bool | operator>= (const Timestamp &_rhs) const |
|
Timestamp | operator+ (const Timestamp &_rhs) const |
|
Timestamp & | operator+= (const Timestamp &_rhs) |
|
Timestamp | operator- (const Timestamp &_rhs) const |
|
Timestamp | operator* (const knowCore::BigNumber &_rhs) const |
|
template<typename _unit_ > |
Timestamp | add (_unit_ _unit) const |
|
template<typename _unit_ > |
_unit_ | intervalTo (const Timestamp &_time) const |
|
◆ endOfTime()
The end of time, aka infinite.
◆ fromEpoch()
Create a datetime from a quantity number. It will fails if _quantity
is not expressed in a multiple of seconds.
◆ intervalTo()
template<typename _unit_ >
_unit_ knowCore::Timestamp::intervalTo |
( |
const Timestamp & | _time | ) |
const |
Compute the interval of time between the current time and one given in arguments _time
.
◆ originOfTime()
The origin of time, aka -infinite.
◆ toEpoch()
template<typename _unit_ >
_unit_ knowCore::Timestamp::toEpoch |
( |
| ) |
const |
|
inline |
- Returns
- the time stamp in
_unit_
, which can be QuantityNumber or NanoSeconds or MilliSeconds...
The documentation for this class was generated from the following files:
- knowl/src/knowCore/Timestamp.h
- knowl/src/knowCore/Timestamp.cpp