其他分享
首页 > 其他分享> > 常用类07-JDK8中的时间API

常用类07-JDK8中的时间API

作者:互联网

Instant类

Instant:时间线上的一个瞬时点,这可能被用来记录应用程序中的事件时间戳

方法

java.time.format.DateTimeFormatter类

DateTimeFormatter:格式化或解析日期时间,类似于SimpleDateFormat

实例化

其他API

标签:07,format,System,String,API,DateTimeFormatter,JDK8,println,out
来源: https://www.cnblogs.com/microwang/p/15939430.html