summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_timezoneprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_timezoneprovider.h')
-rw-r--r--xfa/fxfa/parser/cxfa_timezoneprovider.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_timezoneprovider.h b/xfa/fxfa/parser/cxfa_timezoneprovider.h
new file mode 100644
index 0000000000..05230cc122
--- /dev/null
+++ b/xfa/fxfa/parser/cxfa_timezoneprovider.h
@@ -0,0 +1,23 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef XFA_FXFA_PARSER_CXFA_TIMEZONEPROVIDER_H_
+#define XFA_FXFA_PARSER_CXFA_TIMEZONEPROVIDER_H_
+
+#include "xfa/fgas/localization/fgas_datetime.h"
+
+class CXFA_TimeZoneProvider {
+ public:
+ CXFA_TimeZoneProvider();
+ ~CXFA_TimeZoneProvider();
+
+ void GetTimeZone(FX_TIMEZONE* tz) const;
+
+ private:
+ FX_TIMEZONE m_tz;
+};
+
+#endif // XFA_FXFA_PARSER_CXFA_TIMEZONEPROVIDER_H_