Guest User

Untitled

a guest
Apr 21st, 2018
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. /**
  2. * Standart Equals Method
  3. *
  4. * @author bb42
  5. * @return Boolean True if Equal
  6. */
  7. public boolean equals(Timestamp other) {
  8. if (this.year == other.getYear() && this.month == other.getMonth()
  9. && this.day == other.getDay() && this.hours == other.getHour()
  10. && this.minutes == other.getMinutes() ) {
  11. return true;
  12. }
  13. return false;
  14.  
  15. }
Add Comment
Please, Sign In to add comment