Duration toMinutesPart() method in Java with Examples
The toMinutesPart() method of Duration Class in java.time package is used get the value of this duration in number of minutes by dividing the number of minutes in a hour. Syntax: public long toMinutesPart() Parameters: This method do not accepts any parameter. Return Value: This method returns a lon