Skip to content

Commit acad1ea

Browse files
authored
Update README.md
1 parent 6e52f03 commit acad1ea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
<a href="https://mailchi.mp/kotlinweekly/kotlin-weekly-396"><img alt="Kotlin Weekly" src="https://skydoves.github.io/badges/kotlin-weekly.svg"/></a>
1111
</p> <br>
1212

13-
## Background
14-
[Java Time](https://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html), released in Java 8, was a huge improvement over its [Date](https://docs.oracle.com/javase/8/docs/api/java/sql/Date.html) predecessor.<br><br>
15-
This library empowers Java Time & makes it that much more **fun**! 😃
16-
1713
```diff
1814
- val dateTimeFormatter = DateTimeFormatter.ofPattern("yyyyMMdd")
1915
- val date = LocalDate.parse(dateText, dateTimeFormatter)
@@ -27,6 +23,10 @@ This library empowers Java Time & makes it that much more **fun**! 😃
2723
+ if (dateOfBirth.getYearDifference(LocalDates.today) < 18) {
2824
```
2925

26+
## Background
27+
[Java Time](https://docs.oracle.com/javase/8/docs/api/java/time/package-summary.html), released in Java 8, was a huge improvement over its [Date](https://docs.oracle.com/javase/8/docs/api/java/sql/Date.html) predecessor.<br><br>
28+
This library empowers Java Time & makes it that much more **fun**! 😃
29+
3030
## What's In It?
3131
#### 1. Parsing
3232
```kotlin

0 commit comments

Comments
 (0)