20230522
20230522 java.time.Instant
## 介绍 - java.time.Instant - 类声明 ```java @jdk.internal.ValueBased public final class Instant implements Temporal, TemporalAdjuster, Comparable, Seriali ......
20230522 java.util.Calendar
## 介绍 - java.util.Calendar - `public abstract class Calendar implements Serializable, Cloneable, Comparable` - 抽象类,提供了特定时刻和一组日历域(field) - 特定时刻用毫秒值表示,从 ......
20230522 java.util.Date
## 介绍 - `java.util.Date` - `public class Date implements java.io.Serializable, Cloneable, Comparable` - Date 类代表一个特定的时间点,精度为毫秒 - 在 JDK 1.1 之前,类Date有两个 ......
20230522 java.util.TimeZone
## 介绍 - java.util.TimeZone - public abstract class TimeZone implements Serializable, Cloneable ## API ### 常量 - SHORT : 0 - LONG : 1 ### static - getAv ......
20230522 java.time.temporal.Temporal
## 介绍 - `java.time.temporal.Temporal` - `public interface Temporal extends TemporalAccessor` - 时间 - 定义对时间对象的读写访问的框架级接口 - 日期、时间和偏移量对象的基本接口类型,可以使用进行修改操作 ......
20230522 java.time.temporal.TemporalAccessor
## 介绍 - `java.time.temporal.TemporalAccessor` - `public interface TemporalAccessor` - 时间访问器 - 定义对时间对象的只读访问,例如日期、时间、偏移量或组合 - 日期、时间和偏移量对象的基本接口类型 - 大多数日期 ......
20230522 java.time.temporal.TemporalField
## 介绍 - `java.time.temporal.TemporalField` - `public interface TemporalField` - 时间域 - A field of date-time, such as month-of-year or minute-of-hour - ......
总结20230522
代码时间(包括上课)3h 代码量(行):100行 博客数量(篇):1篇 相关事项: 1、今天上午上的是工程数学,进行的是工程数学实验报告的编写。 2、今天下午是软件工程的课,前两节课讲的是项目总结。 3、今天下午后两节是第二阶段的补货站后台的编写。 ......
java学习日记20230522-TreeSet
有序键值对集合 public class TreeSetExercise { public static void main(String[] args) { Integer integer = new Integer(10); TreeSet treeSet = new TreeSet(new C ......
java学习日记20230522-集合选择原则
1.判断存储的类型,一组对象【单列】或者一组键值对【双列】 2.一组对象【单列】:collection 的子类:允许重复:List的某个实现类:增删多 LinkedList(底层维护的是双向链表) 改查多 ArrayList(底层维护的是object类型的可变数组) 不允许重复,Set某个实现类:无 ......
java学习日记20230522-Properties
Properties继承了HashTable并且实现了Map接口,也是以键值对的形式保存数据 Properties经常用于xxx.properties文件中加载Properties对象,并进行读取和修改 public class PropertiesExercise { public static ......