summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_datetime.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/cfx_datetime.h')
-rw-r--r--core/fxcrt/cfx_datetime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fxcrt/cfx_datetime.h b/core/fxcrt/cfx_datetime.h
index 2de75c4e38..272c2496cc 100644
--- a/core/fxcrt/cfx_datetime.h
+++ b/core/fxcrt/cfx_datetime.h
@@ -79,6 +79,8 @@ class CFX_DateTime {
uint16_t GetMillisecond() const { return millisecond_; }
int32_t GetDayOfWeek() const;
+ bool operator==(const CFX_DateTime& other) const;
+
private:
int32_t year_;
uint8_t month_;