File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
exercises/concept/booking-up-for-beauty/.docs Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ These methods return a _new_ `LocalDate` instance and do not update the existing
4747``` java
4848LocalDate date = LocalDate . of(2007 , 12 , 3 );
4949
50- date. addDays (3 );
50+ date. plusDays (3 );
5151// => 2007-12-06
5252
5353date. addMonths(1 );
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ These methods return a _new_ `LocalDate` instance and do not update the existing
4141``` java
4242LocalDate date = LocalDate . of(2007 , 12 , 3 );
4343
44- date. addDays (3 );
44+ date. plusDays (3 );
4545// => 2007-12-06
4646```
4747
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ These methods return a _new_ `LocalDate` instance and do not update the existing
4343``` java
4444LocalDate date = LocalDate . of(2007 , 12 , 3 );
4545
46- date. addDays (3 );
46+ date. plusDays (3 );
4747// => 2007-12-06
4848```
4949
You can’t perform that action at this time.
0 commit comments