Back to project page ccardstats.
The source code is released under:
GNU General Public License
If you think the Android project ccardstats listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.github.marwinxxii.ccardstats.notifications; // w ww. j a v a 2 s. c o m public class SmsNotification { public String card; public double diff; public double balance; public int year; public int month; public int day; public SmsNotification(String card, double diff, double balance, int year, int month, int day) { this.card = card; this.diff = diff; this.balance = balance; this.year = year; this.month = month; this.day = day; } @Override public boolean equals(Object obj) { if (obj == null || !(obj instanceof SmsNotification)) return false; SmsNotification n = (SmsNotification) obj; return card.equals(n.card) && diff == n.diff && balance == n.balance && day == n.day && month == n.month && year == n.year; } }