DateTimeValue constructor

DateTimeValue(
  1. DateTime value, {
  2. bool fixed = _defaultFixed,
  3. String? timeZoneIdentifier,
})

Implementation

DateTimeValue(
  DateTime value, {
  this.fixed = _defaultFixed,
  this.timeZoneIdentifier,
})  : _dateValue = DateValue(value),
      _timeValue = TimeValue(
        value,
        fixed: fixed,
        timeZoneIdentifier: timeZoneIdentifier,
      ),
      super(value, ValueType.dateTime);