Further Alert cleanup >AGK

This commit is contained in:
agk512 2013-12-02 03:34:50 -05:00
parent 7dc2e52a05
commit 33afb534bd

View File

@ -1,10 +1,7 @@
package com.uncc.gameday.alerts;
import java.util.Date;
import com.uncc.gameday.R;
import com.uncc.gameday.activities.Home;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
@ -14,7 +11,7 @@ import android.support.v4.app.TaskStackBuilder;
public class Alert {
private Date alarmDate;
private Long alarmDate;
private String message;
private int shown;
private String type;
@ -22,7 +19,7 @@ public class Alert {
// Default constructor
public Alert(){}
public Alert(Date alarmDate, String message, int shown, String type) {
public Alert(Long alarmDate, String message, int shown, String type) {
this.setAlarmDate(alarmDate);
this.setMessage(message);
this.setShown(shown);
@ -36,10 +33,10 @@ public class Alert {
public String getType() {
return type;
}
public Date getAlarmDate() {
public Long getAlarmDate() {
return alarmDate;
}
public void setAlarmDate(Date alarmDate) {
public void setAlarmDate(Long alarmDate) {
this.alarmDate = alarmDate;
}
public String getMessage() {