java.time.MonthDay.now(ZoneId zone) java.time.MonthDay.now(Clock clock) java.util.zip. Deflater.deflate 1() 方法示例 java.time.MonthDay.now(ZoneId zone) package com.codingdict; import java.time.MonthDay; import java.time.ZoneId; public class MonthDayDemo { public static void main(String[] args) { MonthDay time = MonthDay.now(ZoneId.systemDefault()); System.out.println(time); } } java.time.MonthDay.now(Clock clock) java.util.zip. Deflater.deflate 1() 方法示例