package edu.deanza.calendar.models;

//constructor for localDateTime: LocalDateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour)

import org.joda.time.LocalTime;

/**
 * Created by Sara on 5/28/2016.
 */
public class Event {
    protected String name, description, location;
    protected LocalTime startTime, endTime;
    // TODO: add `categories` field

    Event(String name, String description, String location, String startTime,
          String endTime)
    {
        this.name = name;
        this.description = description;
        this.location = location;
        this.startTime = LocalTime.parse(startTime);
        this.endTime = LocalTime.parse(endTime);

    }

}

@@ -34,132 +34,8 @@
 s;%0A%0A
-//constructor for localDateTime: LocalDateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour)%0A%0A
 impo
@@ -125,16 +125,17 @@
 Event %7B%0A
+%0A
     prot
@@ -216,24 +216,25 @@
 e, endTime;%0A
+%0A
     // TODO:
@@ -361,20 +361,16 @@
 endTime)
-%0A   
  %7B%0A     
@@ -574,10 +574,9 @@
 %0A    %7D%0A%0A
+
 %7D
-%0A

Fix formatting