ValueRange getMinimum() method in Java with Examples
The getMinimum() method of ValueRange class is used to get the minimum value that the valueRange can take. For example, the ChronoField DAY_OF_WEEK always starts at 1. The minimum is therefore 1.
public long getMinimum()
Parameters: This method accepts nothing.
Return value: This method returns the minimum value for this valueRange.
Below programs illustrate the ValueRange.getMinimum() method:
Minimum for DAY_OF_WEEK: 1
Minimum : 1111
Attention reader! Don’t stop learning now. Get hold of all the important Java Foundation and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course.