2 *****************************************************************************************
3 * Copyright (C) 2010-2011 Apple Inc. All Rights Reserved.
4 *****************************************************************************************
7 #include "unicode/utypes.h"
9 #if !UCONFIG_NO_FORMATTING
11 #include "unicode/udateintervalformat.h"
12 #include "unicode/udatintv.h"
17 U_CAPI UDateIntervalFormat
* U_EXPORT2
18 udatintv_open(const char* locale
,
19 const UChar
* skeleton
,
20 int32_t skeletonLength
,
23 return udtitvfmt_open(locale
, skeleton
, skeletonLength
, NULL
, 0, status
);
28 udatintv_close(UDateIntervalFormat
*datintv
)
30 udtitvfmt_close(datintv
);
34 U_INTERNAL
int32_t U_EXPORT2
35 udatintv_format(const UDateIntervalFormat
* datintv
,
39 int32_t resultCapacity
,
40 UFieldPosition
* position
,
43 return udtitvfmt_format(datintv
, fromDate
, toDate
, result
, resultCapacity
, position
, status
);
47 #endif /* #if !UCONFIG_NO_FORMATTING */