Java example to determine which day of the week is a given date. The weekdays are from Sunday, Monday till Saturday. 1. DayOfWeek Enum DayOfWeek is an enum representing the seven days of the week – Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday. As it is an enum, it has ordinal values associated with […]
The post Java 8 – DayOfWeek appeared first on HowToDoInJava.