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/fxfa/parser/cxfa_localevalue.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/fxfa/parser/cxfa_localevalue.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_localevalue.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/cxfa_localevalue.h b/xfa/fxfa/parser/cxfa_localevalue.h index 75687b4281..cb30d37792 100644 --- a/xfa/fxfa/parser/cxfa_localevalue.h +++ b/xfa/fxfa/parser/cxfa_localevalue.h @@ -12,7 +12,7 @@ #include "xfa/fxfa/parser/cxfa_widgetdata.h" class IFX_Locale; -class CFX_Unitime; +class CFX_DateTime; class CXFA_LocaleMgr; #define XFA_VT_NULL 0 @@ -54,7 +54,8 @@ class CXFA_LocaleValue { IFX_Locale* pLocale, XFA_VALUEPICTURE eValueType) const; bool ValidateCanonicalValue(const CFX_WideString& wsValue, uint32_t dwVType); - bool ValidateCanonicalDate(const CFX_WideString& wsDate, CFX_Unitime* unDate); + bool ValidateCanonicalDate(const CFX_WideString& wsDate, + CFX_DateTime* unDate); bool ValidateCanonicalTime(const CFX_WideString& wsTime); bool ValidateCanonicalDateTime(const CFX_WideString& wsDateTime); void GetNumbericFormat(CFX_WideString& wsFormat, @@ -72,9 +73,9 @@ class CXFA_LocaleValue { CFX_WideString GetText() const; float GetNum() const; double GetDoubleNum() const; - CFX_Unitime GetDate() const; - CFX_Unitime GetTime() const; - CFX_Unitime GetDateTime() const; + CFX_DateTime GetDate() const; + CFX_DateTime GetTime() const; + CFX_DateTime GetDateTime() const; bool SetText(const CFX_WideString& wsText); bool SetText(const CFX_WideString& wsText, const CFX_WideString& wsFormat, @@ -83,15 +84,15 @@ class CXFA_LocaleValue { bool SetNum(const CFX_WideString& wsNum, const CFX_WideString& wsFormat, IFX_Locale* pLocale); - bool SetDate(const CFX_Unitime& d); + bool SetDate(const CFX_DateTime& d); bool SetDate(const CFX_WideString& wsDate, const CFX_WideString& wsFormat, IFX_Locale* pLocale); - bool SetTime(const CFX_Unitime& t); + bool SetTime(const CFX_DateTime& t); bool SetTime(const CFX_WideString& wsTime, const CFX_WideString& wsFormat, IFX_Locale* pLocale); - bool SetDateTime(const CFX_Unitime& dt); + bool SetDateTime(const CFX_DateTime& dt); bool SetDateTime(const CFX_WideString& wsDateTime, const CFX_WideString& wsFormat, IFX_Locale* pLocale); |