ICU 54.1
54.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
i18n
unicode
udateintervalformat.h
Go to the documentation of this file.
1
/*
2
*****************************************************************************************
3
* Copyright (C) 2010-2012, International Business Machines
4
* Corporation and others. All Rights Reserved.
5
*****************************************************************************************
6
*/
7
8
#ifndef UDATEINTERVALFORMAT_H
9
#define UDATEINTERVALFORMAT_H
10
11
#include "
unicode/utypes.h
"
12
13
#if !UCONFIG_NO_FORMATTING
14
15
#include "
unicode/umisc.h
"
16
#include "
unicode/localpointer.h
"
17
79
struct
UDateIntervalFormat
;
80
typedef
struct
UDateIntervalFormat
UDateIntervalFormat
;
106
U_STABLE
UDateIntervalFormat
* U_EXPORT2
107
udtitvfmt_open
(
const
char
* locale,
108
const
UChar
* skeleton,
109
int32_t skeletonLength,
110
const
UChar
* tzID,
111
int32_t tzIDLength,
112
UErrorCode
* status);
113
120
U_STABLE
void
U_EXPORT2
121
udtitvfmt_close
(
UDateIntervalFormat
*formatter);
122
123
124
#if U_SHOW_CPLUSPLUS_API
125
126
U_NAMESPACE_BEGIN
127
137
U_DEFINE_LOCAL_OPEN_POINTER
(
LocalUDateIntervalFormatPointer
,
UDateIntervalFormat
,
udtitvfmt_close
);
138
139
U_NAMESPACE_END
140
141
#endif
142
143
170
U_STABLE
int32_t U_EXPORT2
171
udtitvfmt_format
(
const
UDateIntervalFormat
* formatter,
172
UDate
fromDate,
173
UDate
toDate,
174
UChar
* result,
175
int32_t resultCapacity,
176
UFieldPosition
* position,
177
UErrorCode
* status);
178
179
#endif
/* #if !UCONFIG_NO_FORMATTING */
180
181
#endif
Generated on Mon Sep 29 2014 13:32:06 for ICU 54.1 by
1.8.1.2