diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-06-05 09:53:06 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-05 14:11:19 +0000 |
commit | 6c5ea100a7d2531576037b17d5631dde42846b84 (patch) | |
tree | 70a5d02ef15a4354448be93926d79b5437c1b84c /core/fxcrt/cfx_datetime.h | |
parent | 7211eac14643bbbaf41bfc205c244668f46be440 (diff) | |
download | pdfium-6c5ea100a7d2531576037b17d5631dde42846b84.tar.xz |
Add start of CFGAS_FormatString tests
This CL adds tests for the date parsing and formatting code in
CFGAS_FormatString.
Change-Id: I9989cdd1b3f92c90d46ee2c3f7838fe1de255be2
Reviewed-on: https://pdfium-review.googlesource.com/6178
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'core/fxcrt/cfx_datetime.h')
-rw-r--r-- | core/fxcrt/cfx_datetime.h | 2 |
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_; |