java.time.DayOfWeek.valueOf() 方法示例 java.time.DayOfWeek.range() 方法示例 java.time.DayOfWeek.values() 方法示例 java.time.DayOfWeek.valueOf() 方法示例 package com.codingdict; import java.time.DayOfWeek; public class DayOfWeekDemo { public static void main(String[] args) { DayOfWeek day = DayOfWeek.valueOf("WEDNESDAY"); System.out.println(day); } } java.time.DayOfWeek.range() 方法示例 java.time.DayOfWeek.values() 方法示例