package nl.ictrek.ictrix;

import android.util.TimeUtils;

/**
 * Created by Koen Bolhuis on 11-Apr-17.
 */

public class Chat {
    public enum Type {
        PERSONAL,
        GROUP
    }

    private String mTitle;
    private String mSummary;
    private String mTime;
    private Type mType;


    public Chat(String title, String summary, String time, Type type) {
        mTitle = title;
        mSummary = summary;
        mTime = time;
        mType = type;
    }

    public String getTitle() {
        return mTitle;
    }

    public String getSummary() {
        return mSummary;
    }

    public String getTime() { return mTime; }

    public Type getType() {
        return mType;
    }
}

@@ -622,16 +622,24 @@
 Time() %7B
+%0A       
  return 
@@ -644,16 +644,20 @@
 n mTime;
+%0A   
  %7D%0A%0A    

Fix newlines in Chat.getTime()