ICU 56.1  56.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
udatpg.h
Go to the documentation of this file.
1 /*
2 *******************************************************************************
3 *
4 * Copyright (C) 2007-2015, International Business Machines
5 * Corporation and others. All Rights Reserved.
6 *
7 *******************************************************************************
8 * file name: udatpg.h
9 * encoding: US-ASCII
10 * tab size: 8 (not used)
11 * indentation:4
12 *
13 * created on: 2007jul30
14 * created by: Markus W. Scherer
15 */
16 
17 #ifndef __UDATPG_H__
18 #define __UDATPG_H__
19 
20 #include "unicode/utypes.h"
21 #include "unicode/uenum.h"
22 #include "unicode/localpointer.h"
23 
46 
53 typedef enum UDateTimePatternField {
89 
102 #ifndef U_HIDE_INTERNAL_API
103 
107 #endif /* U_HIDE_INTERNAL_API */
108 
111 
126 
136 udatpg_open(const char *locale, UErrorCode *pErrorCode);
137 
146 udatpg_openEmpty(UErrorCode *pErrorCode);
147 
153 U_STABLE void U_EXPORT2
155 
156 #if U_SHOW_CPLUSPLUS_API
157 
159 
170 
172 
173 #endif
174 
184 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode);
185 
209 U_STABLE int32_t U_EXPORT2
211  const UChar *skeleton, int32_t length,
212  UChar *bestPattern, int32_t capacity,
213  UErrorCode *pErrorCode);
214 
245 U_STABLE int32_t U_EXPORT2
247  const UChar *skeleton, int32_t length,
249  UChar *bestPattern, int32_t capacity,
250  UErrorCode *pErrorCode);
251 
273 U_STABLE int32_t U_EXPORT2
275  const UChar *pattern, int32_t length,
276  UChar *skeleton, int32_t capacity,
277  UErrorCode *pErrorCode);
278 
303 U_STABLE int32_t U_EXPORT2
305  const UChar *pattern, int32_t length,
306  UChar *baseSkeleton, int32_t capacity,
307  UErrorCode *pErrorCode);
308 
335  const UChar *pattern, int32_t patternLength,
336  UBool override,
337  UChar *conflictingPattern, int32_t capacity, int32_t *pLength,
338  UErrorCode *pErrorCode);
339 
360 U_STABLE void U_EXPORT2
362  UDateTimePatternField field,
363  const UChar *value, int32_t length);
364 
375 U_STABLE const UChar * U_EXPORT2
377  UDateTimePatternField field,
378  int32_t *pLength);
379 
393 U_STABLE void U_EXPORT2
395  UDateTimePatternField field,
396  const UChar *value, int32_t length);
397 
408 U_STABLE const UChar * U_EXPORT2
410  UDateTimePatternField field,
411  int32_t *pLength);
412 
436 U_STABLE void U_EXPORT2
438  const UChar *dtFormat, int32_t length);
439 
447 U_STABLE const UChar * U_EXPORT2
449  int32_t *pLength);
450 
464 U_STABLE void U_EXPORT2
466  const UChar *decimal, int32_t length);
467 
476 U_STABLE const UChar * U_EXPORT2
478  int32_t *pLength);
479 
505 U_STABLE int32_t U_EXPORT2
507  const UChar *pattern, int32_t patternLength,
508  const UChar *skeleton, int32_t skeletonLength,
509  UChar *dest, int32_t destCapacity,
510  UErrorCode *pErrorCode);
511 
542 U_STABLE int32_t U_EXPORT2
544  const UChar *pattern, int32_t patternLength,
545  const UChar *skeleton, int32_t skeletonLength,
547  UChar *dest, int32_t destCapacity,
548  UErrorCode *pErrorCode);
549 
561 U_STABLE UEnumeration * U_EXPORT2
563 
574 U_STABLE UEnumeration * U_EXPORT2
576 
587 U_STABLE const UChar * U_EXPORT2
589  const UChar *skeleton, int32_t skeletonLength,
590  int32_t *pLength);
591 
592 #endif