java clock计时
Clock Class systemDefaultZone()方法 (Clock Class systemDefaultZone() method)
systemDefaultZone() method is available in java.time package.
systemDefaultZone()方法在java.time包中可用。
systemDefaultZone() method is used to get the current instant that uses the system clock in the default zone.
systemDefaultZone()方法用于获取使用默认区域中的系统时钟的当前时刻。
systemDefaultZone() method is a static method, it is accessible with the class name and if we try to access the method with the class object then we will not get an error.
systemDefaultZone()方法是静态方法,可以使用类名进行访问,如果尝试使用类对象访问该方法,则不会收到错误。
systemDefaultZone() method does not throw an except