diff options
Diffstat (limited to 'android_icu4j/src/main/java/android/icu/util/Calendar.java')
-rw-r--r-- | android_icu4j/src/main/java/android/icu/util/Calendar.java | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/android_icu4j/src/main/java/android/icu/util/Calendar.java b/android_icu4j/src/main/java/android/icu/util/Calendar.java index 3a4fee842..0a64590fa 100644 --- a/android_icu4j/src/main/java/android/icu/util/Calendar.java +++ b/android_icu4j/src/main/java/android/icu/util/Calendar.java @@ -3703,9 +3703,9 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca /** * Returns the week number of a day, within a period. This may be the week number in - * a year or the week number in a month. Usually this will be a value >= 1, but if + * a year or the week number in a month. Usually this will be a value >= 1, but if * some initial days of the period are excluded from week 1, because - * {@link #getMinimalDaysInFirstWeek getMinimalDaysInFirstWeek} is > 1, then + * {@link #getMinimalDaysInFirstWeek getMinimalDaysInFirstWeek} is > 1, then * the week number will be zero for those * initial days. This method requires the day number and day of week for some * known date in the period in order to determine the day of week @@ -3765,9 +3765,9 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca /** * Returns the week number of a day, within a period. This may be the week number in - * a year, or the week number in a month. Usually this will be a value >= 1, but if + * a year, or the week number in a month. Usually this will be a value >= 1, but if * some initial days of the period are excluded from week 1, because - * {@link #getMinimalDaysInFirstWeek getMinimalDaysInFirstWeek} is > 1, + * {@link #getMinimalDaysInFirstWeek getMinimalDaysInFirstWeek} is > 1, * then the week number will be zero for those * initial days. This method requires the day of week for the given date in order to * determine the result. @@ -3843,7 +3843,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca * int m2 = cal.fieldDifference(date1, Calendar.MONTH); * int d2 = cal.fieldDifference(date1, Calendar.DATE);</pre> * - * one might expect that <code>m1 == -m2 && d1 == -d2</code>. + * one might expect that <code>m1 == -m2 && d1 == -d2</code>. * However, this is not generally the case, because of * irregularities in the underlying calendar system (e.g., the * Gregorian calendar has a varying number of days per month). @@ -4203,7 +4203,7 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca /** * Returns a limit for a field. - * @param field the field, from 0..</code>getFieldCount()-1</code> + * @param field the field, from 0..<code>getFieldCount()-1</code> * @param limitType the type specifier for the limit * @see #MINIMUM * @see #GREATEST_MINIMUM @@ -4851,8 +4851,8 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca * Julian day. These values are not stored in fields, but in member * variables gregorianXxx. They are used for time zone computations and by * subclasses that are Gregorian derivatives. Subclasses may call this - * method to perform a Gregorian calendar millis->fields computation. - * To perform a Gregorian calendar fields->millis computation, call + * method to perform a Gregorian calendar millis->fields computation. + * To perform a Gregorian calendar fields->millis computation, call * computeGregorianMonthStart(). * @see #computeGregorianMonthStart */ @@ -5735,8 +5735,8 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca /** * Compute the Julian day of a month of the Gregorian calendar. * Subclasses may call this method to perform a Gregorian calendar - * fields->millis computation. To perform a Gregorian calendar - * millis->fields computation, call computeGregorianFields(). + * fields->millis computation. To perform a Gregorian calendar + * millis->fields computation, call computeGregorianFields(). * @param year extended Gregorian year * @param month zero-based Gregorian month * @return the Julian day number of the day before the first @@ -5939,10 +5939,10 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca * Divide two long integers, returning the floor of the quotient. * <p> * Unlike the built-in division, this is mathematically well-behaved. - * E.g., <code>-1/4</code> => 0 - * but <code>floorDivide(-1,4)</code> => -1. + * E.g., <code>-1/4</code> => 0 + * but <code>floorDivide(-1,4)</code> => -1. * @param numerator the numerator - * @param denominator a divisor which must be > 0 + * @param denominator a divisor which must be > 0 * @return the floor of the quotient. */ protected static final long floorDivide(long numerator, long denominator) { @@ -5957,10 +5957,10 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca * Divide two integers, returning the floor of the quotient. * <p> * Unlike the built-in division, this is mathematically well-behaved. - * E.g., <code>-1/4</code> => 0 - * but <code>floorDivide(-1,4)</code> => -1. + * E.g., <code>-1/4</code> => 0 + * but <code>floorDivide(-1,4)</code> => -1. * @param numerator the numerator - * @param denominator a divisor which must be > 0 + * @param denominator a divisor which must be > 0 * @return the floor of the quotient. */ protected static final int floorDivide(int numerator, int denominator) { @@ -5976,10 +5976,10 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca * the modulus remainder. * <p> * Unlike the built-in division, this is mathematically well-behaved. - * E.g., <code>-1/4</code> => 0 and <code>-1%4</code> => -1, - * but <code>floorDivide(-1,4)</code> => -1 with <code>remainder[0]</code> => 3. + * E.g., <code>-1/4</code> => 0 and <code>-1%4</code> => -1, + * but <code>floorDivide(-1,4)</code> => -1 with <code>remainder[0]</code> => 3. * @param numerator the numerator - * @param denominator a divisor which must be > 0 + * @param denominator a divisor which must be > 0 * @param remainder an array of at least one element in which the value * <code>numerator mod denominator</code> is returned. Unlike <code>numerator * % denominator</code>, this will always be non-negative. @@ -6000,10 +6000,10 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca * the modulus remainder. * <p> * Unlike the built-in division, this is mathematically well-behaved. - * E.g., <code>-1/4</code> => 0 and <code>-1%4</code> => -1, - * but <code>floorDivide(-1,4)</code> => -1 with <code>remainder[0]</code> => 3. + * E.g., <code>-1/4</code> => 0 and <code>-1%4</code> => -1, + * but <code>floorDivide(-1,4)</code> => -1 with <code>remainder[0]</code> => 3. * @param numerator the numerator - * @param denominator a divisor which must be > 0 + * @param denominator a divisor which must be > 0 * @param remainder an array of at least one element in which the value * <code>numerator mod denominator</code> is returned. Unlike <code>numerator * % denominator</code>, this will always be non-negative. @@ -6093,12 +6093,12 @@ public abstract class Calendar implements Serializable, Cloneable, Comparable<Ca /** * Returns if two digit representation of year in this calendar type - * customarily implies a default century (i.e. 03 -> 2003). + * customarily implies a default century (i.e. 03 -> 2003). * The default implementation returns <code>true</code>. A subclass may * return <code>false</code> if such practice is not applicable (for example, * Chinese calendar and Japanese calendar). * - * @return <code>true<code> if this calendar has a default century. + * @return <code>true</code> if this calendar has a default century. * @deprecated This API is ICU internal only. * @hide original deprecated declaration * @hide draft / provisional / internal are hidden on Android |