Skip to content

Commit

Permalink
Fix some formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Claes committed Feb 4, 2016
1 parent 9b73ac7 commit 0fddcce
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
15 changes: 9 additions & 6 deletions library/src/main/java/com/alamkanak/weekview/WeekView.java
Original file line number Diff line number Diff line change
Expand Up @@ -1795,16 +1795,19 @@ public void setVerticalFlingEnabled(boolean enabled) {
}

/**
* Get the height of AllDay-events
* @return Height of AllDay-events
* Get the height of AllDay-events.
* @return Height of AllDay-events.
*/
public int getAllDayEventHeight(){ return mAllDayEventHeight; }
public int getAllDayEventHeight() {
return mAllDayEventHeight;
}

/**
* Set the height of AllDay-events
* @param height
* Set the height of AllDay-events.
*/
public void setAllDayEventHeight(int height){ mAllDayEventHeight = height; }
public void setAllDayEventHeight(int height) {
mAllDayEventHeight = height;
}

/////////////////////////////////////////////////////////////////
//
Expand Down
10 changes: 7 additions & 3 deletions library/src/main/java/com/alamkanak/weekview/WeekViewEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public WeekViewEvent(long id, String name, int startYear, int startMonth, int st
* @param location The location of the event.
* @param startTime The time when the event starts.
* @param endTime The time when the event ends.
* @param allDay Is the event an all day event
* @param allDay Is the event an all day event.
*/
public WeekViewEvent(long id, String name, String location, Calendar startTime, Calendar endTime, boolean allDay) {
this.mId = id;
Expand Down Expand Up @@ -136,9 +136,13 @@ public void setColor(int color) {
this.mColor = color;
}

public boolean isAllDay() { return mAllDay;}
public boolean isAllDay() {
return mAllDay;
}

public void setAllDay(boolean allDay) { this.mAllDay = allDay;}
public void setAllDay(boolean allDay) {
this.mAllDay = allDay;
}

public long getId() {
return mId;
Expand Down

0 comments on commit 0fddcce

Please sign in to comment.