package zero.zd.daily_event_logger;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.UUID;

public class Event {

    private UUID mId;
    private String mEvent;
    private Date mDate;

    public Event(String event, Date date) {
        this(event, date, UUID.randomUUID());
    }

    public Event(String event, Date date, UUID uuid) {
        mId = uuid;
        mEvent = event;
        mDate = date;
    }

    public UUID getId() {
        return mId;
    }

    public String getEvent() {
        return mEvent;
    }

    public void setEvent(String event) {
        mEvent = event;
    }

    public Date getDate() {
        return mDate;
    }

    public String getStringDate() {
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("h:mm a  E, MMMM dd, yy", Locale.ENGLISH);
        return simpleDateFormat.format(mDate);
    }

    public void setDate(Date date) {
        mDate = date;
    }
}

@@ -233,16 +233,74 @@
 mDate;%0A%0A
+    public Event() %7B%0A        this(%22%22, new Date());%0A    %7D%0A%0A
     publ

Add Event Constructor without Parameters