Skip to content

Commit

Permalink
Method for forcing set period
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis-Cruz committed Oct 4, 2020
1 parent 61aa40f commit b70951e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/fenixedu/academic/domain/Lesson.java
Original file line number Diff line number Diff line change
Expand Up @@ -1252,4 +1252,8 @@ public boolean isBiWeeklyOffset() {
return getFrequency() == FrequencyType.BIWEEKLY;
}

public void forceSetPeriod(final OccupationPeriod occupationPeriod) {
setPeriod(occupationPeriod);
}

}

0 comments on commit b70951e

Please sign in to comment.