dtitv_impl.h 3.1 KB

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