java.time.OffsetDateTime.parse(CharSequence text, DateTimeFormatter formatter) java.util.zip. Inflater.skip() 方法示例 java.util.zip. InflaterOutputStream.close() 方法示例 java.time.OffsetDateTime.parse(CharSequence text, DateTimeFormatter formatter) package com.codingdict; import java.time.OffsetDateTime; import java.time.format.DateTimeFormatter; public class OffsetDateTimeDemo { public static void main(String[] args) { DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; String date = "2017-12-03T10:15:30+01:00"; OffsetDateTime date1 = OffsetDateTime.parse(date, dateTimeFormatter); System.out.println(date1); } } java.util.zip. Inflater.skip() 方法示例 java.util.zip. InflaterOutputStream.close() 方法示例