ICU 55.1  55.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 
272 U_STABLE int32_t U_EXPORT2
274  const UChar *pattern, int32_t length,
275  UChar *skeleton, int32_t capacity,
276  UErrorCode *pErrorCode);
277 
301 U_STABLE int32_t U_EXPORT2
303  const UChar *pattern, int32_t length,
304  UChar *baseSkeleton, int32_t capacity,
305  UErrorCode *pErrorCode);
306 
333  const UChar *pattern, int32_t patternLength,
334  UBool override,
335  UChar *conflictingPattern, int32_t capacity, int32_t *pLength,
336  UErrorCode *pErrorCode);
337 
358 U_STABLE void U_EXPORT2
360  UDateTimePatternField field,
361  const UChar *value, int32_t length);
362 
373 U_STABLE const UChar * U_EXPORT2
375  UDateTimePatternField field,
376  int32_t *pLength);
377 
391 U_STABLE void U_EXPORT2
393  UDateTimePatternField field,
394  const UChar *value, int32_t length);
395 
406 U_STABLE const UChar * U_EXPORT2
408  UDateTimePatternField field,
409  int32_t *pLength);
410 
434 U_STABLE void U_EXPORT2
436  const UChar *dtFormat, int32_t length);
437 
445 U_STABLE const UChar * U_EXPORT2
447  int32_t *pLength);
448 
462 U_STABLE void U_EXPORT2
464  const UChar *decimal, int32_t length);
465 
474 U_STABLE const UChar * U_EXPORT2
476  int32_t *pLength);
477 
503 U_STABLE int32_t U_EXPORT2
505  const UChar *pattern, int32_t patternLength,
506  const UChar *skeleton, int32_t skeletonLength,
507  UChar *dest, int32_t destCapacity,
508  UErrorCode *pErrorCode);
509 
540 U_STABLE int32_t U_EXPORT2
542  const UChar *pattern, int32_t patternLength,
543  const UChar *skeleton, int32_t skeletonLength,
545  UChar *dest, int32_t destCapacity,
546  UErrorCode *pErrorCode);
547 
559 U_STABLE UEnumeration * U_EXPORT2
561 
572 U_STABLE UEnumeration * U_EXPORT2
574 
585 U_STABLE const UChar * U_EXPORT2
587  const UChar *skeleton, int32_t skeletonLength,
588  int32_t *pLength);
589 
590 #endif