JDK1.8 LocalDate use; the LocalDate package Util, LocalDate tools (a)

To be continued ........ because of security thread SimpleDateFormat, so use LocalDate and LocalDateTime in JDK1.8 to use tools like the date, below is the original LocalDateUtil package "Ali Baba Development Guide 1.4" 1 , localDate formatted date string is 2, minutes and seconds LocalDateTime date format string 3, localDate time zone is formatted date string 4, localDateTime time zone is formatted date string 5, localDate turn LocalDate 6, localDateTimeString formatted date is the date format 7, localDateString format date date format 8, localDateTime turn localDateTime 9, into a fixed date format yyyy-mM-dd HH: mm: ss position in the source code of the source test git: https: //github.com/liushaoye/utilLiu blog details https://www.cnblogs.com/liuyangfirst/p/11129788.html https://www.cnblogs.com/liuyangfirst/p/11129788.html Park

Guess you like

Origin www.cnblogs.com/liuyangfirst/p/11614357.html