예제 #1
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;
 }
예제 #2
0
 @Override
 public int hashCode() {
   return from.hashCode();
 }