dateTime function

Arbitrary<TZDateTime> dateTime({
  1. DateTime? min,
  2. DateTime? max,
  3. String? location,
})

Returns an arbitrary that generates a datetime value.

Parameters:

  • min: The minimum value to generate. Timezone is ignored.
  • max: The maximum value to generate. Timezone is ignored.
  • location: The location to use when generating the DateTime.

Implementation

Arbitrary<tz.TZDateTime> dateTime({
  DateTime? min,
  DateTime? max,
  String? location,
}) =>
    DateTimeArbitraries.dateTime(
      min: min,
      max: max,
      location: location,
    );