-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,8 @@ public static Period of(@NonNull LocalDate from, Level level) { | |
return new Period(from, level); | ||
} | ||
|
||
public Period getExtended(Level level) { | ||
This comment has been minimized.
Sorry, something went wrong. |
||
return new Period(from, this.to.plusWeeks(level.getExtendPeriod())); | ||
This comment has been minimized.
Sorry, something went wrong.
f-lab-tomo
Collaborator
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Period
는 좀 더 범용적인 개념이고Level
은 꽤 도메인 개념입니다.직접 협력하는 방법도 좋고, 혹은
Period
는 더 범용적이도록 배려할 수도 있습니다. 어떠세요?