Lines Matching defs:other
247 * Returns a negative integer if this instance is less than the other; a
248 * positive integer if this instance is greater than the other; 0 if this
249 * instance has the same order as the other.
252 public int compareTo(TimeZoneInfo other) {
253 if (this.getNowOffsetMillis() != other.getNowOffsetMillis()) {
254 return (other.getNowOffsetMillis() < this.getNowOffsetMillis()) ? -1 : 1;
259 if (other.mCountry != null) {
264 if (other.mCountry == null) {
267 int diff = this.mCountry.compareTo(other.mCountry);
275 if (mDisplayName != null && other.mDisplayName != null)
276 return this.mDisplayName.compareTo(other.mDisplayName);
279 other.mTz.getDisplayName(Locale.getDefault()));