diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-29 14:50:40 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-29 19:42:25 +0000 |
commit | 0cf642f763b1ab8cdb3c52db80cf38e380c82a19 (patch) | |
tree | 7ae693182eb52787bf7357d4b36d882811904453 /xfa/fgas/localization/fgas_locale.h | |
parent | efcae5d85f829618749461617521a076881cc493 (diff) | |
download | pdfium-0cf642f763b1ab8cdb3c52db80cf38e380c82a19.tar.xz |
Rename CFX_Unitime to CFX_DateTime
The name Unitime did not give any indication of what the class
contained. This Cl renames to DateTime to more accurately refect the
class holds a date and time.
Change-Id: I95f96224822f46a7da46ae39c71d2e23fc16f7d5
Reviewed-on: https://pdfium-review.googlesource.com/3255
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fgas/localization/fgas_locale.h')
-rw-r--r-- | xfa/fgas/localization/fgas_locale.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xfa/fgas/localization/fgas_locale.h b/xfa/fgas/localization/fgas_locale.h index 5d8ddc0b52..aecd4d62d4 100644 --- a/xfa/fgas/localization/fgas_locale.h +++ b/xfa/fgas/localization/fgas_locale.h @@ -10,9 +10,7 @@ #include <memory> #include "core/fxcrt/fx_xml.h" -#include "xfa/fgas/localization/fgas_datetime.h" - -class CFX_Unitime; +#include "xfa/fgas/localization/cfx_datetime.h" enum FX_LOCALENUMSYMBOL { FX_LOCALENUMSYMBOL_Decimal, @@ -73,9 +71,9 @@ class IFX_Locale { virtual CFX_WideString GetNumPattern(FX_LOCALENUMSUBCATEGORY eType) const = 0; }; -bool FX_DateFromCanonical(const CFX_WideString& wsDate, CFX_Unitime* datetime); +bool FX_DateFromCanonical(const CFX_WideString& wsDate, CFX_DateTime* datetime); bool FX_TimeFromCanonical(const CFX_WideStringC& wsTime, - CFX_Unitime* datetime, + CFX_DateTime* datetime, IFX_Locale* pLocale); class CFX_Decimal { public: |