summaryrefslogtreecommitdiffstats
path: root/intl/components/src/DateTimeFormatUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'intl/components/src/DateTimeFormatUtils.h')
-rw-r--r--intl/components/src/DateTimeFormatUtils.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/intl/components/src/DateTimeFormatUtils.h b/intl/components/src/DateTimeFormatUtils.h
new file mode 100644
index 0000000000..89187b9871
--- /dev/null
+++ b/intl/components/src/DateTimeFormatUtils.h
@@ -0,0 +1,14 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#ifndef intl_components_DateTimeFormatUtils_h_
+#define intl_components_DateTimeFormatUtils_h_
+#include "unicode/udat.h"
+
+#include "mozilla/intl/DateTimePart.h"
+
+namespace mozilla::intl {
+DateTimePartType ConvertUFormatFieldToPartType(UDateFormatField fieldName);
+} // namespace mozilla::intl
+
+#endif