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