| 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_FGAS_LOCALIZATION_FGAS_DATETIME_H_ | 7 #ifndef XFA_FGAS_LOCALIZATION_FGAS_DATETIME_H_ |
| 8 #define XFA_FGAS_LOCALIZATION_FGAS_DATETIME_H_ | 8 #define XFA_FGAS_LOCALIZATION_FGAS_DATETIME_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/fx_system.h" |
| 11 | 11 |
| 12 class CFX_Unitime; | 12 class CFX_Unitime; |
| 13 class CFX_DateTime; | 13 class CFX_DateTime; |
| 14 | 14 |
| 15 typedef int64_t FX_UNITIME; | 15 typedef int64_t FX_UNITIME; |
| 16 enum FX_WEEKDAY { | 16 enum FX_WEEKDAY { |
| 17 FX_Sunday = 0, | 17 FX_Sunday = 0, |
| 18 FX_Monday, | 18 FX_Monday, |
| 19 FX_Tuesday, | 19 FX_Tuesday, |
| 20 FX_Wednesday, | 20 FX_Wednesday, |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 } | 366 } |
| 367 friend FX_BOOL operator<=(const FX_DATETIME& dt1, const CFX_DateTime& dt2) { | 367 friend FX_BOOL operator<=(const FX_DATETIME& dt1, const CFX_DateTime& dt2) { |
| 368 return ((const CFX_DateTime&)dt1).ToUnitime() <= dt2.ToUnitime(); | 368 return ((const CFX_DateTime&)dt1).ToUnitime() <= dt2.ToUnitime(); |
| 369 } | 369 } |
| 370 | 370 |
| 371 private: | 371 private: |
| 372 FX_DATETIME m_DateTime; | 372 FX_DATETIME m_DateTime; |
| 373 }; | 373 }; |
| 374 | 374 |
| 375 #endif // XFA_FGAS_LOCALIZATION_FGAS_DATETIME_H_ | 375 #endif // XFA_FGAS_LOCALIZATION_FGAS_DATETIME_H_ |
| OLD | NEW |