#include <DateTime.hpp>
Definition at line 34 of file DateTime.hpp.
jop::DateTime::DateTime |
( |
| ) |
|
const Date& jop::DateTime::getDate |
( |
| ) |
const |
Get the cached date value.
- Returns
- The cached date value
const Time& jop::DateTime::getTime |
( |
| ) |
const |
Get the cached time value.
- Returns
- The cached time value
bool jop::DateTime::operator!= |
( |
const DateTime & |
right | ) |
const |
Inequality operator.
- Parameters
-
right | The other DateTime to compare against |
- Returns
- True if the two date-times don't match
bool jop::DateTime::operator== |
( |
const DateTime & |
right | ) |
const |
Equality operator.
- Parameters
-
right | The other DateTime to compare against |
- Returns
- True if the two date-times match
DateTime& jop::DateTime::update |
( |
const bool |
date = true , |
|
|
const bool |
time = true |
|
) |
| |
Update the date and/or time with the current, real world date and time values.
- Parameters
-
date | Update date? |
time | Update time? |
- Returns
- Reference to self
The documentation for this class was generated from the following file: