DCL 4.0
|
#include <DateTime.h>
Public Member Functions | |
Interval () | |
Interval (const Interval &src) | |
Interval (int nDays, int nMilliSeconds) | |
Interval (int nDays, int nHours, int nMinutes, int nSeconds, int nMilliSeconds=0) | |
Interval (int64_t nTotalMilliSeconds) | |
void | assign (int nDays, int nMilliSeconds) |
void | assign (int nDays, int nHours, int nMinutes, int nSeconds, int nMilliSeconds=0) |
void | assign (int64_t nTotalMilliSeconds) |
const Interval & | operator= (const Interval &src) |
const Interval & | operator+= (const Interval &iv) |
const Interval & | operator-= (const Interval &iv) |
void | decode (long &nDays, int &nHours, int &nMinutes, int &nSeconds, int &nMilliSeconds) const |
void | decode (long &nDays, long &nMilliSeconds) |
long | days () const |
int | hour () const |
int | minute () const |
int | second () const |
int | msecond () const |
int64_t | totalHours () const |
int64_t | totalMinutes () const |
int64_t | totalSeconds () const |
int64_t | totalMilliSeconds () const |
String | toString () const |
Protected Attributes | |
int64_t | m_nMilliSeconds |
Definition at line 156 of file DateTime.h.
Interval::Interval | ( | ) |
Definition at line 536 of file DateTime.cpp.
Interval::Interval | ( | const Interval & | src | ) |
Definition at line 541 of file DateTime.cpp.
Interval::Interval | ( | int | nDays, |
int | nMilliSeconds ) |
Definition at line 546 of file DateTime.cpp.
Interval::Interval | ( | int | nDays, |
int | nHours, | ||
int | nMinutes, | ||
int | nSeconds, | ||
int | nMilliSeconds = 0 ) |
Definition at line 551 of file DateTime.cpp.
Interval::Interval | ( | int64_t | nTotalMilliSeconds | ) |
Definition at line 559 of file DateTime.cpp.
void Interval::assign | ( | int | nDays, |
int | nHours, | ||
int | nMinutes, | ||
int | nSeconds, | ||
int | nMilliSeconds = 0 ) |
Definition at line 569 of file DateTime.cpp.
void Interval::assign | ( | int | nDays, |
int | nMilliSeconds ) |
Definition at line 564 of file DateTime.cpp.
void Interval::assign | ( | int64_t | nTotalMilliSeconds | ) |
Definition at line 581 of file DateTime.cpp.
long Interval::days | ( | ) | const |
Definition at line 637 of file DateTime.cpp.
void Interval::decode | ( | long & | nDays, |
int & | nHours, | ||
int & | nMinutes, | ||
int & | nSeconds, | ||
int & | nMilliSeconds ) const |
Definition at line 619 of file DateTime.cpp.
void Interval::decode | ( | long & | nDays, |
long & | nMilliSeconds ) |
Definition at line 631 of file DateTime.cpp.
int Interval::hour | ( | ) | const |
Definition at line 642 of file DateTime.cpp.
int Interval::minute | ( | ) | const |
Definition at line 647 of file DateTime.cpp.
int Interval::msecond | ( | ) | const |
Definition at line 657 of file DateTime.cpp.
Definition at line 593 of file DateTime.cpp.
Definition at line 600 of file DateTime.cpp.
Definition at line 586 of file DateTime.cpp.
int Interval::second | ( | ) | const |
Definition at line 652 of file DateTime.cpp.
String Interval::toString | ( | ) | const |
Definition at line 677 of file DateTime.cpp.
int64_t Interval::totalHours | ( | ) | const |
Definition at line 662 of file DateTime.cpp.
|
inline |
Definition at line 116 of file DateTime.inl.
int64_t Interval::totalMinutes | ( | ) | const |
Definition at line 667 of file DateTime.cpp.
int64_t Interval::totalSeconds | ( | ) | const |
Definition at line 672 of file DateTime.cpp.
|
protected |
Definition at line 200 of file DateTime.h.