ICU 4.8.1.1
4.8.1.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
i18n
unicode
udateintervalformat.h
1
/*
2
*****************************************************************************************
3
* Copyright (C) 2010-2011, 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
76
struct
UDateIntervalFormat;
77
typedef
struct
UDateIntervalFormat UDateIntervalFormat;
103
U_DRAFT
UDateIntervalFormat*
U_EXPORT2
104
udtitvfmt_open(
const
char
* locale,
105
const
UChar
* skeleton,
106
int32_t skeletonLength,
107
const
UChar
* tzID,
108
int32_t tzIDLength,
109
UErrorCode
* status);
110
117
U_DRAFT
void
U_EXPORT2
118
udtitvfmt_close(UDateIntervalFormat *formatter);
119
120
121
#if U_SHOW_CPLUSPLUS_API
122
123
U_NAMESPACE_BEGIN
124
134
U_DEFINE_LOCAL_OPEN_POINTER(LocalUDateIntervalFormatPointer, UDateIntervalFormat, udtitvfmt_close);
135
136
U_NAMESPACE_END
137
138
#endif
139
140
167
U_DRAFT
int32_t
U_EXPORT2
168
udtitvfmt_format(
const
UDateIntervalFormat* formatter,
169
UDate
fromDate,
170
UDate
toDate,
171
UChar
* result,
172
int32_t resultCapacity,
173
UFieldPosition
* position,
174
UErrorCode
* status);
175
176
#endif
/* #if !UCONFIG_NO_FORMATTING */
177
178
#endif
Generated on Fri Aug 28 2015 15:20:52 for ICU 4.8.1.1 by
1.8.1.2