ICU-5051 swat deprecated

X-SVN-Rev: 19263
This commit is contained in:
Doug Felt 2006-02-23 22:59:23 +00:00
parent 60b2d30f2f
commit 54df7e1738
39 changed files with 491 additions and 491 deletions

View File

@ -689,7 +689,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
/**
* Unicode 4.0.1 renames the "Cyrillic Supplementary" block to "Cyrillic Supplement".
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock CYRILLIC_SUPPLEMENT
= new UnicodeBlock("CYRILLIC_SUPPLEMENT", 97);
@ -842,121 +842,121 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock ANCIENT_GREEK_MUSICAL_NOTATION = new UnicodeBlock("ANCIENT_GREEK_MUSICAL_NOTATION", 126); /*[1D200]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock ANCIENT_GREEK_NUMBERS = new UnicodeBlock("ANCIENT_GREEK_NUMBERS", 127); /*[10140]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock ARABIC_SUPPLEMENT = new UnicodeBlock("ARABIC_SUPPLEMENT", 128); /*[0750]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock BUGINESE = new UnicodeBlock("BUGINESE", 129); /*[1A00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock CJK_STROKES = new UnicodeBlock("CJK_STROKES", 130); /*[31C0]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock COMBINING_DIACRITICAL_MARKS_SUPPLEMENT = new UnicodeBlock("COMBINING_DIACRITICAL_MARKS_SUPPLEMENT", 131); /*[1DC0]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock COPTIC = new UnicodeBlock("COPTIC", 132); /*[2C80]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock ETHIOPIC_EXTENDED = new UnicodeBlock("ETHIOPIC_EXTENDED", 133); /*[2D80]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock ETHIOPIC_SUPPLEMENT = new UnicodeBlock("ETHIOPIC_SUPPLEMENT", 134); /*[1380]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock GEORGIAN_SUPPLEMENT = new UnicodeBlock("GEORGIAN_SUPPLEMENT", 135); /*[2D00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock GLAGOLITIC = new UnicodeBlock("GLAGOLITIC", 136); /*[2C00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock KHAROSHTHI = new UnicodeBlock("KHAROSHTHI", 137); /*[10A00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock MODIFIER_TONE_LETTERS = new UnicodeBlock("MODIFIER_TONE_LETTERS", 138); /*[A700]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock NEW_TAI_LUE = new UnicodeBlock("NEW_TAI_LUE", 139); /*[1980]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock OLD_PERSIAN = new UnicodeBlock("OLD_PERSIAN", 140); /*[103A0]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock PHONETIC_EXTENSIONS_SUPPLEMENT = new UnicodeBlock("PHONETIC_EXTENSIONS_SUPPLEMENT", 141); /*[1D80]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock SUPPLEMENTAL_PUNCTUATION = new UnicodeBlock("SUPPLEMENTAL_PUNCTUATION", 142); /*[2E00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock SYLOTI_NAGRI = new UnicodeBlock("SYLOTI_NAGRI", 143); /*[A800]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock TIFINAGH = new UnicodeBlock("TIFINAGH", 144); /*[2D30]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock VERTICAL_FORMS = new UnicodeBlock("VERTICAL_FORMS", 145); /*[FE10]*/
@ -1385,7 +1385,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
/**
* Unicode 4.0.1 renames the "Cyrillic Supplementary" block to "Cyrillic Supplement".
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int CYRILLIC_SUPPLEMENT_ID = 97;
@ -1507,121 +1507,121 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ANCIENT_GREEK_MUSICAL_NOTATION_ID = 126; /*[1D200]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ANCIENT_GREEK_NUMBERS_ID = 127; /*[10140]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ARABIC_SUPPLEMENT_ID = 128; /*[0750]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int BUGINESE_ID = 129; /*[1A00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int CJK_STROKES_ID = 130; /*[31C0]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int COMBINING_DIACRITICAL_MARKS_SUPPLEMENT_ID = 131; /*[1DC0]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int COPTIC_ID = 132; /*[2C80]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ETHIOPIC_EXTENDED_ID = 133; /*[2D80]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ETHIOPIC_SUPPLEMENT_ID = 134; /*[1380]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int GEORGIAN_SUPPLEMENT_ID = 135; /*[2D00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int GLAGOLITIC_ID = 136; /*[2C00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int KHAROSHTHI_ID = 137; /*[10A00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MODIFIER_TONE_LETTERS_ID = 138; /*[A700]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NEW_TAI_LUE_ID = 139; /*[1980]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int OLD_PERSIAN_ID = 140; /*[103A0]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int PHONETIC_EXTENSIONS_SUPPLEMENT_ID = 141; /*[1D80]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int SUPPLEMENTAL_PUNCTUATION_ID = 142; /*[2E00]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int SYLOTI_NAGRI_ID = 143; /*[A800]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TIFINAGH_ID = 144; /*[2D30]*/
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int VERTICAL_FORMS_ID = 145; /*[FE10]*/
@ -1690,7 +1690,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @return the UnicodeBlock with that name
* @throws IllegalArgumentException if the blockName could not be matched
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final UnicodeBlock forName(String blockName) {
Map m = null;
@ -2237,62 +2237,62 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Grapheme Cluster Break constants.
* @see UProperty#GRAPHEME_CLUSTER_BREAK
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static interface GraphemeClusterBreak {
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int OTHER = 0;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int CONTROL = 1;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int CR = 2;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int EXTEND = 3;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int L = 4;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int LF = 5;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int LV = 6;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int LVT = 7;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int T = 8;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int V = 9;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int COUNT = 10;
}
@ -2301,52 +2301,52 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Word Break constants.
* @see UProperty#WORD_BREAK
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static interface WordBreak {
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int OTHER = 0;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ALETTER = 1;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int FORMAT = 2;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int KATAKANA = 3;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MIDLETTER = 4;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MIDNUM = 5;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NUMERIC = 6;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int EXTENDNUMLET = 7;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int COUNT = 8;
}
@ -2355,67 +2355,67 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Sentence Break constants.
* @see UProperty#SENTENCE_BREAK
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static interface SentenceBreak {
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int OTHER = 0;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ATERM = 1;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int CLOSE = 2;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int FORMAT = 3;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int LOWER = 4;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NUMERIC = 5;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int OLETTER = 6;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int SEP = 7;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int SP = 8;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int STERM = 9;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int UPPER = 10;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int COUNT = 11;
}
@ -2495,7 +2495,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
/**
* Renamed from the misspelled "inseperable" in Unicode 4.0.1.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int INSEPARABLE = 15;
/**
@ -2565,27 +2565,27 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int H2 = 31;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int H3 = 32;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int JL = 33;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int JT = 34;
/**
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int JV = 35;
@ -2704,14 +2704,14 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
/**
* Compatibility constant for Java Character's MIN_RADIX.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MIN_RADIX = java.lang.Character.MIN_RADIX;
/**
* Compatibility constant for Java Character's MAX_RADIX.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MAX_RADIX = java.lang.Character.MAX_RADIX;
@ -3090,7 +3090,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param cp the code point
* @return true if the code point can start a java identifier.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static boolean isJavaIdentifierStart(int cp) {
// note, downcast to char for jdk 1.4 compatibility
@ -3103,7 +3103,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param cp the code point
* @return true if the code point can continue a java identifier.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static boolean isJavaIdentifierPart(int cp) {
// note, downcast to char for jdk 1.4 compatibility
@ -4184,7 +4184,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param str source string to be performed on
* @return uppercase version of the argument string
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static String toUpperCase(ULocale locale, String str) {
StringContextIterator iter = new StringContextIterator(str);
@ -4238,7 +4238,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param str source string to be performed on
* @return lowercase version of the argument string
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static String toLowerCase(ULocale locale, String str) {
StringContextIterator iter = new StringContextIterator(str);
@ -4315,7 +4315,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* the character should be title cased.
* @return lowercase version of the argument string
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static String toTitleCase(ULocale locale, String str,
BreakIterator titleIter) {
@ -5093,7 +5093,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
/**
* Provide the java.lang.Character forDigit API, for convenience.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static char forDigit(int digit, int radix) {
return java.lang.Character.forDigit(digit, radix);
@ -5105,7 +5105,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Cover the JDK 1.5 API, for convenience.
* @see UTF16#LEAD_SURROGATE_MIN_VALUE
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final char MIN_HIGH_SURROGATE = UTF16.LEAD_SURROGATE_MIN_VALUE;
@ -5113,7 +5113,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Cover the JDK 1.5 API, for convenience.
* @see UTF16#LEAD_SURROGATE_MAX_VALUE
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final char MAX_HIGH_SURROGATE = UTF16.LEAD_SURROGATE_MAX_VALUE;
@ -5121,7 +5121,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Cover the JDK 1.5 API, for convenience.
* @see UTF16#TRAIL_SURROGATE_MIN_VALUE
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final char MIN_LOW_SURROGATE = UTF16.TRAIL_SURROGATE_MIN_VALUE;
@ -5129,7 +5129,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Cover the JDK 1.5 API, for convenience.
* @see UTF16#TRAIL_SURROGATE_MAX_VALUE
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final char MAX_LOW_SURROGATE = UTF16.TRAIL_SURROGATE_MAX_VALUE;
@ -5137,7 +5137,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Cover the JDK 1.5 API, for convenience.
* @see UTF16#SURROGATE_MIN_VALUE
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final char MIN_SURROGATE = UTF16.SURROGATE_MIN_VALUE;
@ -5145,7 +5145,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Cover the JDK 1.5 API, for convenience.
* @see UTF16#SURROGATE_MAX_VALUE
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final char MAX_SURROGATE = UTF16.SURROGATE_MAX_VALUE;
@ -5153,7 +5153,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Cover the JDK 1.5 API, for convenience.
* @see UTF16#SUPPLEMENTARY_MIN_VALUE
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MIN_SUPPLEMENTARY_CODE_POINT = UTF16.SUPPLEMENTARY_MIN_VALUE;
@ -5161,7 +5161,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Cover the JDK 1.5 API, for convenience.
* @see UTF16#CODEPOINT_MAX_VALUE
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MAX_CODE_POINT = UTF16.CODEPOINT_MAX_VALUE;
@ -5169,7 +5169,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* Cover the JDK 1.5 API, for convenience.
* @see UTF16#CODEPOINT_MIN_VALUE
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MIN_CODE_POINT = UTF16.CODEPOINT_MIN_VALUE;
@ -5178,7 +5178,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param cp the code point to check
* @return true if cp is a valid code point
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final boolean isValidCodePoint(int cp) {
return cp >= 0 && cp <= MAX_CODE_POINT;
@ -5189,7 +5189,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param cp the code point to check
* @return true if cp is a supplementary code point
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final boolean isSupplementaryCodePoint(int cp) {
return cp >= UTF16.SUPPLEMENTARY_MIN_VALUE
@ -5201,7 +5201,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param ch the char to check
* @return true if ch is a high (lead) surrogate
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static boolean isHighSurrogate(char ch) {
return ch >= MIN_HIGH_SURROGATE && ch <= MAX_HIGH_SURROGATE;
@ -5212,7 +5212,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param ch the char to check
* @return true if ch is a low (trail) surrogate
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static boolean isLowSurrogate(char ch) {
return ch >= MIN_LOW_SURROGATE && ch <= MAX_LOW_SURROGATE;
@ -5225,7 +5225,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param low the low (trail) char
* @return true if high, low form a surrogate pair
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final boolean isSurrogatePair(char high, char low) {
return isHighSurrogate(high) && isLowSurrogate(low);
@ -5239,7 +5239,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @return the number of chars needed to represent the code point
* @see UTF16#getCharCount
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static int charCount(int cp) {
return UTF16.getCharCount(cp);
@ -5252,7 +5252,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param low the low (trail) surrogate
* @return the code point formed by the surrogate pair
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int toCodePoint(char high, char low) {
return UCharacterProperty.getRawSupplementary(high, low);
@ -5266,7 +5266,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param index the index of the first or only char forming the code point
* @return the code point at the index
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
//#ifndef FOUNDATION
public static final int codePointAt(CharSequence seq, int index) {
@ -5298,7 +5298,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param index the index of the first or only char forming the code point
* @return the code point at the index
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int codePointAt(char[] text, int index) {
char c1 = text[index++];
@ -5322,7 +5322,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param limit the limit of the valid text
* @return the code point at the index
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int codePointAt(char[] text, int index, int limit) {
if (index >= limit || limit > text.length) {
@ -5348,7 +5348,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param index the index after the last or only char forming the code point
* @return the code point before the index
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
//#ifndef FOUNDATION
public static final int codePointBefore(CharSequence seq, int index) {
@ -5380,7 +5380,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param index the index after the last or only char forming the code point
* @return the code point before the index
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int codePointBefore(char[] text, int index) {
char c2 = text[--index];
@ -5404,7 +5404,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param limit the start of the valid text
* @return the code point before the index
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int codePointBefore(char[] text, int index, int limit) {
if (index <= limit || limit < 0) {
@ -5431,7 +5431,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @return the count of the number of chars written (1 or 2)
* @throws IllegalArgumentException if cp is not a valid code point
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int toChars(int cp, char[] dst, int dstIndex) {
if (cp >= 0) {
@ -5455,7 +5455,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @return an array containing the char(s) representing the code point
* @throws IllegalArgumentException if cp is not a valid code point
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final char[] toChars(int cp) {
if (cp >= 0) {
@ -5483,7 +5483,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @return the directionality of the code point
* @see #getDirection
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static byte getDirectionality(int cp)
{
@ -5497,7 +5497,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param limit the limit of the range
* @return the number of code points in the range
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
//#ifndef FOUNDATION
public static int codePointCount(CharSequence text, int start, int limit) {
@ -5531,7 +5531,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param limit the limit of the range
* @return the number of code points in the range
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static int codePointCount(char[] text, int start, int limit) {
if (start < 0 || limit < start || limit > text.length) {
@ -5561,7 +5561,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param codePointOffset the number of code points by which to offset the index
* @return the adjusted index
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
//#ifndef FOUNDATION
public static int offsetByCodePoints(CharSequence text, int index, int codePointOffset) {
@ -5612,7 +5612,7 @@ public final class UCharacter implements ECharacterCategory, ECharacterDirection
* @param codePointOffset the number of code points by which to offset the index
* @return the adjusted index
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static int offsetByCodePoints(char[] text, int start, int count, int index, int codePointOffset) {
int limit = start + count;

View File

@ -1,6 +1,6 @@
/**
*******************************************************************************
* Copyright (C) 2004-2005, International Business Machines Corporation and *
* Copyright (C) 2004-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -10,7 +10,7 @@ package com.ibm.icu.lang;
/**
* A container for the different 'enumerated types' used by UCharacter.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public class UCharacterEnums {
@ -24,7 +24,7 @@ public class UCharacterEnums {
* <code>java.lang.Character</code>.
* @see UCharacterCategory
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static interface ECharacterCategory {
/**
@ -247,7 +247,7 @@ public class UCharacterEnums {
* with those defined in <code>java.lang.Character</code>.
* @see UCharacterDirection
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static interface ECharacterDirection {
/**
@ -259,7 +259,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for LEFT_TO_RIGHT.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT = (byte)LEFT_TO_RIGHT;
@ -272,7 +272,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for RIGHT_TO_LEFT.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT = (byte)RIGHT_TO_LEFT;
@ -285,7 +285,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for EUROPEAN_NUMBER.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_EUROPEAN_NUMBER = (byte)EUROPEAN_NUMBER;
@ -298,7 +298,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for EUROPEAN_NUMBER_SEPARATOR.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR = (byte)EUROPEAN_NUMBER_SEPARATOR;
@ -311,7 +311,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for EUROPEAN_NUMBER_TERMINATOR.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR = (byte)EUROPEAN_NUMBER_TERMINATOR;
@ -324,7 +324,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for ARABIC_NUMBER.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_ARABIC_NUMBER = (byte)ARABIC_NUMBER;
@ -337,7 +337,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for COMMON_NUMBER_SEPARATOR.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_COMMON_NUMBER_SEPARATOR = (byte)COMMON_NUMBER_SEPARATOR;
@ -350,7 +350,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for BLOCK_SEPARATOR.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_PARAGRAPH_SEPARATOR = (byte)BLOCK_SEPARATOR;
@ -363,7 +363,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for SEGMENT_SEPARATOR.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_SEGMENT_SEPARATOR = (byte)SEGMENT_SEPARATOR;
@ -376,7 +376,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for WHITE_SPACE_NEUTRAL.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_WHITESPACE = (byte)WHITE_SPACE_NEUTRAL;
@ -389,7 +389,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for OTHER_NEUTRAL.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_OTHER_NEUTRALS = (byte)OTHER_NEUTRAL;
@ -402,7 +402,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for LEFT_TO_RIGHT_EMBEDDING.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING = (byte)LEFT_TO_RIGHT_EMBEDDING;
@ -415,7 +415,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for LEFT_TO_RIGHT_OVERRIDE.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE = (byte)LEFT_TO_RIGHT_OVERRIDE;
@ -428,7 +428,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for RIGHT_TO_LEFT_ARABIC.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC = (byte)RIGHT_TO_LEFT_ARABIC;
@ -441,7 +441,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for RIGHT_TO_LEFT_EMBEDDING.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING = (byte)RIGHT_TO_LEFT_EMBEDDING;
@ -454,7 +454,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for RIGHT_TO_LEFT_OVERRIDE.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE = (byte)RIGHT_TO_LEFT_OVERRIDE;
@ -467,7 +467,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for POP_DIRECTIONAL_FORMAT.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_POP_DIRECTIONAL_FORMAT = (byte)POP_DIRECTIONAL_FORMAT;
@ -480,7 +480,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for DIR_NON_SPACING_MARK.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_NONSPACING_MARK = (byte)DIR_NON_SPACING_MARK;
@ -493,7 +493,7 @@ public class UCharacterEnums {
/**
* JDK-compatible synonym for BOUNDARY_NEUTRAL.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_BOUNDARY_NEUTRAL = (byte)BOUNDARY_NEUTRAL;
@ -507,7 +507,7 @@ public class UCharacterEnums {
* Undefined bidirectional character type. Undefined <code>char</code>
* values have undefined directionality in the Unicode specification.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final byte DIRECTIONALITY_UNDEFINED = -1;
}

View File

@ -1,6 +1,6 @@
/**
*******************************************************************************
* Copyright (C) 1996-2005, international Business Machines Corporation and *
* Copyright (C) 1996-2006, international Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -318,7 +318,7 @@ public interface UProperty
* Sentence Terminal. Used in UAX #29: Text Boundaries
* (http://www.unicode.org/reports/tr29/)
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int S_TERM = 35;
@ -328,7 +328,7 @@ public interface UProperty
* For details on the behavior of these characters,
* see StandardizedVariants.html and 15.6 Variation Selectors.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int VARIATION_SELECTOR = 36;
@ -355,7 +355,7 @@ public interface UProperty
* See also com.ibm.text.UCD.NFSkippable in the ICU4J repository,
* and icu/source/common/unormimp.h .
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NFD_INERT = 37;
@ -368,7 +368,7 @@ public interface UProperty
* text additions.
* @see #NFD_INERT
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NFKD_INERT = 38;
@ -381,7 +381,7 @@ public interface UProperty
* text additions.
* @see #NFD_INERT
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NFC_INERT = 39;
@ -394,7 +394,7 @@ public interface UProperty
* text additions.
* @see #NFD_INERT
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NFKC_INERT = 40;
@ -409,7 +409,7 @@ public interface UProperty
* canonically equivalent strings, e.g. for canonical closure while
* processing collation tailoring rules.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int SEGMENT_STARTER = 41;
@ -418,7 +418,7 @@ public interface UProperty
* See UAX #31 Identifier and Pattern Syntax
* (http://www.unicode.org/reports/tr31/)
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int PATTERN_SYNTAX = 42;
@ -427,7 +427,7 @@ public interface UProperty
* See UAX #31 Identifier and Pattern Syntax
* (http://www.unicode.org/reports/tr31/)
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int PATTERN_WHITE_SPACE = 43;
@ -436,7 +436,7 @@ public interface UProperty
* Implemented according to the UTS #18 Annex C Standard Recommendation.
* See the UCharacter class documentation.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int POSIX_ALNUM = 44;
@ -445,7 +445,7 @@ public interface UProperty
* Implemented according to the UTS #18 Annex C Standard Recommendation.
* See the UCharacter class documentation.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int POSIX_BLANK = 45;
@ -454,7 +454,7 @@ public interface UProperty
* Implemented according to the UTS #18 Annex C Standard Recommendation.
* See the UCharacter class documentation.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int POSIX_GRAPH = 46;
@ -463,7 +463,7 @@ public interface UProperty
* Implemented according to the UTS #18 Annex C Standard Recommendation.
* See the UCharacter class documentation.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int POSIX_PRINT = 47;
@ -472,7 +472,7 @@ public interface UProperty
* Implemented according to the UTS #18 Annex C Standard Recommendation.
* See the UCharacter class documentation.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int POSIX_XDIGIT = 48;
@ -578,7 +578,7 @@ public interface UProperty
* Enumerated property NFD_Quick_Check.
* Returns numeric values compatible with Normalizer.QuickCheckResult.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NFD_QUICK_CHECK = 0x100C;
@ -586,7 +586,7 @@ public interface UProperty
* Enumerated property NFKD_Quick_Check.
* Returns numeric values compatible with Normalizer.QuickCheckResult.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NFKD_QUICK_CHECK = 0x100D;
@ -594,7 +594,7 @@ public interface UProperty
* Enumerated property NFC_Quick_Check.
* Returns numeric values compatible with Normalizer.QuickCheckResult.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NFC_QUICK_CHECK = 0x100E;
@ -602,7 +602,7 @@ public interface UProperty
* Enumerated property NFKC_Quick_Check.
* Returns numeric values compatible with Normalizer.QuickCheckResult.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NFKC_QUICK_CHECK = 0x100F;
@ -614,7 +614,7 @@ public interface UProperty
* see Normalizer.FCD and http://www.unicode.org/notes/tn5/#FCD .
* Returns 8-bit numeric values like CANONICAL_COMBINING_CLASS.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int LEAD_CANONICAL_COMBINING_CLASS = 0x1010;
@ -626,7 +626,7 @@ public interface UProperty
* see Normalizer.FCD and http://www.unicode.org/notes/tn5/#FCD .
* Returns 8-bit numeric values like CANONICAL_COMBINING_CLASS.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TRAIL_CANONICAL_COMBINING_CLASS = 0x1011;
@ -636,7 +636,7 @@ public interface UProperty
* (http://www.unicode.org/reports/tr29/)
* Returns UGraphemeClusterBreak values.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int GRAPHEME_CLUSTER_BREAK = 0x1012;
@ -646,7 +646,7 @@ public interface UProperty
* (http://www.unicode.org/reports/tr29/)
* Returns USentenceBreak values.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int SENTENCE_BREAK = 0x1013;
@ -656,7 +656,7 @@ public interface UProperty
* (http://www.unicode.org/reports/tr29/)
* Returns UWordBreakValues values.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int WORD_BREAK = 0x1014;

View File

@ -1,6 +1,6 @@
/**
*******************************************************************************
* Copyright (C) 2001-2005, International Business Machines Corporation and *
* Copyright (C) 2001-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -329,7 +329,7 @@ public final class UScript {
/**
* New script code in Unicode 4.0.1
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int KATAKANA_OR_HIRAGANA = 54; /*Hrkt */
@ -338,43 +338,43 @@ public final class UScript {
/**
* New script code in Unicode 4.1
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int BUGINESE = 55; /* Bugi */
/**
* New script code in Unicode 4.1
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int GLAGOLITIC = 56; /* Glag */
/**
* New script code in Unicode 4.1
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int KHAROSHTHI = 57; /* Khar */
/**
* New script code in Unicode 4.1
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int SYLOTI_NAGRI = 58; /* Sylo */
/**
* New script code in Unicode 4.1
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NEW_TAI_LUE = 59; /* Talu */
/**
* New script code in Unicode 4.1
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TIFINAGH = 60; /* Tfng */
/**
* New script code in Unicode 4.1
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int OLD_PERSIAN = 61; /* Xpeo */
@ -445,7 +445,7 @@ public final class UScript {
* @param locale ULocale
* @return The script codes array. null if the the code cannot be found.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int[] getCode(ULocale locale){
return findCodeFromLocale(locale);

View File

@ -1,6 +1,6 @@
/*
**********************************************************************
* Copyright (c) 2004-2005, International Business Machines
* Copyright (c) 2004-2006, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Author: Alan Liu
@ -22,7 +22,7 @@ import com.ibm.icu.util.ULocale;
* @see com.ibm.icu.text.UFormat
* @author Alan Liu
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public abstract class MeasureFormat extends UFormat {
// Generated by serialver from JDK 1.4.1_01
@ -39,7 +39,7 @@ public abstract class MeasureFormat extends UFormat {
* @param locale desired locale
* @return a formatter object
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static MeasureFormat getCurrencyFormat(ULocale locale) {
return new CurrencyFormat(locale);
@ -50,7 +50,7 @@ public abstract class MeasureFormat extends UFormat {
* locale.
* @return a formatter object
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static MeasureFormat getCurrencyFormat() {
return getCurrencyFormat(ULocale.getDefault());

View File

@ -1130,7 +1130,7 @@ public class MessageFormat extends UFormat {
// * <code>AttributedCharacterIterator</code> returned
// * from <code>MessageFormat.formatToCharacterIterator</code>.
// * @draft ICU 3.0
// * @deprecated This is a draft API and might change in a future release of ICU.
// * @provisional This API might change or be removed in a future release.
// */
// public static class Field extends Format.Field {
// /**
@ -1648,7 +1648,7 @@ public class MessageFormat extends UFormat {
* @param pattern the 'apostrophe-friendly' patttern to convert
* @return the standard equivalent of the original pattern
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static String autoQuoteApostrophe(String pattern) {
StringBuffer buf = new StringBuffer(pattern.length()*2);

View File

@ -1,6 +1,6 @@
/**
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -93,7 +93,7 @@ public final class RawCollationKey extends ByteArrayWrapper
* greater than rhs.
* @throws ClassCastException if the other object is not a RawCollationKey.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public int compareTo(Object rhs) {
int result = super.compareTo((RawCollationKey)rhs);

View File

@ -1,7 +1,7 @@
//##header
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -627,7 +627,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* @param localizations a list of localizations for the rule set
* names in the description.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public RuleBasedNumberFormat(String description, String[][] localizations) {
locale = ULocale.getDefault();
@ -663,7 +663,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* formatting values in numerals, and which characters are equivalent in
* lenient parsing.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public RuleBasedNumberFormat(String description, ULocale locale) {
this.locale = locale;
@ -694,7 +694,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* formatting values in numerals, and determines which characters are equivalent in
* lenient parsing.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public RuleBasedNumberFormat(String description, String[][] localizations, ULocale locale) {
this.locale = locale;
@ -728,7 +728,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* an ordinal suffix from the desired language to the end of a number (e.g. "123rd"),
* and DURATION, which formats a duration in seconds as hours, minutes, and seconds.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public RuleBasedNumberFormat(ULocale locale, int format) {
this.locale = locale;
@ -908,7 +908,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* for the rule sets in this formatter. If there are no localized display names, return null.
* @return an array of the ulocales for which there is rule set display name information
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public ULocale[] getRuleSetDisplayNameLocales() {
if (ruleSetDisplayNames != null) {
@ -950,7 +950,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* @return an array of the locales that have display name information
* @see #getRuleSetNames
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String[] getRuleSetDisplayNames(ULocale locale) {
String[] names = getNameListForLocale(locale);
@ -969,7 +969,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* @return an array of the display names
* @draft ICU 3.2
* @see #getRuleSetDisplayNames(ULocale)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String[] getRuleSetDisplayNames() {
return getRuleSetDisplayNames(ULocale.getDefault());
@ -983,7 +983,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* @draft ICU 3.2
* @see #getRuleSetDisplayNames
* @throws IllegalArgumentException if ruleSetName is not a valid rule set name for this format
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getRuleSetDisplayName(String ruleSetName, ULocale locale) {
String[] rsnames = publicRuleSetNames;
@ -1004,7 +1004,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* @return the display name for the rule set
* @draft ICU 3.2
* @see #getRuleSetDisplayName(String,ULocale)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getRuleSetDisplayName(String ruleSetName) {
return getRuleSetDisplayName(ruleSetName, ULocale.getDefault());
@ -1285,7 +1285,7 @@ public class RuleBasedNumberFormat extends NumberFormat {
* Return the name of the current default rule set.
* @return the name of the current default rule set, if it is public, else the empty string.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getDefaultRuleSetName() {
if (defaultRuleSet != null && defaultRuleSet.isPublic()) {

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -326,7 +326,7 @@ public class SimpleDateFormat extends DateFormat {
* <b>Note:</b> Not all locales support SimpleDateFormat; for full
* generality, use the factory methods in the DateFormat class.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public SimpleDateFormat(String pattern, ULocale loc)
{

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -244,7 +244,7 @@ public final class StringSearch extends SearchIterator
* @see RuleBasedCollator
* @see SearchIterator
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public StringSearch(String pattern, CharacterIterator target, ULocale locale)
{

View File

@ -1230,7 +1230,7 @@ public abstract class Transliterator {
* localized.
* @see java.text.MessageFormat
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static String getDisplayName(String id, ULocale inLocale) {
@ -1524,7 +1524,7 @@ public abstract class Transliterator {
* @return an array of one or more transliterators that make up
* this transliterator
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Transliterator[] getElements() {
Transliterator result[];
@ -1681,7 +1681,7 @@ public abstract class Transliterator {
* @param aliasID The new ID being registered.
* @param realID The existing ID that the new ID should be an alias of.
* @draft ICU 3.4.1
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static void registerAlias(String aliasID, String realID) {
registry.put(aliasID, realID, true);

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 2003-2005, International Business Machines Corporation and *
* Copyright (C) 2003-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -18,7 +18,7 @@ import com.ibm.icu.util.ULocale;
* @author weiv
* @author Alan Liu
* @draft ICU 2.8 (retain)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public abstract class UFormat extends Format {
// jdk1.4.2 serialver
@ -26,7 +26,7 @@ public abstract class UFormat extends Format {
/**
* @draft ICU 2.8 (retain)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public UFormat() {}
@ -54,7 +54,7 @@ public abstract class UFormat extends Format {
* @see com.ibm.icu.util.ULocale#VALID_LOCALE
* @see com.ibm.icu.util.ULocale#ACTUAL_LOCALE
* @draft ICU 2.8 (retain)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public final ULocale getLocale(ULocale.Type type) {
return type == ULocale.ACTUAL_LOCALE ?

View File

@ -1072,7 +1072,7 @@ public final class UTF16
* @return the updated StringBuffer
* @throws IllegalArgumentException if cp is not a valid code point
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static StringBuffer appendCodePoint(StringBuffer target, int cp) {
return append(target, cp);
@ -2385,7 +2385,7 @@ public final class UTF16
* @throws IllegalArgumentException if an invalid code point is encountered
* @throws IndexOutOfBoundsException if the offset or count are out of bounds.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static String newString(int[] codePoints, int offset, int count) {
if (count < 0) {

View File

@ -426,7 +426,7 @@ public class UnicodeSet extends UnicodeFilter {
* @exception java.lang.IllegalArgumentException if the pattern
* contains a syntax error.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public UnicodeSet(String pattern, ParsePosition pos, SymbolTable symbols, int options) {
this();
@ -2965,7 +2965,7 @@ public class UnicodeSet extends UnicodeFilter {
* is available. If true, then everything else is skipped.
* @return this set
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public UnicodeSet applyPropertyAlias(String propertyAlias,
String valueAlias, SymbolTable symbols) {
@ -3313,7 +3313,7 @@ public class UnicodeSet extends UnicodeFilter {
* also has both USET_CASE and USET_CASE_INSENSITIVE (see uset.h).
* @see #CASE
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int CASE_INSENSITIVE = 2;
@ -3328,7 +3328,7 @@ public class UnicodeSet extends UnicodeFilter {
* title-, and uppercase mappings as well as the case folding
* of each existing element in the set.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ADD_CASE_MAPPINGS = 4;

View File

@ -1,5 +1,5 @@
/*********************************************************************
* Copyright (C) 2000-2005, International Business Machines Corporation and
* Copyright (C) 2000-2006, International Business Machines Corporation and
* others. All Rights Reserved.
*********************************************************************
*/
@ -157,7 +157,7 @@ public class ChineseCalendar extends Calendar {
* @param zone time zone for this calendar
* @param locale ulocale for this calendar
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public ChineseCalendar(TimeZone zone, ULocale locale) {
super(zone, locale);

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 2005, International Business Machines Corporation and *
* Copyright (C) 2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -18,7 +18,7 @@ import java.util.Locale;
*
* @see com.ibm.icu.util.Calendar
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public final class CopticCalendar extends CECalendar
{
@ -29,7 +29,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u03c9\u03bf\u03b3\u03c4/\u062a\ufeee\ufe97,
* the 1st month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TOUT = 0;
@ -37,7 +37,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u03a0\u03b1\u03bf\u03c0\u03b9/\ufeea\ufe91\ufe8e\ufe91,
* the 2nd month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int BABA = 1;
@ -45,7 +45,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u0391\u03b8\u03bf\u03c1/\u0631\ufeee\ufe97\ufe8e\ufeeb,
* the 3rd month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int HATOR = 2;
@ -53,7 +53,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u03a7\u03bf\u03b9\u03b1\u03ba/\ufeda\ufeec\ufef4\ufedb,
* the 4th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int KIAHK = 3;
@ -61,7 +61,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u03a4\u03c9\u03b2\u03b9/\u0637\ufeee\ufe92\ufeeb,
* the 5th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TOBA = 4;
@ -69,7 +69,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u039c\u03b5\u03e3\u03b9\u03c1/\ufeae\ufef4\ufeb8\ufee3\u0623,
* the 6th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int AMSHIR = 5;
@ -77,7 +77,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u03a0\u03b1\u03c1\u03b5\u03bc\u03e9\u03b1\u03c4/\u062a\ufe8e\ufeec\ufee3\ufeae\ufe91,
* the 7th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int BARAMHAT = 6;
@ -85,7 +85,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u03a6\u03b1\u03c1\u03bc\u03bf\u03b8\u03b9/\u0647\u062f\ufeee\ufee3\ufeae\ufe91,
* the 8th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int BARAMOUDA = 7;
@ -93,7 +93,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u03a0\u03b1\u03e3\u03b1\u03bd/\ufeb2\ufee8\ufeb8\ufe91,
* the 9th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int BASHANS = 8;
@ -101,7 +101,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u03a0\u03b1\u03c9\u03bd\u03b9/\ufeea\ufee7\u0624\ufeee\ufe91,
* the 10th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int PAONA = 9;
@ -109,7 +109,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u0395\u03c0\u03b7\u03c0/\ufe90\ufef4\ufe91\u0623,
* the 11th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int EPEP = 10;
@ -117,7 +117,7 @@ public final class CopticCalendar extends CECalendar
* Constant for \u039c\u03b5\u03f2\u03c9\u03c1\u03b7/\u0649\ufeae\ufeb4\ufee3,
* the 12th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MESRA = 11;
@ -127,7 +127,7 @@ public final class CopticCalendar extends CECalendar
* \ufeae\ufeec\ufeb8\ufedf\u0627,
* the 13th month of the Coptic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NASIE = 12;
@ -143,7 +143,7 @@ public final class CopticCalendar extends CECalendar
* in the default time zone with the default locale.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CopticCalendar() {
super();
@ -156,7 +156,7 @@ public final class CopticCalendar extends CECalendar
* @param zone The time zone for the new calendar.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CopticCalendar(TimeZone zone) {
super(zone);
@ -168,7 +168,7 @@ public final class CopticCalendar extends CECalendar
*
* @param aLocale The locale for the new calendar.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CopticCalendar(Locale aLocale) {
super(aLocale);
@ -181,7 +181,7 @@ public final class CopticCalendar extends CECalendar
* @param locale The icu locale for the new calendar.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CopticCalendar(ULocale locale) {
super(locale);
@ -195,7 +195,7 @@ public final class CopticCalendar extends CECalendar
* @param aLocale The locale for the new calendar.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CopticCalendar(TimeZone zone, Locale aLocale) {
super(zone, aLocale);
@ -209,7 +209,7 @@ public final class CopticCalendar extends CECalendar
* @param locale The icu locale for the new calendar.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CopticCalendar(TimeZone zone, ULocale locale) {
super(zone, locale);
@ -225,7 +225,7 @@ public final class CopticCalendar extends CECalendar
* @param date The value used to set the calendar's {@link #DATE DATE} time field.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CopticCalendar(int year, int month, int date) {
super(year, month, date);
@ -238,7 +238,7 @@ public final class CopticCalendar extends CECalendar
* @param date The date to which the new calendar is set.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CopticCalendar(Date date) {
super(date);
@ -257,7 +257,7 @@ public final class CopticCalendar extends CECalendar
* @param second The value used to set the calendar's {@link #SECOND SECOND} time field.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CopticCalendar(int year, int month, int date, int hour,
int minute, int second) {
@ -272,7 +272,7 @@ public final class CopticCalendar extends CECalendar
* @param date the day
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static int copticToJD(long year, int month, int date) {
return ceToJD(year, month, date, JD_EPOCH_OFFSET);

View File

@ -1,6 +1,6 @@
/**
*******************************************************************************
* Copyright (C) 2001-2005, International Business Machines Corporation and *
* Copyright (C) 2001-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -106,7 +106,7 @@ public class Currency extends MeasureUnit implements Serializable {
* Returns a currency object for the default currency in the given
* locale.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static Currency getInstance(ULocale locale) {
String currency = locale.getKeywordValue("currency");
@ -202,7 +202,7 @@ public class Currency extends MeasureUnit implements Serializable {
* @return a registry key that can be used to unregister this currency
* @see #unregister
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static Object registerInstance(Currency currency, ULocale locale) {
return getShim().registerInstance(currency, locale);
@ -293,7 +293,7 @@ public class Currency extends MeasureUnit implements Serializable {
* requests the symbol name.
* @see #getName
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getSymbol() {
return getSymbol(ULocale.getDefault());
@ -305,7 +305,7 @@ public class Currency extends MeasureUnit implements Serializable {
* @param loc the Locale for the symbol
* @see #getName
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getSymbol(Locale loc) {
return getSymbol(ULocale.forLocale(loc));
@ -317,7 +317,7 @@ public class Currency extends MeasureUnit implements Serializable {
* @param uloc the ULocale for the symbol
* @see #getName
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getSymbol(ULocale uloc) {
return getName(uloc, SYMBOL_NAME, new boolean[1]);
@ -337,7 +337,7 @@ public class Currency extends MeasureUnit implements Serializable {
* returned. If isChoiceFormat[0] is true, then the result is a
* ChoiceFormat pattern. Otherwise it is a static string.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getName(Locale locale,
int nameStyle,
@ -359,7 +359,7 @@ public class Currency extends MeasureUnit implements Serializable {
* returned. If isChoiceFormat[0] is true, then the result is a
* ChoiceFormat pattern. Otherwise it is a static string.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getName(ULocale locale,
int nameStyle,
@ -603,7 +603,7 @@ public class Currency extends MeasureUnit implements Serializable {
*
* @param theISOCode The iso code used to construct the currency.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
protected Currency(String theISOCode) {
isoCode = theISOCode;
@ -695,7 +695,7 @@ public class Currency extends MeasureUnit implements Serializable {
* @see com.ibm.icu.util.ULocale#VALID_LOCALE
* @see com.ibm.icu.util.ULocale#ACTUAL_LOCALE
* @obsolete ICU 3.2 to be removed
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public final ULocale getLocale(ULocale.Type type) {
return ULocale.ROOT;

View File

@ -1,6 +1,6 @@
/*
**********************************************************************
* Copyright (c) 2004, International Business Machines
* Copyright (c) 2006, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Author: Alan Liu
@ -20,7 +20,7 @@ import java.lang.Number;
* @see Currency
* @author Alan Liu
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public class CurrencyAmount extends Measure {
@ -29,7 +29,7 @@ public class CurrencyAmount extends Measure {
* @param number the number
* @param currency the currency
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CurrencyAmount(Number number, Currency currency) {
super(number, currency);
@ -40,7 +40,7 @@ public class CurrencyAmount extends Measure {
* @param number a double value
* @param currency the currency
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public CurrencyAmount(double number, Currency currency) {
super(new Double(number), currency);
@ -50,7 +50,7 @@ public class CurrencyAmount extends Measure {
* Returns the currency of this object.
* @return this object's Currency
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Currency getCurrency() {
return (Currency) getUnit();

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -17,7 +17,7 @@ import java.util.Date;
*
* @see SimpleDateRule
* @draft ICU 2.8 (retainAll)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public interface DateRule
{
@ -32,7 +32,7 @@ public interface DateRule
*
* @see #firstBetween
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
abstract public Date firstAfter(Date start);
@ -49,7 +49,7 @@ public interface DateRule
*
* @see #firstAfter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
abstract public Date firstBetween(Date start, Date end);
@ -63,7 +63,7 @@ public interface DateRule
* @param date The date to check.
* @return true if this event occurs on the given date.
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
abstract public boolean isOn(Date date);
@ -71,7 +71,7 @@ public interface DateRule
* Check whether this event occurs at least once between the two
* dates given.
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
abstract public boolean isBetween(Date start, Date end);
};

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -14,7 +14,7 @@ import java.util.Date;
* a fixed number of days before or after Easter. Supports both the
* Western and Orthodox methods for calculating Easter.
* @draft ICU 2.8 (retainAll)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public class EasterHoliday extends Holiday
{
@ -23,7 +23,7 @@ public class EasterHoliday extends Holiday
*
* @param name The name of the holiday
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EasterHoliday(String name)
{
@ -37,7 +37,7 @@ public class EasterHoliday extends Holiday
* @param daysAfter The number of days before (-) or after (+) Easter
* @param name The name of the holiday
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EasterHoliday(int daysAfter, String name)
{
@ -53,7 +53,7 @@ public class EasterHoliday extends Holiday
* @param orthodox Use the Orthodox calendar?
* @param name The name of the holiday
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EasterHoliday(int daysAfter, boolean orthodox, String name)
{
@ -63,84 +63,84 @@ public class EasterHoliday extends Holiday
/**
* Shrove Tuesday, aka Mardi Gras, 48 days before Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday SHROVE_TUESDAY = new EasterHoliday(-48, "Shrove Tuesday");
/**
* Ash Wednesday, start of Lent, 47 days before Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday ASH_WEDNESDAY = new EasterHoliday(-47, "Ash Wednesday");
/**
* Palm Sunday, 7 days before Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday PALM_SUNDAY = new EasterHoliday( -7, "Palm Sunday");
/**
* Maundy Thursday, 3 days before Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday MAUNDY_THURSDAY = new EasterHoliday( -3, "Maundy Thursday");
/**
* Good Friday, 2 days before Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday GOOD_FRIDAY = new EasterHoliday( -2, "Good Friday");
/**
* Easter Sunday
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday EASTER_SUNDAY = new EasterHoliday( 0, "Easter Sunday");
/**
* Easter Monday, 1 day after Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday EASTER_MONDAY = new EasterHoliday( 1, "Easter Monday");
/**
* Ascension, 39 days after Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday ASCENSION = new EasterHoliday( 39, "Ascension");
/**
* Pentecost (aka Whit Sunday), 49 days after Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday PENTECOST = new EasterHoliday( 49, "Pentecost");
/**
* Whit Sunday (aka Pentecost), 49 days after Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday WHIT_SUNDAY = new EasterHoliday( 49, "Whit Sunday");
/**
* Whit Monday, 50 days after Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday WHIT_MONDAY = new EasterHoliday( 50, "Whit Monday");
/**
* Corpus Christi, 60 days after Easter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
static public final EasterHoliday CORPUS_CHRISTI = new EasterHoliday( 60, "Corpus Christi");
}

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 2005, International Business Machines Corporation and *
* Copyright (C) 2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -18,7 +18,7 @@ import java.util.Locale;
*
* @see com.ibm.icu.util.Calendar
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public final class EthiopicCalendar extends CECalendar
{
@ -28,91 +28,91 @@ public final class EthiopicCalendar extends CECalendar
/**
* Constant for \u1218\u1235\u12a8\u1228\u121d, the 1st month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MESKEREM = 0;
/**
* Constant for \u1325\u1245\u121d\u1275, the 2nd month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TEKEMT = 1;
/**
* Constant for \u1285\u12f3\u122d, the 3rd month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int HEDAR = 2;
/**
* Constant for \u1273\u1285\u1223\u1225, the 4th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TAHSAS = 3;
/**
* Constant for \u1325\u122d, the 5th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TER = 4;
/**
* Constant for \u12e8\u12ab\u1272\u1275, the 6th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int YEKATIT = 5;
/**
* Constant for \u1218\u130b\u1262\u1275, the 7th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MEGABIT = 6;
/**
* Constant for \u121a\u12eb\u12dd\u12eb, the 8th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MIAZIA = 7;
/**
* Constant for \u130d\u1295\u1266\u1275, the 9th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int GENBOT = 8;
/**
* Constant for \u1230\u1294, the 10th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int SENE = 9;
/**
* Constant for \u1210\u121d\u120c, the 11th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int HAMLE = 10;
/**
* Constant for \u1290\u1210\u1234, the 12th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int NEHASSE = 11;
/**
* Constant for \u1333\u1309\u121c\u1295, the 13th month of the Ethiopic year.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int PAGUMEN = 12;
@ -151,7 +151,7 @@ public final class EthiopicCalendar extends CECalendar
* in the default time zone with the default locale.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EthiopicCalendar() {
super();
@ -164,7 +164,7 @@ public final class EthiopicCalendar extends CECalendar
* @param zone The time zone for the new calendar.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EthiopicCalendar(TimeZone zone) {
super(zone);
@ -176,7 +176,7 @@ public final class EthiopicCalendar extends CECalendar
*
* @param aLocale The locale for the new calendar.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EthiopicCalendar(Locale aLocale) {
super(aLocale);
@ -189,7 +189,7 @@ public final class EthiopicCalendar extends CECalendar
* @param locale The icu locale for the new calendar.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EthiopicCalendar(ULocale locale) {
super(locale);
@ -203,7 +203,7 @@ public final class EthiopicCalendar extends CECalendar
* @param aLocale The locale for the new calendar.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EthiopicCalendar(TimeZone zone, Locale aLocale) {
super(zone, aLocale);
@ -217,7 +217,7 @@ public final class EthiopicCalendar extends CECalendar
* @param locale The icu locale for the new calendar.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EthiopicCalendar(TimeZone zone, ULocale locale) {
super(zone, locale);
@ -233,7 +233,7 @@ public final class EthiopicCalendar extends CECalendar
* @param date The value used to set the calendar's {@link #DATE DATE} time field.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EthiopicCalendar(int year, int month, int date) {
super(year, month, date);
@ -246,7 +246,7 @@ public final class EthiopicCalendar extends CECalendar
* @param date The date to which the new calendar is set.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EthiopicCalendar(Date date) {
super(date);
@ -265,7 +265,7 @@ public final class EthiopicCalendar extends CECalendar
* @param second The value used to set the calendar's {@link #SECOND SECOND} time field.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public EthiopicCalendar(int year, int month, int date, int hour,
int minute, int second)
@ -281,7 +281,7 @@ public final class EthiopicCalendar extends CECalendar
* @param date the day
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static int EthiopicToJD(long year, int month, int date) {
return ceToJD(year, month, date, JD_EPOCH_OFFSET_AMETE_MIHRET);
@ -300,7 +300,7 @@ public final class EthiopicCalendar extends CECalendar
* @param onOff Set Amete Alem era if true, otherwise set Amete Mihret era.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public void setAmeteAlemEra(boolean onOff) {
this.jdEpochOffset = onOff
@ -314,7 +314,7 @@ public final class EthiopicCalendar extends CECalendar
* @return true if set to the Amete Alem era.
*
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean isAmeteAlemEra() {
return this.jdEpochOffset == JD_EPOCH_OFFSET_AMETE_ALEM;

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 1996-2005, International Business Machines
* Copyright (C) 1996-2006, International Business Machines
* Corporation and others. All Rights Reserved.
*/
package com.ibm.icu.util;
@ -361,7 +361,7 @@ public class GregorianCalendar extends Calendar {
* in the default time zone with the given locale.
* @param locale the given ulocale.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public GregorianCalendar(ULocale locale) {
this(TimeZone.getDefault(), locale);
@ -385,7 +385,7 @@ public class GregorianCalendar extends Calendar {
* @param zone the given time zone.
* @param locale the given ulocale.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public GregorianCalendar(TimeZone zone, ULocale locale) {
super(zone, locale);

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -311,7 +311,7 @@ public class HebrewCalendar extends Calendar {
*
* @param locale The locale for the new calendar.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public HebrewCalendar(ULocale locale) {
this(TimeZone.getDefault(), locale);
@ -339,7 +339,7 @@ public class HebrewCalendar extends Calendar {
*
* @param locale The locale for the new calendar.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public HebrewCalendar(TimeZone zone, ULocale locale) {
super(zone, locale);

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -9,7 +9,7 @@ package com.ibm.icu.util;
/**
* @draft ICU 2.8 (retainAll)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public class HebrewHoliday extends Holiday
{
@ -20,7 +20,7 @@ public class HebrewHoliday extends Holiday
*
* @param name The name of the holiday
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public HebrewHoliday(int month, int date, String name)
{
@ -29,7 +29,7 @@ public class HebrewHoliday extends Holiday
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public HebrewHoliday(int month, int date, int length, String name)
{
@ -38,145 +38,145 @@ public class HebrewHoliday extends Holiday
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday ROSH_HASHANAH = new HebrewHoliday(HebrewCalendar.TISHRI, 1, 2, "Rosh Hashanah");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday GEDALIAH = new HebrewHoliday(HebrewCalendar.TISHRI, 3, "Fast of Gedaliah");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday YOM_KIPPUR = new HebrewHoliday(HebrewCalendar.TISHRI, 10, "Yom Kippur");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday SUKKOT = new HebrewHoliday(HebrewCalendar.TISHRI, 15, 6, "Sukkot");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday HOSHANAH_RABBAH = new HebrewHoliday(HebrewCalendar.TISHRI, 21, "Hoshanah Rabbah");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday SHEMINI_ATZERET = new HebrewHoliday(HebrewCalendar.TISHRI, 22, "Shemini Atzeret");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday SIMCHAT_TORAH = new HebrewHoliday(HebrewCalendar.TISHRI, 23, "Simchat Torah");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday HANUKKAH = new HebrewHoliday(HebrewCalendar.KISLEV, 25, "Hanukkah");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday TEVET_10 = new HebrewHoliday(HebrewCalendar.TEVET, 10, "Fast of Tevet 10");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday TU_BSHEVAT = new HebrewHoliday(HebrewCalendar.SHEVAT, 15, "Tu B'Shevat");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday ESTHER = new HebrewHoliday(HebrewCalendar.ADAR, 13, "Fast of Esther");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday PURIM = new HebrewHoliday(HebrewCalendar.ADAR, 14, "Purim");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday SHUSHAN_PURIM = new HebrewHoliday(HebrewCalendar.ADAR, 15, "Shushan Purim");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday PASSOVER = new HebrewHoliday(HebrewCalendar.NISAN, 15, 8, "Passover");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday YOM_HASHOAH = new HebrewHoliday(HebrewCalendar.NISAN, 27, "Yom Hashoah");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday YOM_HAZIKARON = new HebrewHoliday(HebrewCalendar.IYAR, 4, "Yom Hazikaron");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday YOM_HAATZMAUT = new HebrewHoliday(HebrewCalendar.IYAR, 5, "Yom Ha'Atzmaut");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday PESACH_SHEINI = new HebrewHoliday(HebrewCalendar.IYAR, 14, "Pesach Sheini");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday LAG_BOMER = new HebrewHoliday(HebrewCalendar.IYAR, 18, "Lab B'Omer");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday YOM_YERUSHALAYIM = new HebrewHoliday(HebrewCalendar.IYAR, 28, "Yom Yerushalayim");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday SHAVUOT = new HebrewHoliday(HebrewCalendar.SIVAN, 6, 2, "Shavuot");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday TAMMUZ_17 = new HebrewHoliday(HebrewCalendar.TAMUZ, 17, "Fast of Tammuz 17");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday TISHA_BAV = new HebrewHoliday(HebrewCalendar.AV, 9, "Fast of Tisha B'Av");
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static HebrewHoliday SELIHOT = new HebrewHoliday(HebrewCalendar.ELUL, 21, "Selihot");
}

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -15,13 +15,13 @@ import java.util.ResourceBundle;
/**
* An abstract class representing a holiday.
* @draft ICU 2.8 (retainAll)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public abstract class Holiday implements DateRule
{
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static Holiday[] getHolidays()
{
@ -30,7 +30,7 @@ public abstract class Holiday implements DateRule
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static Holiday[] getHolidays(Locale locale)
{
@ -39,7 +39,7 @@ public abstract class Holiday implements DateRule
/**
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static Holiday[] getHolidays(ULocale locale)
{
@ -65,7 +65,7 @@ public abstract class Holiday implements DateRule
*
* @see #firstBetween
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Date firstAfter(Date start) {
return rule.firstAfter(start);
@ -83,7 +83,7 @@ public abstract class Holiday implements DateRule
*
* @see #firstAfter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Date firstBetween(Date start, Date end) {
return rule.firstBetween(start, end);
@ -97,7 +97,7 @@ public abstract class Holiday implements DateRule
* @param date The date to check.
* @return true if this holiday occurs on the given date.
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean isOn(Date date) {
//System.out.println(name + ".isOn(" + date.toString() + "):");
@ -108,7 +108,7 @@ public abstract class Holiday implements DateRule
* Check whether this holiday occurs at least once between the two
* dates given.
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean isBetween(Date start, Date end) {
return rule.isBetween(start, end);
@ -126,7 +126,7 @@ public abstract class Holiday implements DateRule
* falls. Holiday's implementation of the DateRule inteface
* simply delegates to this DateRule object.
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
protected Holiday(String name, DateRule rule)
{
@ -137,7 +137,7 @@ public abstract class Holiday implements DateRule
/**
* Return the name of this holiday in the language of the default locale
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getDisplayName() {
return getDisplayName(ULocale.getDefault());
@ -153,7 +153,7 @@ public abstract class Holiday implements DateRule
*
* @see ResourceBundle
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getDisplayName(Locale locale)
{
@ -170,7 +170,7 @@ public abstract class Holiday implements DateRule
*
* @see ResourceBundle
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getDisplayName(ULocale locale)
{
@ -188,7 +188,7 @@ public abstract class Holiday implements DateRule
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public DateRule getRule() {
return rule;
@ -196,7 +196,7 @@ public abstract class Holiday implements DateRule
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public void setRule(DateRule rule) {
this.rule = rule;

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -202,7 +202,7 @@ public class IslamicCalendar extends Calendar {
*
* @param locale the given ulocale.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public IslamicCalendar(ULocale locale)
{
@ -230,7 +230,7 @@ public class IslamicCalendar extends Calendar {
* @param zone the given time zone.
* @param locale the given ulocale.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public IslamicCalendar(TimeZone zone, ULocale locale)
{

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -90,7 +90,7 @@ public class JapaneseCalendar extends GregorianCalendar {
* in the default time zone with the given locale.
* @param locale the given ulocale.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public JapaneseCalendar(ULocale locale) {
super(locale);
@ -117,7 +117,7 @@ public class JapaneseCalendar extends GregorianCalendar {
*
* @param locale the given ulocale.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public JapaneseCalendar(TimeZone zone, ULocale locale) {
super(zone, locale);

View File

@ -25,56 +25,56 @@ public final class LocaleData {
/**
* EXType for {@link #getExemplarSet(int, int)}.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ES_STANDARD = 0;
/**
* EXType for {@link #getExemplarSet(int, int)}.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ES_AUXILIARY = 1;
/**
* Count of EXTypes for {@link #getExemplarSet(int, int)}.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ES_COUNT = 2;
/**
* Delimiter type for {@link #getDelimiter(int)}.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int QUOTATION_START = 0;
/**
* Delimiter type for {@link #getDelimiter(int)}.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int QUOTATION_END = 1;
/**
* Delimiter type for {@link #getDelimiter(int)}.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ALT_QUOTATION_START = 2;
/**
* Delimiter type for {@link #getDelimiter(int)}.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ALT_QUOTATION_END = 3;
/**
* Count of delimiter types for {@link #getDelimiter(int)}.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int DELIMITER_COUNT = 4;
@ -98,7 +98,7 @@ public final class LocaleData {
* value of 'options'.
* @return The set of exemplar characters for the given locale.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static UnicodeSet getExemplarSet(ULocale locale, int options) {
ICUResourceBundle bundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, locale);
@ -121,7 +121,7 @@ public final class LocaleData {
* ES_STANDARD or ES_AUXILIARY
* @return The set of exemplar characters for the given locale.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public UnicodeSet getExemplarSet(int options, int extype) {
String [] exemplarSetTypes = { "ExemplarCharacters", "AuxExemplarCharacters" };
@ -139,7 +139,7 @@ public final class LocaleData {
* @param locale Locale with thich the locale data object is associated.
* @return A locale data object.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final LocaleData getInstance(ULocale locale) {
LocaleData ld = new LocaleData();
@ -153,7 +153,7 @@ public final class LocaleData {
*
* @return A locale data object.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final LocaleData getInstance() {
return LocaleData.getInstance(ULocale.getDefault());
@ -167,7 +167,7 @@ public final class LocaleData {
* an error when no data is available for that method,
* given the locale ID supplied to the constructor.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public void setNoSubstitute(boolean setting) {
noSubstitute = setting;
@ -181,7 +181,7 @@ public final class LocaleData {
* an error when no data is available for that method,
* given the locale ID supplied to the constructor.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean getNoSubstitute() {
return noSubstitute;
@ -195,7 +195,7 @@ public final class LocaleData {
* ALT_QUOTATION_START, or ALT_QUOTATION_END.
* @return The desired delimiter string.
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getDelimiter(int type) {
String [] delimiterTypes = { "quotationStart",
@ -245,7 +245,7 @@ public final class LocaleData {
* @param locale The locale for which the measurement system to be retrieved.
* @return MeasurementSystem the measurement system used in the locale.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final MeasurementSystem getMeasurementSystem(ULocale locale){
ICUResourceBundle bundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, locale);
@ -300,7 +300,7 @@ public final class LocaleData {
* @param locale The locale for which the measurement system to be retrieved.
* @return The paper size used in the locale
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final PaperSize getPaperSize(ULocale locale){
ICUResourceBundle bundle = (ICUResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, locale);

View File

@ -1,6 +1,6 @@
/*
**********************************************************************
* Copyright (c) 2004, International Business Machines
* Copyright (c) 2006, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Author: Alan Liu
@ -28,7 +28,7 @@ import java.lang.Number;
* @see com.ibm.icu.text.MeasureFormat
* @author Alan Liu
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public abstract class Measure {
@ -41,7 +41,7 @@ public abstract class Measure {
* @param number the number
* @param unit the unit
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
protected Measure(Number number, MeasureUnit unit) {
if (number == null || unit == null) {
@ -55,7 +55,7 @@ public abstract class Measure {
* Returns true if the given object is equal to this object.
* @return true if this object is equal to the given object
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean equals(Object obj) {
if (obj == null) return false;
@ -72,7 +72,7 @@ public abstract class Measure {
* Returns a hashcode for this object.
* @return a 32-bit hash
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public int hashCode() {
return number.hashCode() ^ unit.hashCode();
@ -83,7 +83,7 @@ public abstract class Measure {
* @return a string representation consisting of the ISO currency
* code together with the numeric amount
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String toString() {
return number.toString() + ' ' + unit.toString();
@ -93,7 +93,7 @@ public abstract class Measure {
* Returns the numeric value of this object.
* @return this object's Number
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Number getNumber() {
return number;
@ -103,7 +103,7 @@ public abstract class Measure {
* Returns the unit of this object.
* @return this object's Unit
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public MeasureUnit getUnit() {
return unit;

View File

@ -1,6 +1,6 @@
/*
**********************************************************************
* Copyright (c) 2004, International Business Machines
* Copyright (c) 2006, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
* Author: Alan Liu
@ -17,7 +17,7 @@ package com.ibm.icu.util;
* @see com.ibm.icu.util.Measure
* @author Alan Liu
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public abstract class MeasureUnit {
/**

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -13,12 +13,12 @@ import java.util.Vector;
/**
* Implementation of DateRule that takes a range.
* @draft ICU 2.8 (retainAll)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public class RangeDateRule implements DateRule {
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public RangeDateRule() {
}
@ -36,7 +36,7 @@ public class RangeDateRule implements DateRule {
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public void add(DateRule rule) {
add(new Date(Long.MIN_VALUE), rule);
@ -44,7 +44,7 @@ public class RangeDateRule implements DateRule {
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public void add(Date start, DateRule rule) {
// TODO: Insert in the right place
@ -56,7 +56,7 @@ public class RangeDateRule implements DateRule {
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Date firstAfter(Date start) {
// Find the range that I should look at
@ -82,7 +82,7 @@ public class RangeDateRule implements DateRule {
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Date firstBetween(Date start, Date end) {
if (end == null) {
@ -111,7 +111,7 @@ public class RangeDateRule implements DateRule {
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean isOn(Date date) {
Range r = rangeAt(startIndex(date));
@ -122,7 +122,7 @@ public class RangeDateRule implements DateRule {
* Check whether this event occurs at least once between the two
* dates given.
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean isBetween(Date start, Date end) {
return firstBetween(start,end) == null;

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -12,7 +12,7 @@ import java.util.Date;
/**
* Simple implementation of DateRule.
* @draft ICU 2.8 (retainAll)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public class SimpleDateRule implements DateRule
{
@ -22,7 +22,7 @@ public class SimpleDateRule implements DateRule
* @param month The month in which this rule occurs (0-based).
* @param dayOfMonth The date in that month (1-based).
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public SimpleDateRule(int month, int dayOfMonth)
{
@ -50,7 +50,7 @@ public class SimpleDateRule implements DateRule
* on or after dayOfMonth. If false, the rule selects
* the first dayOfWeek on or before dayOfMonth.
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public SimpleDateRule(int month, int dayOfMonth, int dayOfWeek, boolean after)
{
@ -70,7 +70,7 @@ public class SimpleDateRule implements DateRule
*
* @see #firstBetween
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Date firstAfter(Date start)
{
@ -90,7 +90,7 @@ public class SimpleDateRule implements DateRule
*
* @see #firstAfter
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Date firstBetween(Date start, Date end)
{
@ -108,7 +108,7 @@ public class SimpleDateRule implements DateRule
* @param date The date to check.
* @return true if this event occurs on the given date.
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean isOn(Date date)
{
@ -132,7 +132,7 @@ public class SimpleDateRule implements DateRule
* Check whether this event occurs at least once between the two
* dates given.
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean isBetween(Date start, Date end)
{
@ -210,7 +210,7 @@ public class SimpleDateRule implements DateRule
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
// public void setCalendar(Calendar c) {
// calendar = c;

View File

@ -1,6 +1,6 @@
/*
*******************************************************************************
* Copyright (C) 1996-2005, International Business Machines Corporation and *
* Copyright (C) 1996-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
@ -16,7 +16,7 @@ import com.ibm.icu.util.GregorianCalendar;
* in the Gregorian calendar.
*
* @draft ICU 2.8 (retainAll)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public class SimpleHoliday extends Holiday {
/**
@ -32,7 +32,7 @@ public class SimpleHoliday extends Holiday {
*
* @see Holiday#getDisplayName(java.util.Locale)
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public SimpleHoliday(int month, int dayOfMonth, String name)
{
@ -52,7 +52,7 @@ public class SimpleHoliday extends Holiday {
*
* @see Holiday#getDisplayName(java.util.Locale)
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public SimpleHoliday(int month, int dayOfMonth, String name,
int startYear)
@ -73,7 +73,7 @@ public class SimpleHoliday extends Holiday {
*
* @see Holiday#getDisplayName(java.util.Locale)
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public SimpleHoliday(int month, int dayOfMonth, String name,
int startYear, int endYear)
@ -104,7 +104,7 @@ public class SimpleHoliday extends Holiday {
*
* @see Holiday#getDisplayName(java.util.Locale)
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name)
{
@ -115,7 +115,7 @@ public class SimpleHoliday extends Holiday {
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name,
int startYear)
@ -129,7 +129,7 @@ public class SimpleHoliday extends Holiday {
/**
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name,
int startYear, int endYear)
@ -168,7 +168,7 @@ public class SimpleHoliday extends Holiday {
/**
* New Year's Day - January 1st
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday NEW_YEARS_DAY =
new SimpleHoliday(Calendar.JANUARY, 1, "New Year's Day");
@ -176,7 +176,7 @@ public class SimpleHoliday extends Holiday {
/**
* Epiphany, January 6th
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday EPIPHANY =
new SimpleHoliday(Calendar.JANUARY, 6, "Epiphany");
@ -184,7 +184,7 @@ public class SimpleHoliday extends Holiday {
/**
* May Day, May 1st
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday MAY_DAY =
new SimpleHoliday(Calendar.MAY, 1, "May Day");
@ -192,7 +192,7 @@ public class SimpleHoliday extends Holiday {
/**
* Assumption, August 15th
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday ASSUMPTION =
new SimpleHoliday(Calendar.AUGUST, 15, "Assumption");
@ -200,7 +200,7 @@ public class SimpleHoliday extends Holiday {
/**
* All Saints' Day, November 1st
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday ALL_SAINTS_DAY =
new SimpleHoliday(Calendar.NOVEMBER, 1, "All Saints' Day");
@ -208,7 +208,7 @@ public class SimpleHoliday extends Holiday {
/**
* All Souls' Day, November 1st
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday ALL_SOULS_DAY =
new SimpleHoliday(Calendar.NOVEMBER, 2, "All Souls' Day");
@ -216,7 +216,7 @@ public class SimpleHoliday extends Holiday {
/**
* Immaculate Conception, December 8th
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday IMMACULATE_CONCEPTION =
new SimpleHoliday(Calendar.DECEMBER, 8, "Immaculate Conception");
@ -224,7 +224,7 @@ public class SimpleHoliday extends Holiday {
/**
* Christmas Eve, December 24th
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday CHRISTMAS_EVE =
new SimpleHoliday(Calendar.DECEMBER, 24, "Christmas Eve");
@ -232,7 +232,7 @@ public class SimpleHoliday extends Holiday {
/**
* Christmas, December 25th
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday CHRISTMAS =
new SimpleHoliday(Calendar.DECEMBER, 25, "Christmas");
@ -240,7 +240,7 @@ public class SimpleHoliday extends Holiday {
/**
* Boxing Day, December 26th
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday BOXING_DAY =
new SimpleHoliday(Calendar.DECEMBER, 26, "Boxing Day");
@ -248,7 +248,7 @@ public class SimpleHoliday extends Holiday {
/**
* Saint Stephen's Day, December 26th
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday ST_STEPHENS_DAY =
new SimpleHoliday(Calendar.DECEMBER, 26, "St. Stephen's Day");
@ -256,7 +256,7 @@ public class SimpleHoliday extends Holiday {
/**
* New Year's Eve, December 31st
* @draft ICU 2.8
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final SimpleHoliday NEW_YEARS_EVE =
new SimpleHoliday(Calendar.DECEMBER, 31, "New Year's Eve");

View File

@ -169,7 +169,7 @@ public class SimpleTimeZone extends JDKTimeZone {
*
* @param offsetMillis the raw offset of the time zone
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public void setRawOffset(int offsetMillis) {
raw = offsetMillis;
@ -180,7 +180,7 @@ public class SimpleTimeZone extends JDKTimeZone {
*
* @return the raw offset
* @internal revisit for ICU 3.6
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public int getRawOffset() {
return raw;
@ -498,7 +498,7 @@ public class SimpleTimeZone extends JDKTimeZone {
* Returns a string representation of this object.
* @return a string representation of this object
* @draft ICU 3.4.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String toString() {
return "SimpleTimeZone: " + getID();
@ -1016,7 +1016,7 @@ public class SimpleTimeZone extends JDKTimeZone {
* Return true if obj is a SimpleTimeZone equivalent to this.
* @return true if obj is a SimpleTimeZone equivalent to this
* @draft ICU 3.4.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean equals(Object obj){
if (this == obj) return true;
@ -1057,7 +1057,7 @@ public class SimpleTimeZone extends JDKTimeZone {
* Return the hash code.
* @return the hash code
* @draft ICU 3.4.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public int hashCode(){
int ret = (int)( super.hashCode() +
@ -1086,7 +1086,7 @@ public class SimpleTimeZone extends JDKTimeZone {
* Return a clone of this time zone.
* @return a clone of this time zone
* @draft ICU 3.4.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Object clone() {
SimpleTimeZone clone = new SimpleTimeZone( raw, getID());

View File

@ -417,7 +417,7 @@ abstract public class TimeZone implements Serializable, Cloneable {
* @return the human-readable name of this time zone in the given locale
* or in the default ulocale if the given ulocale is not recognized.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public final String getDisplayName(ULocale locale) {
return _getDisplayName(false, LONG_GENERIC, locale);
@ -469,7 +469,7 @@ abstract public class TimeZone implements Serializable, Cloneable {
* or in the default locale if the given locale is not recognized.
* @exception IllegalArgumentException style is invalid.
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public String getDisplayName(boolean daylight, int style, ULocale locale) {
if (style != SHORT && style != LONG) {
@ -754,7 +754,7 @@ abstract public class TimeZone implements Serializable, Cloneable {
* @return true if obj is a TimeZone with the same class and ID as this
* @param obj the object to compare against
* @draft ICU 3.4.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public boolean equals(Object obj){
if (this == obj) return true;
@ -766,7 +766,7 @@ abstract public class TimeZone implements Serializable, Cloneable {
* Return the hash code.
* @return the hash code
* @draft ICU 3.4.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public int hashCode(){
return ID.hashCode();

View File

@ -2577,7 +2577,7 @@ public final class ULocale implements Serializable {
* locale data, then the valid locale is <i>null</i>.
*
* @draft ICU 2.8 (retain)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static Type ACTUAL_LOCALE = new Type(0);
@ -2593,7 +2593,7 @@ public final class ULocale implements Serializable {
* <p>Note: The valid locale will be returned correctly in ICU
* 3.0 or later. In ICU 2.8, it is not returned correctly.
* @draft ICU 2.8 (retain)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static Type VALID_LOCALE = new Type(1);
@ -2603,7 +2603,7 @@ public final class ULocale implements Serializable {
* @see com.ibm.icu.util.ULocale#ACTUAL_LOCALE
* @see com.ibm.icu.util.ULocale#VALID_LOCALE
* @draft ICU 2.8 (retainAll)
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final class Type {
private int localeType;
@ -2625,7 +2625,7 @@ public final class ULocale implements Serializable {
* @param fallback if non-null, a 1-element array containing a boolean to be set with the fallback status
* @return one of the locales from the availableLocales list, or null if none match
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static ULocale acceptLanguage(String acceptLanguageList, ULocale[] availableLocales,
@ -2729,7 +2729,7 @@ public final class ULocale implements Serializable {
* @param fallback if non-null, a 1-element array containing a boolean to be set with the fallback status
* @return one of the locales from the availableLocales list, or null if none match
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static ULocale acceptLanguage(ULocale[] acceptLanguageList, ULocale[]
@ -2778,7 +2778,7 @@ public final class ULocale implements Serializable {
* @param fallback if non-null, a 1-element array containing a boolean to be set with the fallback status
* @return one of the locales from the ULocale.getAvailableLocales() list, or null if none match
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static ULocale acceptLanguage(String acceptLanguageList, boolean[] fallback) {
@ -2800,7 +2800,7 @@ public final class ULocale implements Serializable {
* @param fallback if non-null, a 1-element array containing a boolean to be set with the fallback status
* @return one of the locales from the ULocale.getAvailableLocales() list, or null if none match
* @draft ICU 3.4
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static ULocale acceptLanguage(ULocale[] acceptLanguageList, boolean[]

View File

@ -71,7 +71,7 @@ import com.ibm.icu.util.ULocale;
* UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.impl.data.LocaleElements", "en_US");
* </code>
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
* @author ram
*/
public abstract class UResourceBundle extends ResourceBundle{
@ -86,7 +86,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* if no resource bundle for the specified base name can be found
* @return a resource bundle for the given base name and locale
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static UResourceBundle getBundleInstance(String baseName, String localeName){
return getBundleInstance(baseName, localeName, ICUResourceBundle.ICU_DATA_CLASS_LOADER, false);
@ -102,7 +102,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* if no resource bundle for the specified base name can be found
* @return a resource bundle for the given base name and locale
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static UResourceBundle getBundleInstance(String baseName, String localeName, ClassLoader root){
return getBundleInstance(baseName, localeName, root, false);
@ -120,7 +120,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* if no resource bundle for the specified base name can be found
* @return a resource bundle for the given base name and locale
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*
*/
protected static UResourceBundle getBundleInstance(String baseName, String localeName, ClassLoader root, boolean disableFallback){
@ -132,7 +132,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* implicit.) This is public for compatibility with Java, whose compiler
* will generate public default constructors for an abstract class.
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public UResourceBundle() {
}
@ -144,7 +144,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* If null the bundle for default locale is opened.
* @return a resource bundle for the given locale
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static UResourceBundle getBundleInstance(ULocale locale){
if(locale==null){
@ -159,7 +159,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* If null the bundle for default locale is opened.
* @return a resource bundle for the given base name and default locale
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static UResourceBundle getBundleInstance(String baseName){
return getBundleInstance( baseName, ULocale.getDefault().toString(), ICUResourceBundle.ICU_DATA_CLASS_LOADER );
@ -173,7 +173,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* If null the bundle for default locale is opened.
* @return a resource bundle for the given base name and locale
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static UResourceBundle getBundleInstance(String baseName, Locale locale){
@ -189,7 +189,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* If null the bundle for default locale is opened.
* @return a resource bundle for the given base name and locale
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static UResourceBundle getBundleInstance(String baseName, ULocale locale){
return getBundleInstance(baseName, locale.toString(),ICUResourceBundle.ICU_DATA_CLASS_LOADER);
@ -205,7 +205,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* @param loader the loader to use
* @return a resource bundle for the given base name and locale
* @internal revisit for ICU 3.6
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static UResourceBundle getBundleInstance(String baseName, Locale locale, ClassLoader loader){
return getBundleInstance(baseName, ULocale.forLocale(locale), loader);
@ -235,7 +235,7 @@ public abstract class UResourceBundle extends ResourceBundle{
*
* @return the locale of this resource bundle
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public abstract ULocale getULocale();
@ -243,21 +243,21 @@ public abstract class UResourceBundle extends ResourceBundle{
* Gets the localeID
* @return The string representation of the localeID
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
protected abstract String getLocaleID();
/**
* Gets the base name of the resource bundle
* @return The string representation of the base name
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
protected abstract String getBaseName();
/**
* Gets the parent bundle
* @return The parent bundle
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
protected abstract UResourceBundle getParent();
@ -266,7 +266,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* Get the locale of this bundle
* @return the locale of this resource bundle
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public Locale getLocale(){
return getULocale().toLocale();
@ -470,7 +470,7 @@ public abstract class UResourceBundle extends ResourceBundle{
* if no resource bundle for the specified base name can be found
* @return a resource bundle for the given base name and locale
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
protected static synchronized UResourceBundle instantiateBundle(
String baseName, String localeName, ClassLoader root, boolean disableFallback)

View File

@ -1,6 +1,6 @@
/*
******************************************************************************
* Copyright (C) 2004-2005, International Business Machines Corporation and *
* Copyright (C) 2004-2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
******************************************************************************
*/
@ -12,7 +12,7 @@ package com.ibm.icu.util;
* is not the same type as the available resource
* @author ram
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public class UResourceTypeMismatchException extends RuntimeException {
// Generated by serialver from JDK 1.4.1_01
@ -22,7 +22,7 @@ public class UResourceTypeMismatchException extends RuntimeException {
* Constuct the exception with the given message
* @param msg the error message for this exception
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public UResourceTypeMismatchException(String msg){
super(msg);
@ -31,7 +31,7 @@ public class UResourceTypeMismatchException extends RuntimeException {
* Returns the error message stored in this exception
* @return String the error message string
* @draft ICU 3.0
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*
public String toString(){
return message;

View File

@ -1,6 +1,6 @@
/*
*********************************************************************************
* Copyright (C) 2004 - 2005, International Business Machines Corporation and *
* Copyright (C) 2004 -2006, International Business Machines Corporation and *
* others. All Rights Reserved. *
*********************************************************************************
*
@ -187,7 +187,7 @@ import java.lang.IllegalArgumentException;
* precision and range.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public final class UniversalTimeScale
@ -197,7 +197,7 @@ public final class UniversalTimeScale
* is milliseconds since January 1, 1970.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int JAVA_TIME = 0;
@ -206,7 +206,7 @@ public final class UniversalTimeScale
* is seconds since January 1, 1970.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int UNIX_TIME = 1;
@ -215,7 +215,7 @@ public final class UniversalTimeScale
* is milliseconds since January 1, 1970.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int ICU4C_TIME = 2;
@ -224,7 +224,7 @@ public final class UniversalTimeScale
* is ticks (1 tick == 100 nanoseconds) since January 1, 1601.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int WINDOWS_FILE_TIME = 3;
@ -233,7 +233,7 @@ public final class UniversalTimeScale
* Data is a <code>long</code>. Value is ticks (1 tick == 100 nanoseconds) since January 1, 0001.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int DOTNET_DATE_TIME = 4;
@ -242,7 +242,7 @@ public final class UniversalTimeScale
* is seconds since January 1, 1904.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MAC_OLD_TIME = 5;
@ -251,7 +251,7 @@ public final class UniversalTimeScale
* is milliseconds since January 1, 2001.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MAC_TIME = 6;
@ -260,7 +260,7 @@ public final class UniversalTimeScale
* is days since December 31, 1899.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int EXCEL_TIME = 7;
@ -269,7 +269,7 @@ public final class UniversalTimeScale
* is days since December 31, 1899.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int DB2_TIME = 8;
@ -277,7 +277,7 @@ public final class UniversalTimeScale
* This is the first unused time scale value.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int MAX_SCALE = 9;
@ -287,7 +287,7 @@ public final class UniversalTimeScale
*
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int UNITS_VALUE = 0;
@ -298,7 +298,7 @@ public final class UniversalTimeScale
* @see #getTimeScaleValue
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int EPOCH_OFFSET_VALUE = 1;
@ -309,7 +309,7 @@ public final class UniversalTimeScale
* @see #getTimeScaleValue
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int FROM_MIN_VALUE = 2;
@ -320,7 +320,7 @@ public final class UniversalTimeScale
* @see #getTimeScaleValue
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int FROM_MAX_VALUE = 3;
@ -331,7 +331,7 @@ public final class UniversalTimeScale
* @see #getTimeScaleValue
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TO_MIN_VALUE = 4;
@ -342,7 +342,7 @@ public final class UniversalTimeScale
* @see #getTimeScaleValue
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int TO_MAX_VALUE = 5;
@ -356,7 +356,7 @@ public final class UniversalTimeScale
* @see #getTimeScaleValue
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static final int EPOCH_OFFSET_PLUS_1_VALUE = 6;
@ -506,7 +506,7 @@ public final class UniversalTimeScale
* @return The datetime converted to the universal time scale
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static long from(long otherTime, int timeScale)
{
@ -526,7 +526,7 @@ public final class UniversalTimeScale
* @return The datetime converted to the universal time scale
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static BigDecimal bigDecimalFrom(double otherTime, int timeScale)
{
@ -549,7 +549,7 @@ public final class UniversalTimeScale
* @return The datetime converted to the universal time scale
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static BigDecimal bigDecimalFrom(long otherTime, int timeScale)
{
@ -572,7 +572,7 @@ public final class UniversalTimeScale
* @return The datetime converted to the universal time scale
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static BigDecimal bigDecimalFrom(BigDecimal otherTime, int timeScale)
{
@ -623,7 +623,7 @@ public final class UniversalTimeScale
* @return The datetime converted to the given time scale
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static long toLong(long universalTime, int timeScale)
{
@ -653,7 +653,7 @@ public final class UniversalTimeScale
* @return The datetime converted to the given time scale
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static BigDecimal toBigDecimal(long universalTime, int timeScale)
{
@ -674,7 +674,7 @@ public final class UniversalTimeScale
* @return The datetime converted to the given time scale
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static BigDecimal toBigDecimal(BigDecimal universalTime, int timeScale)
{
@ -713,7 +713,7 @@ public final class UniversalTimeScale
* @return - the value.
*
* @draft ICU 3.2
* @deprecated This is a draft API and might change in a future release of ICU.
* @provisional This API might change or be removed in a future release.
*/
public static long getTimeScaleValue(int scale, int value)
{