sameTimeOn method
Same calendar date as the receiver with time components from other.
Returns a new DateTime with this date and other's time.
Implementation
@useResult
DateTime sameTimeOn(DateTime other) => DateTime(
year,
month,
day,
other.hour,
other.minute,
other.second,
other.millisecond,
other.microsecond,
);