Returns this value decremented by one. If this value is the minimum, it returns the maximum value instead.