@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ScheduleEntry entry = (ScheduleEntry) o;
        return year.equals(entry.year) &&
                month.equals(entry.month) &&
                day.equals(entry.day) &&
                hour.equals(entry.hour) &&
                minute.equals(entry.minute) &&
                second.equals(entry.second) &&
                dayOfWeek.equals(entry.dayOfWeek) &&
                action.equals(entry.action) &&
                scene.equals(entry.scene) &&
                transitionTime.equals(entry.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