Files
tubestation/intl/components/src/DateTimeFormatUtils.h
Yoshi Cheng-Hao Huang 6d5161234b Bug 1719678 - Part 2: Unify FormatDateTimeToParts and FormatDateTimeRangeToParts. r=platform-i18n-reviewers,anba,gregtatum,tcampbell
Add DateTimeFormat::TryFormatToParts and
DateIntervalFormat::TryFormattedToParts methods.

Differential Revision: https://phabricator.services.mozilla.com/D126342
2021-10-21 06:55:57 +00:00

15 lines
506 B
C++

/* 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