Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions concepts/datetime/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ These methods return a _new_ `LocalDate` instance and do not update the existing
```java
LocalDate date = LocalDate.of(2007, 12, 3);

date.addDays(3);
date.plusDays(3);
// => 2007-12-06

date.addMonths(1);
date.plusMonths(1);
// => 2008-01-03

date.addYears(1);
date.plusYears(1);
// => 2008-12-03
```

Expand Down
2 changes: 1 addition & 1 deletion concepts/datetime/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ These methods return a _new_ `LocalDate` instance and do not update the existing
```java
LocalDate date = LocalDate.of(2007, 12, 3);

date.addDays(3);
date.plusDays(3);
// => 2007-12-06
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ These methods return a _new_ `LocalDate` instance and do not update the existing
```java
LocalDate date = LocalDate.of(2007, 12, 3);

date.addDays(3);
date.plusDays(3);
// => 2007-12-06
```

Expand Down
Loading