/**
*******************************************************************************
-* Copyright (C) 1996-2014, International Business Machines Corporation and
+* Copyright (C) 1996-2015, International Business Machines Corporation and
* others. All Rights Reserved.
*******************************************************************************
*/
* <p>Both the method
* <code>CollationKey.compareTo(CollationKey)</code> and the method
* <code>Collator.compare(String, String)</code> compare two strings
- * and returns their relative order. The performance characterictics
+ * and returns their relative order. The performance characteristics
* of these two approaches can differ.
* Note that collation keys are often less efficient than simply doing comparison.
* For more details, see the ICU User Guide.
* compared only once.</p>
*
* <p>More information about the composition of the bit sequence can
- * be found in the
+ * be found in the
* <a href="http://www.icu-project.org/userguide/Collate_ServiceArchitecture.html">
* user guide</a>.</p>
*
* <P>
* For power users, who want to create their own date interval patterns,
* or want to re-set date interval patterns, they could do so by
- * directly creating DateIntervalInfo and manupulating it.
+ * directly creating DateIntervalInfo and manipulating it.
*
* <P>
* Logically, the interval patterns are mappings
private final boolean fFirstDateInPtnIsLaterDate;
/**
- * constructor
+ * Constructs a <code>PatternInfo</code> object.
+ * @param firstPart The first part of interval pattern.
+ * @param secondPart The second part of interval pattern.
+ * @param firstDateInPtnIsLaterDate Whether the first date in interval patter is later date or not.
* @stable ICU 4.0
*/
public PatternInfo(String firstPart, String secondPart,
}
/**
- * accessor
+ * Returns the first part of interval pattern.
+ * @return The first part of interval pattern.
* @stable ICU 4.0
*/
public String getFirstPart() {
}
/**
- * accessor
+ * Returns the second part of interval pattern.
+ * @return The second part of interval pattern.
* @stable ICU 4.0
*/
public String getSecondPart() {
}
/**
- * accessor
+ * Returns whether the first date in interval patter is later date or not.
+ * @return Whether the first date in interval patter is later date or not.
* @stable ICU 4.0
*/
public boolean firstDateInPtnIsLaterDate() {
}
/**
- * Override equals
+ * Compares the specified object with this <code>PatternInfo</code> for equality.
+ * @param a The object to be compared.
+ * @returns <code>true</code> if the specified object is equal to this <code>PatternInfo</code>.
* @stable ICU 4.0
*/
public boolean equals(Object a) {
}
/**
- * Override hashcode
+ * Returns the hash code of this <code>PatternInfo</code>.
+ * @return A hash code value for this object.
* @stable ICU 4.0
*/
public int hashCode() {
/**
- * Boilerplate. Clone this object.
+ * Clone this object.
* @return a copy of the object
* @stable ICU4.0
*/
/**
- * Boilerplate for Freezable
+ * {@inheritDoc}
+ *
* @stable ICU 4.0
*/
public boolean isFrozen() {
}
/**
- * Boilerplate for Freezable
+ * {@inheritDoc}
+ *
* @stable ICU 4.4
*/
public DateIntervalInfo freeze() {
}
/**
- * Boilerplate for Freezable
+ * {@inheritDoc}
+ *
* @stable ICU 4.4
*/
public DateIntervalInfo cloneAsThawed() {
}
/**
- * Boilerplate for Freezable
+ * {@inheritDoc}
* @stable ICU 3.6
*/
public boolean isFrozen() {
}
/**
- * Boilerplate for Freezable
+ * {@inheritDoc}
* @stable ICU 4.4
*/
public DateTimePatternGenerator freeze() {
}
/**
- * Boilerplate for Freezable
+ * {@inheritDoc}
* @stable ICU 4.4
*/
public DateTimePatternGenerator cloneAsThawed() {
}
/**
- * Boilerplate
+ * Returns a copy of this <code>DateTimePatternGenerator</code> object.
+ * @return A copy of this <code>DateTimePatternGenerator</code> object.
* @stable ICU 3.6
*/
@SuppressWarnings("unchecked")