23 #ifndef __ccxx_DateTime_hxx 24 #define __ccxx_DateTime_hxx 85 {
return(!
operator==(other)); }
88 {
return(!
operator<=(other)); }
91 {
return(!
operator<(other)); }
119 static bool isDSTActive();
122 static int getGMTOffset();
125 static String getTimeZone();
132 return TimeSpan(t1 >= t2 ? t1 - t2 : t2 - t1);
151 #endif // __ccxx_DateTime_hxx const TimeSpan operator-(const TimeSpan &s1, const TimeSpan &s2)
Definition: TimeSpan.c++:386
A span of time (a delta), represented in milliseconds.
Definition: TimeSpan.h++:36
A representation of a calendar date.
Definition: Date.h++:35
void setDate(uint_t day, uint_t month, uint_t year)
Set the day, month, and year components of the date.
Definition: Date.c++:132
int64_t time_ms_t
A time expressed in milliseconds since the epoch (00:00:00, UTC, January 1, 1970).
Definition: Integers.h++:98
const TimeSpan operator+(const TimeSpan &s1, const TimeSpan &s2)
Definition: TimeSpan.c++:362
bool operator<=(const Blob &b1, const Blob &b2)
Definition: Blob.h++:356
bool operator==(const Blob &b1, const Blob &b2)
Definition: Blob.h++:344
int32_t time_s_t
A time expressed in seconds since the epoch (00:00:00, UTC, January 1, 1970).
Definition: Integers.h++:85
unsigned int uint_t
An alias for unsigned int.
Definition: Integers.h++:74
void setDate(uint_t day, uint_t month, uint_t year)
Set the day, month, and year components of the date.
Definition: DateTime.h++:103
bool operator>(const DateTime &other) const
Definition: DateTime.h++:87
bool operator>=(const DateTime &other) const
Definition: DateTime.h++:90
A representation of a clock time.
Definition: Time.h++:37
bool operator!=(const DateTime &other) const
Definition: DateTime.h++:84
#define COMMONCPP_API
Definition: Common.h++:126
void setTime(uint_t hour, uint_t minute, uint_t second=0, uint_t msec=0)
Set the hour, minute, second, and millisecond components of the time.
Definition: Time.c++:122
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
bool operator<(const Blob &b1, const Blob &b2)
Definition: Blob.h++:350
void setTime(uint_t hour, uint_t minute, uint_t second=0, uint_t msec=0)
Set the hour, minute, second, and millisecond components of the time.
Definition: DateTime.h++:98
A representation of a calendar date and clock time.
Definition: DateTime.h++:38
Definition: AllocationMap.c++:25