Introduction
In this lab, you will learn about the range()
method of the Java LocalDate
class. This method is used to get the range of valid values for a specified date field, such as the day-of-month, day-of-week, or year. You will learn how to use ChronoField
enum as an argument to get a range of the specified field.