To be continued ........
java.time. * Instead of Scheme
1, Instant instead of a Date
2, instead of the LocalDateTime Calendar
. 3, instead of the DateTimeFormatter SimpleDateFormat
First, get the current day of the week / time obtaining any day of the week / Get the current day of the week / time obtaining any day of the week
Second, get a few numbers corresponding week
Third, access to the earliest time today
Fourth, get the first time this month
Fifth, get the earliest time this year
Sixth, get the latest time today
Seven, get the latest time this month
Eight, get the latest time this year
Nine, get today's noon time
In the source code for
git:https://github.com/liushaoye/utilLiu