|
1 /* |
|
2 ******************************************************************************* |
|
3 * Copyright (C) 2007-2008, International Business Machines Corporation and |
|
4 * others. All Rights Reserved. |
|
5 ******************************************************************************* |
|
6 * |
|
7 * File DTITV_IMPL.H |
|
8 * |
|
9 ******************************************************************************* |
|
10 */ |
|
11 |
|
12 |
|
13 #ifndef DTITV_IMPL_H__ |
|
14 #define DTITV_IMPL_H__ |
|
15 |
|
16 /** |
|
17 * \file |
|
18 * \brief C++ API: Defines macros for interval format implementation |
|
19 */ |
|
20 |
|
21 #if !UCONFIG_NO_FORMATTING |
|
22 |
|
23 #include "unicode/unistr.h" |
|
24 |
|
25 |
|
26 #define QUOTE ((UChar)0x0027) |
|
27 #define LOW_LINE ((UChar)0x005F) |
|
28 #define COLON ((UChar)0x003A) |
|
29 #define LEFT_CURLY_BRACKET ((UChar)0x007B) |
|
30 #define RIGHT_CURLY_BRACKET ((UChar)0x007D) |
|
31 #define SPACE ((UChar)0x0020) |
|
32 #define EN_DASH ((UChar)0x2013) |
|
33 |
|
34 #define DIGIT_ZERO ((UChar)0x0030) |
|
35 #define DIGIT_ONE ((UChar)0x0031) |
|
36 |
|
37 #define LOW_A ((UChar)0x0061) |
|
38 #define LOW_B ((UChar)0x0062) |
|
39 #define LOW_C ((UChar)0x0063) |
|
40 #define LOW_D ((UChar)0x0064) |
|
41 #define LOW_E ((UChar)0x0065) |
|
42 #define LOW_F ((UChar)0x0066) |
|
43 #define LOW_G ((UChar)0x0067) |
|
44 #define LOW_H ((UChar)0x0068) |
|
45 #define LOW_I ((UChar)0x0069) |
|
46 #define LOW_J ((UChar)0x006a) |
|
47 #define LOW_K ((UChar)0x006B) |
|
48 #define LOW_L ((UChar)0x006C) |
|
49 #define LOW_M ((UChar)0x006D) |
|
50 #define LOW_N ((UChar)0x006E) |
|
51 #define LOW_O ((UChar)0x006F) |
|
52 #define LOW_P ((UChar)0x0070) |
|
53 #define LOW_Q ((UChar)0x0071) |
|
54 #define LOW_R ((UChar)0x0072) |
|
55 #define LOW_S ((UChar)0x0073) |
|
56 #define LOW_T ((UChar)0x0074) |
|
57 #define LOW_U ((UChar)0x0075) |
|
58 #define LOW_V ((UChar)0x0076) |
|
59 #define LOW_W ((UChar)0x0077) |
|
60 #define LOW_Y ((UChar)0x0079) |
|
61 #define LOW_Z ((UChar)0x007A) |
|
62 |
|
63 #define CAP_A ((UChar)0x0041) |
|
64 #define CAP_C ((UChar)0x0043) |
|
65 #define CAP_D ((UChar)0x0044) |
|
66 #define CAP_E ((UChar)0x0045) |
|
67 #define CAP_F ((UChar)0x0046) |
|
68 #define CAP_G ((UChar)0x0047) |
|
69 #define CAP_H ((UChar)0x0048) |
|
70 #define CAP_K ((UChar)0x004B) |
|
71 #define CAP_L ((UChar)0x004C) |
|
72 #define CAP_M ((UChar)0x004D) |
|
73 #define CAP_O ((UChar)0x004F) |
|
74 #define CAP_Q ((UChar)0x0051) |
|
75 #define CAP_S ((UChar)0x0053) |
|
76 #define CAP_T ((UChar)0x0054) |
|
77 #define CAP_V ((UChar)0x0056) |
|
78 #define CAP_W ((UChar)0x0057) |
|
79 #define CAP_Y ((UChar)0x0059) |
|
80 #define CAP_Z ((UChar)0x005A) |
|
81 |
|
82 //#define MINIMUM_SUPPORTED_CALENDAR_FIELD UCAL_MINUTE |
|
83 |
|
84 #define MAX_E_COUNT 5 |
|
85 #define MAX_M_COUNT 5 |
|
86 //#define MAX_INTERVAL_INDEX 4 |
|
87 #define MAX_POSITIVE_INT 56632; |
|
88 |
|
89 |
|
90 #endif /* #if !UCONFIG_NO_FORMATTING */ |
|
91 |
|
92 #endif |
|
93 //eof |