@Override
    public int hashCode() {
        return Objects.hash(year, month, day, hour, minute, second, dayOfWeek, action, scene, transitionTime);
    }
Iterates through the bitset and adds every Bit, which is set to true, to a value.

@param bitSet The bitset.
mesh/src/main/java/no/nordicsemi/android/mesh/data/ScheduleEntry.java