Skip to content

Commit 2362266

Browse files
committed
ICU-23056 ICU4J 78 API promotion to stable
See #3651
1 parent 02d6ed9 commit 2362266

File tree

7 files changed

+28
-28
lines changed

7 files changed

+28
-28
lines changed

icu4j/main/core/src/main/java/com/ibm/icu/lang/UCharacter.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4182,16 +4182,16 @@ public static interface IndicSyllabicCategory {
41824182
* See https://unicode.org/reports/tr44/#Indic_Conjunct_Break
41834183
*
41844184
* @see UProperty#INDIC_CONJUNCT_BREAK
4185-
* @draft ICU 76
4185+
* @stable ICU 76
41864186
*/
41874187
public enum IndicConjunctBreak {
4188-
/** @draft ICU 76 */
4188+
/** @stable ICU 76 */
41894189
NONE,
4190-
/** @draft ICU 76 */
4190+
/** @stable ICU 76 */
41914191
CONSONANT,
4192-
/** @draft ICU 76 */
4192+
/** @stable ICU 76 */
41934193
EXTEND,
4194-
/** @draft ICU 76 */
4194+
/** @stable ICU 76 */
41954195
LINKER,
41964196
}
41974197

icu4j/main/core/src/main/java/com/ibm/icu/lang/UProperty.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ public interface UProperty
645645
* Binary property Modifier_Combining_Mark.
646646
* <p>Used by the AMTRA algorithm in UAX #53.
647647
*
648-
* @draft ICU 76
648+
* @stable ICU 76
649649
*/
650650
public static final int MODIFIER_COMBINING_MARK = 75;
651651

@@ -863,14 +863,14 @@ public interface UProperty
863863
* Enumerated property Identifier_Status.
864864
* Used for UTS #39 General Security Profile for Identifiers
865865
* (https://www.unicode.org/reports/tr39/#General_Security_Profile).
866-
* @draft ICU 75
866+
* @stable ICU 75
867867
*/
868868
public static final int IDENTIFIER_STATUS = 0x1019;
869869

870870
/**
871871
* Enumerated property Indic_Conjunct_Break.
872872
* Used in the grapheme cluster break algorithm in UAX #29.
873-
* @draft ICU 76
873+
* @stable ICU 76
874874
*/
875875
public static final int INDIC_CONJUNCT_BREAK = 0x101A;
876876

@@ -1065,7 +1065,7 @@ public interface UProperty
10651065
*
10661066
* @see UCharacter#hasIdentifierType(int, UCharacter.IdentifierType)
10671067
* @see UCharacter#getIdentifierTypes(int, java.util.EnumSet)
1068-
* @draft ICU 75
1068+
* @stable ICU 75
10691069
*/
10701070
public static final int IDENTIFIER_TYPE = 0x7001;
10711071
/**

icu4j/main/core/src/main/java/com/ibm/icu/text/DateFormat.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ public final String format(Date date)
739739
*
740740
* @return the formatted date/time string.
741741
*
742-
* @draft ICU 76
742+
* @stable ICU 76
743743
*/
744744
public StringBuffer format(Temporal date, StringBuffer toAppendTo,
745745
FieldPosition fieldPosition) {
@@ -752,7 +752,7 @@ public StringBuffer format(Temporal date, StringBuffer toAppendTo,
752752
* @param date the time value to be formatted into a time string.
753753
* @return the formatted time string.
754754
*
755-
* @draft ICU 76
755+
* @stable ICU 76
756756
*/
757757
public final String format(Temporal date)
758758
{

icu4j/main/core/src/main/java/com/ibm/icu/text/DateIntervalFormat.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ public final StringBuffer format(Calendar fromCalendar,
998998
* @return Reference to 'appendTo' parameter.
999999
* @throws IllegalArgumentException if the two calendars are not equivalent.
10001000
*
1001-
* @draft ICU 76
1001+
* @stable ICU 76
10021002
*/
10031003
public final StringBuffer format(Temporal fromTemporal,
10041004
Temporal toTemporal,
@@ -1046,7 +1046,7 @@ public FormattedDateInterval formatToValue(Calendar fromCalendar, Calendar toCal
10461046
* to be formatted into a string
10471047
* @return A FormattedDateInterval containing the format result.
10481048
*
1049-
* @draft ICU 76
1049+
* @stable ICU 76
10501050
*/
10511051
public FormattedDateInterval formatToValue(Temporal fromTemporal, Temporal toTemporal) {
10521052
Calendar fromCalendar = JavaTimeConverters.temporalToCalendar(fromTemporal);

icu4j/main/core/src/main/java/com/ibm/icu/text/RelativeDateTimeFormatter.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -161,49 +161,49 @@ public static enum RelativeUnit {
161161

162162
/**
163163
* Quarters
164-
* @draft ICU 76
164+
* @stable ICU 76
165165
*/
166166
QUARTERS,
167167

168168
/**
169169
* Sundays
170-
* @draft ICU 76
170+
* @stable ICU 76
171171
*/
172172
SUNDAYS,
173173

174174
/**
175175
* Mondays
176-
* @draft ICU 76
176+
* @stable ICU 76
177177
*/
178178
MONDAYS,
179179

180180
/**
181181
* Tuesdays
182-
* @draft ICU 76
182+
* @stable ICU 76
183183
*/
184184
TUESDAYS,
185185

186186
/**
187187
* Wednesdays
188-
* @draft ICU 76
188+
* @stable ICU 76
189189
*/
190190
WEDNESDAYS,
191191

192192
/**
193193
* Thursdays
194-
* @draft ICU 76
194+
* @stable ICU 76
195195
*/
196196
THURSDAYS,
197197

198198
/**
199199
* Fridays
200-
* @draft ICU 76
200+
* @stable ICU 76
201201
*/
202202
FRIDAYS,
203203

204204
/**
205205
* Saturdays
206-
* @draft ICU 76
206+
* @stable ICU 76
207207
*/
208208
SATURDAYS,
209209
}

icu4j/main/core/src/main/java/com/ibm/icu/text/UnicodeSet.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5154,7 +5154,7 @@ public static void setDefaultXSymbolTable(XSymbolTable xSymbolTable) {
51545154
*
51555155
* @return a {@link Stream} of {@link EntryRange}
51565156
*
5157-
* @draft ICU 76
5157+
* @stable ICU 76
51585158
*/
51595159
public Stream<EntryRange> rangeStream() {
51605160
// Must use false to never make this parallel because the iterator always returns the same EntryRange object.
@@ -5173,7 +5173,7 @@ public Stream<EntryRange> rangeStream() {
51735173
*
51745174
* @return a {@link Stream} of {@code String}
51755175
*
5176-
* @draft ICU 76
5176+
* @stable ICU 76
51775177
*/
51785178
public Stream<String> stringStream() {
51795179
return strings().stream();
@@ -5191,7 +5191,7 @@ public Stream<String> stringStream() {
51915191
*
51925192
* @return an {@link IntStream} of Unicode code point values
51935193
*
5194-
* @draft ICU 76
5194+
* @stable ICU 76
51955195
*/
51965196
public IntStream codePointStream() {
51975197
return StreamSupport.intStream(new CodePointSpliterator(this), false);
@@ -5209,7 +5209,7 @@ public IntStream codePointStream() {
52095209
*
52105210
* @return a {@link Stream} of {@code String}
52115211
*
5212-
* @draft ICU 76
5212+
* @stable ICU 76
52135213
*/
52145214
public Stream<String> stream() {
52155215
return StreamSupport.stream(spliterator(), false);
@@ -5230,7 +5230,7 @@ public Stream<String> stream() {
52305230
*
52315231
* @return an {@link Iterable} over all the code points
52325232
*
5233-
* @draft ICU 76
5233+
* @stable ICU 76
52345234
*/
52355235
public Iterable<Integer> codePoints() {
52365236
return new CodePointIterable(this);

icu4j/main/core/src/main/java/com/ibm/icu/util/MeasureUnit.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ protected synchronized static MeasureUnit addUnit(String type, String unitName,
14321432

14331433
/**
14341434
* Constant for unit of duration: night
1435-
* @draft ICU 76
1435+
* @stable ICU 76
14361436
*/
14371437
public static final MeasureUnit NIGHT = MeasureUnit.internalGetInstance("duration", "night");
14381438

@@ -2160,7 +2160,7 @@ protected synchronized static MeasureUnit addUnit(String type, String unitName,
21602160

21612161
/**
21622162
* Constant for unit of speed: light-speed
2163-
* @draft ICU 76
2163+
* @stable ICU 76
21642164
*/
21652165
public static final MeasureUnit LIGHT_SPEED = MeasureUnit.internalGetInstance("speed", "light-speed");
21662166

0 commit comments

Comments
 (0)