@Override public boolean equals(Object other){
  if (other == this) {
    return true;
  }
  if (other instanceof ZoneOffsetTransition) {
    ZoneOffsetTransition d=(ZoneOffsetTransition)other;
    return transition.equals(d.transition) && offsetBefore.equals(d.offsetBefore) && offsetAfter.equals(d.offsetAfter);
  }
  return false;
}

@ Override public boolean equals ( Object other ) { if ( other == this ) { return true ; } if ( other instanceof ZoneOffsetTransition ) { ZoneOffsetTransition d = ( ZoneOffsetTransition ) other ; return transition . equals ( d . transition ) && offsetBefore . equals ( d . offsetBefore ) && offsetAfter . equals ( d . offsetAfter ) ; } return false ; }
checks if this object equals another . < p > the entire state of the object is compared .
