Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override def equals(that: Any): Boolean =
- that.isInstanceOf[Date] && {
- val o = that.asInstanceOf[Date]
- o.day == day && o.month == month && o.year == year
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement