mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-22534 Fixed a couple issues from the API-promotions PR that Frank found in code review.
This commit is contained in:
parent
d43d216feb
commit
1cedbbd90d
2 changed files with 0 additions and 7 deletions
|
@ -474,12 +474,7 @@ enum UCalendarDateFields {
|
|||
* One more than the highest normal UCalendarDateFields value.
|
||||
* @deprecated ICU 58 The numeric value may change over time, see ICU ticket #12420.
|
||||
*/
|
||||
#ifdef U_HIDE_DRAFT_API
|
||||
// Must include all fields that will be in structs
|
||||
UCAL_FIELD_COUNT = UCAL_IS_LEAP_MONTH + 2,
|
||||
#else // U_HIDE_DRAFT_API (for UCAL_ORDINAL_MONTH)
|
||||
UCAL_FIELD_COUNT = UCAL_ORDINAL_MONTH + 1,
|
||||
#endif // U_HIDE_DRAFT_API (for UCAL_ORDINAL_MONTH)
|
||||
|
||||
#endif // U_FORCE_HIDE_DEPRECATED_API
|
||||
|
||||
|
|
|
@ -107,9 +107,7 @@ static const Field names_UCalendarDateFields[] =
|
|||
FIELD_NAME_STR( LEN_UCAL, UCAL_JULIAN_DAY ),
|
||||
FIELD_NAME_STR( LEN_UCAL, UCAL_MILLISECONDS_IN_DAY ),
|
||||
FIELD_NAME_STR( LEN_UCAL, UCAL_IS_LEAP_MONTH ),
|
||||
#ifndef U_HIDE_DRAFT_API
|
||||
FIELD_NAME_STR( LEN_UCAL, UCAL_ORDINAL_MONTH ),
|
||||
#endif // U_HIDE_DRAFT_API
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue