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