(Object obj)
| 377 | } |
| 378 | |
| 379 | @Override |
| 380 | public boolean equals(Object obj) { |
| 381 | |
| 382 | if (this == obj) { |
| 383 | return true; |
| 384 | } else if (obj instanceof DayPeriod) { |
| 385 | DayPeriod that = (DayPeriod) obj; |
| 386 | if (this.locale == null) { |
| 387 | if (that.locale != null) { |
| 388 | return false; |
| 389 | } |
| 390 | } else if (!this.locale.equals(that.locale)) { |
| 391 | return false; |
| 392 | } |
| 393 | return (this.codeMap.equals(that.codeMap) && this.calendarType.equals(that.calendarType)); |
| 394 | } |
| 395 | |
| 396 | return false; |
| 397 | |
| 398 | } |
| 399 | |
| 400 | @Override |
| 401 | public int hashCode() { |
no outgoing calls
no test coverage detected