OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef FPDFSDK_INCLUDE_CPDFSDK_DATETIME_H_ | 7 #ifndef FPDFSDK_CPDFSDK_DATETIME_H_ |
8 #define FPDFSDK_INCLUDE_CPDFSDK_DATETIME_H_ | 8 #define FPDFSDK_CPDFSDK_DATETIME_H_ |
9 | 9 |
10 #if _FX_OS_ == _FX_ANDROID_ | 10 #if _FX_OS_ == _FX_ANDROID_ |
11 #include "time.h" | 11 #include "time.h" |
12 #else | 12 #else |
13 #include <ctime> | 13 #include <ctime> |
14 #endif | 14 #endif |
15 | 15 |
16 #include "fpdfsdk/cfx_systemhandler.h" | 16 #include "fpdfsdk/cfx_systemhandler.h" |
17 | 17 |
18 class CPDFSDK_DateTime { | 18 class CPDFSDK_DateTime { |
(...skipping 20 matching lines...) Expand all Loading... |
39 int16_t m_year; | 39 int16_t m_year; |
40 uint8_t m_month; | 40 uint8_t m_month; |
41 uint8_t m_day; | 41 uint8_t m_day; |
42 uint8_t m_hour; | 42 uint8_t m_hour; |
43 uint8_t m_minute; | 43 uint8_t m_minute; |
44 uint8_t m_second; | 44 uint8_t m_second; |
45 int8_t m_tzHour; | 45 int8_t m_tzHour; |
46 uint8_t m_tzMinute; | 46 uint8_t m_tzMinute; |
47 }; | 47 }; |
48 | 48 |
49 #endif // FPDFSDK_INCLUDE_CPDFSDK_DATETIME_H_ | 49 #endif // FPDFSDK_CPDFSDK_DATETIME_H_ |
OLD | NEW |