Skip to content

Commit c647134

Browse files
committed
Fix typo in datetime concept
1 parent 276d466 commit c647134

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

concepts/datetime/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ These methods return a _new_ `LocalDate` instance and do not update the existing
4747
```java
4848
LocalDate date = LocalDate.of(2007, 12, 3);
4949

50-
date.addDays(3);
50+
date.plusDays(3);
5151
// => 2007-12-06
5252

5353
date.addMonths(1);

concepts/datetime/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ These methods return a _new_ `LocalDate` instance and do not update the existing
4141
```java
4242
LocalDate date = LocalDate.of(2007, 12, 3);
4343

44-
date.addDays(3);
44+
date.plusDays(3);
4545
// => 2007-12-06
4646
```
4747

exercises/concept/booking-up-for-beauty/.docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ These methods return a _new_ `LocalDate` instance and do not update the existing
4343
```java
4444
LocalDate date = LocalDate.of(2007, 12, 3);
4545

46-
date.addDays(3);
46+
date.plusDays(3);
4747
// => 2007-12-06
4848
```
4949

0 commit comments

Comments
 (0)