ost::Datetime(3) | Library Functions Manual | ost::Datetime(3) |
NAME¶
ost::Datetime - The Datetime class uses a julian date representation of the current year, month, and day and a integer representation of the current time.SYNOPSIS¶
#include <numbers.h> Inherits ost::Date, and ost::Time.Public Member Functions¶
Datetime (time_t tm)
Additional Inherited 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.Marcelo Dalmas mad@brasmap.com.br Integer
based time class.
Constructor & Destructor Documentation¶
ost::Datetime::Datetime (time_ttm)¶
ost::Datetime::Datetime (tm *dt)¶
ost::Datetime::Datetime (const char *str, size_tsize = 0)¶
ost::Datetime::Datetime (intyear, unsignedmonth, unsignedday, inthour, intminute, intsecond)¶
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¶
Reimplemented from ost::Date.bool ost::Datetime::operator! () const¶
Reimplemented from ost::Date.int ost::Datetime::operator!= (const Datetime &)¶
Datetime& ost::Datetime::operator+= (const Datetime &datetime)¶
Datetime& ost::Datetime::operator+= (const Time &time)¶
Datetime& ost::Datetime::operator-= (const Datetime &datetime)¶
Datetime& ost::Datetime::operator-= (const Time &time)¶
int ost::Datetime::operator< (const Datetime &)¶
int ost::Datetime::operator<= (const Datetime &)¶
Datetime& ost::Datetime::operator= (const Datetimedatetime)¶
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¶
Author¶
Generated automatically by Doxygen for GNU CommonC++ from the source code.Sat Jun 23 2012 | GNU CommonC++ |