// Path: app/src/main/java/com/hhua/android/producthunt/helpers/TimeHelper.java
// public class TimeHelper {
//     // getRelativeTimeAgo("Mon Apr 01 21:16:23 +0000 2014");
//     public static String getRelativeTimeAgo(String rawJsonDate) {
//         // 2015-12-19T03:00:18.752-08:00
//         String productHuntFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
//         SimpleDateFormat sf = new SimpleDateFormat(productHuntFormat, Locale.ENGLISH);
//         sf.setLenient(true);
// 
//         String relativeDate = "";
//         try {
//             long dateMillis = sf.parse(rawJsonDate).getTime();
//             relativeDate = DateUtils.getRelativeTimeSpanString(dateMillis,
//                     System.currentTimeMillis(), DateUtils.SECOND_IN_MILLIS).toString();
//         } catch (ParseException e) {
//             e.printStackTrace();
//         }
// 
//         return relativeDate;
//     }
// }


import com.hhua.android.producthunt.helpers.TimeHelper;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;
                }
            }catch (JSONException e){
                e.printStackTrace();
                continue;
            }
        }

        return notifications;
    }

    public int getId() {
        return id;
    }

    public boolean isSeen() {
        return isSeen;
    }

    public String getSentence() {
        return sentence;
    }

    public String getType() {
        return type;
    }

    public String getBody() {
        return body;
    }

// Path: app/src/main/java/com/hhua/android/producthunt/helpers/TimeHelper.java
// public class TimeHelper {
//     // getRelativeTimeAgo("Mon Apr 01 21:16:23 +0000 2014");
//     public static String getRelativeTimeAgo(String rawJsonDate) {
//         // 2015-12-19T03:00:18.752-08:00
//         String productHuntFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
//         SimpleDateFormat sf = new SimpleDateFormat(productHuntFormat, Locale.ENGLISH);
//         sf.setLenient(true);
// 
//         String relativeDate = "";
//         try {
//             long dateMillis = sf.parse(rawJsonDate).getTime();
//             relativeDate = DateUtils.getRelativeTimeSpanString(dateMillis,
//                     System.currentTimeMillis(), DateUtils.SECOND_IN_MILLIS).toString();
//         } catch (ParseException e) {
//             e.printStackTrace();
//         }
// 
//         return relativeDate;
//     }
// }


// Path: app/src/main/java/com/hhua/android/producthunt/models/Notification.java
import com.hhua.android.producthunt.helpers.TimeHelper;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.ArrayList;
import java.util.List;

                }
            }catch (JSONException e){
                e.printStackTrace();
                continue;
            }
        }

        return notifications;
    }

    public int getId() {
        return id;
    }

    public boolean isSeen() {
        return isSeen;
    }

    public String getSentence() {
        return sentence;
    }

    public String getType() {
        return type;
    }

    public String getBody() {
        return body;
    }

    public int getReferenceId() {