public TimeOnly createRandomInstance()
    {
        int start = minValue.getMilliseconds();
        int end = maxValue.getMilliseconds();

        return new TimeOnly((long) (start + random.nextInt(end - start)));
    }
public TimeOnly createRandomInstance()
    {
        int start = minValue.getMilliseconds();
        int end = maxValue.getMilliseconds();

        return new TimeOnly((long) (start + random.nextInt(end - start)));
    }
public TimeOnly createRandomInstance ( ) { int start = minValue . getMilliseconds ( ) ; int end = maxValue . getMilliseconds ( ) ; return new TimeOnly ( ( long ) ( start + random . nextInt ( end - start ) ) ) ; }
{@inheritDoc}

<p/>A random value of this type lies between 'min' and 'max'.
{ @inheritDoc }