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