| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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 XFA_SRC_FGAS_INCLUDE_FX_DATETIME_H_ | 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_DATETIME_H_ |
| 8 #define XFA_SRC_FGAS_INCLUDE_FX_DATETIME_H_ | 8 #define XFA_SRC_FGAS_INCLUDE_FX_DATETIME_H_ |
| 9 | 9 |
| 10 #include "core/include/fxcrt/fx_system.h" |
| 11 |
| 10 class CFX_Unitime; | 12 class CFX_Unitime; |
| 11 class CFX_DateTime; | 13 class CFX_DateTime; |
| 12 typedef int64_t FX_UNITIME; | 14 typedef int64_t FX_UNITIME; |
| 13 enum FX_WEEKDAY { | 15 enum FX_WEEKDAY { |
| 14 FX_Sunday = 0, | 16 FX_Sunday = 0, |
| 15 FX_Monday, | 17 FX_Monday, |
| 16 FX_Tuesday, | 18 FX_Tuesday, |
| 17 FX_Wednesday, | 19 FX_Wednesday, |
| 18 FX_Thursday, | 20 FX_Thursday, |
| 19 FX_Friday, | 21 FX_Friday, |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 } | 393 } |
| 392 friend FX_BOOL operator<=(const FX_DATETIME& dt1, const CFX_DateTime& dt2) { | 394 friend FX_BOOL operator<=(const FX_DATETIME& dt1, const CFX_DateTime& dt2) { |
| 393 return ((const CFX_DateTime&)dt1).ToUnitime() <= dt2.ToUnitime(); | 395 return ((const CFX_DateTime&)dt1).ToUnitime() <= dt2.ToUnitime(); |
| 394 } | 396 } |
| 395 | 397 |
| 396 private: | 398 private: |
| 397 FX_DATETIME m_DateTime; | 399 FX_DATETIME m_DateTime; |
| 398 }; | 400 }; |
| 399 | 401 |
| 400 #endif // XFA_SRC_FGAS_INCLUDE_FX_DATETIME_H_ | 402 #endif // XFA_SRC_FGAS_INCLUDE_FX_DATETIME_H_ |
| OLD | NEW |