Esempio n. 1
0
 /** {@inheritDoc} */
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((expiryDuration == null) ? 0 : expiryDuration.hashCode());
   return result;
 }
Esempio n. 2
0
 @Override
 public int hashCode() {
   int result = from.hashCode();
   result = 31 * result + to.hashCode();
   result = 31 * result + duration.hashCode();
   result = 31 * result + holiday.hashCode();
   result = 31 * result + (loc != null ? loc.hashCode() : 0);
   result = 31 * result + shifters.hashCode();
   result = 31 * result + selector.hashCode();
   result = 31 * result + (customDayOfMonth != null ? customDayOfMonth.hashCode() : 0);
   result = 31 * result + (customDayOfYear != null ? customDayOfYear.hashCode() : 0);
   return result;
 }