ChronoPeriod isNegative() method in Java with Examples
The isNegative() method of ChronoPeriod class in Java is used to check whether any of the three YEAR, MONTH, DAYS in period is negative or not. Syntax: boolean isNegative() Parameters: This method does not accepts any parameter. Return Value: This method returns True if any of the three-valued YEARs