dtitv_impl.h 3.4 KB

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