java.time.OffsetDateTime.format() 方法示例 java.time.OffsetDateTime.equals() 方法示例 java.util.zip. Inflater.end() 方法示例 java.time.OffsetDateTime.format() 方法示例 package com.codingdict; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; public class OffsetDateTimeDemo { public static void main(String[] args) { OffsetDateTime date = OffsetDateTime.parse("2017-02-03T12:30:30+01:00"); System.out.println(date); DateTimeFormatter formatter = DateTimeFormatter.ISO_TIME; System.out.println(formatter.format(date)); } } java.time.OffsetDateTime.equals() 方法示例 java.util.zip. Inflater.end() 方法示例