(Object obj)
| 71 | } |
| 72 | |
| 73 | @Override |
| 74 | public boolean equals(Object obj) { |
| 75 | if (obj == null) { |
| 76 | return false; |
| 77 | } |
| 78 | if (getClass() != obj.getClass()) { |
| 79 | return false; |
| 80 | } |
| 81 | final MrzDate other = (MrzDate) obj; |
| 82 | if (this.year != other.year) { |
| 83 | return false; |
| 84 | } |
| 85 | if (this.month != other.month) { |
| 86 | return false; |
| 87 | } |
| 88 | if (this.day != other.day) { |
| 89 | return false; |
| 90 | } |
| 91 | return true; |
| 92 | } |
| 93 | |
| 94 | @Override |
| 95 | public int hashCode() { |
no outgoing calls