随笔分类 -  JavaSE---日期

Timestamp
摘要:概述 A thin wrapper around <code>java.util.Date</code> that allows the JDBC API to identify this as an SQL <code>TIMESTAMP</code> value.It adds the abil 阅读全文

posted @ 2023-12-21 10:14 anpeiyong 阅读(50) 评论(0) 推荐(0) 编辑

Java8时间API
摘要:https://www.pdai.tech/md/java/java8/java8-localdatetime.html 阅读全文

posted @ 2023-12-20 18:38 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

TimeZone
摘要:概述 <code>TimeZone</code> represents a time zone offset, and also figures out daylight savings. Typically, you get a <code>TimeZone</code> using <code> 阅读全文

posted @ 2023-12-20 17:04 anpeiyong 阅读(37) 评论(0) 推荐(0) 编辑

DateFormat&SimpleDateFormat
摘要:DateFormat 概述 {@code DateFormat} is an abstract class for date/time formatting subclasses which formats and parses dates or time in a language-indepen 阅读全文

posted @ 2023-12-20 15:48 anpeiyong 阅读(19) 评论(0) 推荐(0) 编辑

Date
摘要:概述 The class <code>Date</code> represents a specific instant in time, with millisecond precision. Date表示特定的时刻,以ms为单位; Prior to JDK1.1, the class <code 阅读全文

posted @ 2023-12-20 15:47 anpeiyong 阅读(15) 评论(0) 推荐(0) 编辑

Calendar
摘要:概述 The <code>Calendar</code> class is an abstract class that provides methods for converting between a specific instant in time and a set of {@link #f 阅读全文

posted @ 2023-12-20 15:46 anpeiyong 阅读(38) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示