The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time.
More...
#include <numbers.h>
List of all members.
Detailed Description
The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time.
This is then manipulated in several forms and may be exported as needed.
- Author:
- Marcelo Dalmas <mad@brasmap.com.br> Integer based time class.
Constructor & Destructor Documentation
ost::Datetime::Datetime |
( |
time_t |
tm |
) |
|
ost::Datetime::Datetime |
( |
tm * |
dt |
) |
|
ost::Datetime::Datetime |
( |
const char * |
str, |
|
|
size_t |
size = 0 | |
|
) |
| | |
ost::Datetime::Datetime |
( |
int |
year, |
|
|
unsigned |
month, |
|
|
unsigned |
day, |
|
|
int |
hour, |
|
|
int |
minute, |
|
|
int |
second | |
|
) |
| | |
ost::Datetime::Datetime |
( |
|
) |
|
virtual ost::Datetime::~Datetime |
( |
|
) |
[virtual] |
Member Function Documentation
char* ost::Datetime::getDatetime |
( |
char * |
buffer |
) |
const |
time_t ost::Datetime::getDatetime |
( |
void |
|
) |
const |
bool ost::Datetime::isValid |
( |
void |
|
) |
const |
bool ost::Datetime::operator! |
( |
|
) |
const |
int ost::Datetime::operator!= |
( |
const Datetime & |
|
) |
|
int ost::Datetime::operator< |
( |
const Datetime & |
|
) |
|
int ost::Datetime::operator<= |
( |
const Datetime & |
|
) |
|
int ost::Datetime::operator== |
( |
const Datetime & |
|
) |
|
int ost::Datetime::operator> |
( |
const Datetime & |
|
) |
|
int ost::Datetime::operator>= |
( |
const Datetime & |
|
) |
|
String ost::Datetime::strftime |
( |
const char * |
format |
) |
const |
The documentation for this class was generated from the following file: