ICU 57.1  57.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ureldatefmt.h
Go to the documentation of this file.
1 /*
2 *****************************************************************************************
3 * Copyright (C) 2016, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 *****************************************************************************************
6 */
7 
8 #ifndef URELDATEFMT_H
9 #define URELDATEFMT_H
10 
11 #include "unicode/utypes.h"
12 
13 #if !UCONFIG_NO_FORMATTING && !UCONFIG_NO_BREAK_ITERATION
14 
15 #include "unicode/unum.h"
17 #include "unicode/localpointer.h"
18 
48 
54 
60 
67 
68 #ifndef U_HIDE_DRAFT_API
69 
74 typedef enum URelativeDateTimeUnit {
171 #endif /* U_HIDE_DRAFT_API */
172 
173 #ifndef U_HIDE_DRAFT_API
174 
216 ureldatefmt_open( const char* locale,
217  UNumberFormat* nfToAdopt,
219  UDisplayContext capitalizationContext,
220  UErrorCode* status );
221 
228 U_DRAFT void U_EXPORT2
230 
231 #if U_SHOW_CPLUSPLUS_API
232 
234 
245 
247 
248 #endif
249 
278 U_DRAFT int32_t U_EXPORT2
280  double offset,
282  UChar* result,
283  int32_t resultCapacity,
284  UErrorCode* status);
285 
314 U_DRAFT int32_t U_EXPORT2
316  double offset,
318  UChar* result,
319  int32_t resultCapacity,
320  UErrorCode* status);
321 
351 U_DRAFT int32_t U_EXPORT2
353  const UChar * relativeDateString,
354  int32_t relativeDateStringLen,
355  const UChar * timeString,
356  int32_t timeStringLen,
357  UChar* result,
358  int32_t resultCapacity,
359  UErrorCode* status );
360 
361 #endif /* U_HIDE_DRAFT_API */
362 
363 #endif /* !UCONFIG_NO_FORMATTING && !UCONFIG_NO_BREAK_ITERATION */
364 
365 #endif