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