Package org.stubit.random
Class RandomLocalTime
java.lang.Object
org.stubit.random.RandomLocalTime
Generates random
LocalTimes.-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
aLocalTimeBetween
- Parameters:
after- the minimum value (inclusive)before- the maximum value (inclusive)- Returns:
- a random
LocalTimebetweenafterandbefore
-
aPastLocalTime
- Returns:
- a random
LocalTimebetweenLocalTime.MINand now
-
aFutureLocalTime
- Returns:
- a random
LocalTimebetween now andLocalTime.MAX
-
aLocalTimeInRange
- Returns:
- a
RandomLocalTime.LocalTimeInRangeBuilderto configure the randomLocalTime
-
aLocalTime
- Returns:
- a
RandomLocalTime.LocalTimeBuilderto configure the randomLocalTime
-