java.time.ZonedDateTime.toString() 方法示例


java.time.ZonedDateTime.toString() 方法示例

package com.codingdict;

import java.time.ZonedDateTime;

public class ZonedDateTimeDemo {
   public static void main(String[] args) {

      ZonedDateTime date = ZonedDateTime.now();
      System.out.println(date.toString());  
   }
}