fun DateRange.randomOrNull(): Date?
Return a random date within the range using the default random number generator or null if the range is empty or
unbounded.
See Also
fun DateRange.randomOrNull(random: <ERROR CLASS>): Date?
Return a random date within the range using the supplied random number generator or null if the range is empty or
unbounded.
See Also
fun DateTimeInterval.randomOrNull(): DateTime?
Return a random date-time within the interval using the default random number generator or
null if the interval is empty or unbounded.
See Also
fun DateTimeInterval.randomOrNull(random: <ERROR CLASS>): DateTime?
Return a random date-time within the interval using the supplied random number generator or
null if the interval is empty or unbounded.
See Also
fun InstantInterval.randomOrNull(): Instant?
Return a random instant within the interval using the default random number generator or null if the interval is
empty or unbounded.
See Also
fun InstantInterval.randomOrNull(random: <ERROR CLASS>): Instant?
Return a random instant within the interval using the supplied random number generator or null if the interval is
empty or unbounded.
See Also
fun OffsetDateTimeInterval.randomOrNull(): OffsetDateTime?
Return a random date-time within the interval using the default random number generator or null if the interval is
empty or unbounded. The offset of the start date-time will be used.
See Also
fun OffsetDateTimeInterval.randomOrNull(random: <ERROR CLASS>): OffsetDateTime?
Return a random date-time within the interval using the supplied random number generator or null if the interval is
empty or unbounded. The offset of the start date-time will be used.
See Also
fun ZonedDateTimeInterval.randomOrNull(): ZonedDateTime?
Return a random date-time within the interval using the default random number generator or null if the interval is
empty or unbounded. The zone of the start date-time will be used.
See Also
fun ZonedDateTimeInterval.randomOrNull(random: <ERROR CLASS>): ZonedDateTime?
Return a random date-time within the interval using the supplied random number generator or null if the interval is
empty or unbounded. The zone of the start date-time will be used.
See Also
fun DateRange.randomOrNull(random: Random): Date?
Return a random date within the range using the supplied random number generator or null if the range is empty or
unbounded.
See Also
fun DateTimeInterval.randomOrNull(random: Random): DateTime?
Return a random date-time within the interval using the supplied random number generator or
null if the interval is empty or unbounded.
See Also
fun InstantInterval.randomOrNull(random: Random): Instant?
Return a random instant within the interval using the supplied random number generator or null if the interval is
empty or unbounded.
See Also
fun OffsetDateTimeInterval.randomOrNull(random: Random): OffsetDateTime?
Return a random date-time within the interval using the supplied random number generator or null if the interval is
empty or unbounded. The offset of the start date-time will be used.
See Also
fun ZonedDateTimeInterval.randomOrNull(random: Random): ZonedDateTime?
Return a random date-time within the interval using the supplied random number generator or null if the interval is
empty or unbounded. The zone of the start date-time will be used.
See Also