java.time.ZoneId.ofOffset() 方法示例


java.time.ZoneId.ofOffset() 方法示例

package com.codingdict;

import java.time.ZoneId;
import java.time.ZoneOffset;

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

      System.out.println(ZoneId.ofOffset("UTC",ZoneOffset.UTC));  
   }
}