📜  获取星期几java代码示例

📅  最后修改于: 2022-03-11 14:52:04.006000             🧑  作者: Mango

代码示例1
public static String getDayStringNew(LocalDate date, Locale locale) {
    DayOfWeek day = date.getDayOfWeek();
    return day.getDisplayName(TextStyle.FULL, locale);
}