Skip to content

Commit

Permalink
Address review comments. Made BusinessCalendar and Calendar construct…
Browse files Browse the repository at this point in the history
…ors package so that they can be converted to interfaces in the future.
  • Loading branch information
chipkent committed Dec 15, 2023
1 parent 787b646 commit a007d3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private YearData getYearData(final int year) {
* is different from the schedule for a standard business day or weekend.
* @throws RequirementFailure if any argument is null.
*/
public BusinessCalendar(final String name, final String description, final ZoneId timeZone,
BusinessCalendar(final String name, final String description, final ZoneId timeZone,
final LocalDate firstValidDate, final LocalDate lastValidDate,
final CalendarDay<LocalTime> standardBusinessDay, final Set<DayOfWeek> weekendDays,
final Map<LocalDate, CalendarDay<Instant>> holidays) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class Calendar {
* @param timeZone calendar time zone.
* @throws RequirementFailure if any parameter is {@code null}
*/
public Calendar(final String name, final String description, final ZoneId timeZone) {
Calendar(final String name, final String description, final ZoneId timeZone) {
this.name = Require.neqNull(name, "name");
this.description = Require.neqNull(description, "description");
this.timeZone = Require.neqNull(timeZone, "timeZone");
Expand Down

0 comments on commit a007d3f

Please sign in to comment.