java.time.DayOfWeek.plus() 方法示例 java.time.DayOfWeek.of() 方法示例 java.time.DayOfWeek.query() 方法示例 java.time.DayOfWeek.plus() 方法示例 package com.codingdict; import java.time.DayOfWeek; public class DayOfWeekDemo { public static void main(String[] args) { DayOfWeek day = DayOfWeek.of(5); System.out.println(day); System.out.println(day.plus(1)); } } java.time.DayOfWeek.of() 方法示例 java.time.DayOfWeek.query() 方法示例