exec method
Implementation
DateTime exec({
required DateTime oldDateTime,
required TimeOfDay newTime,
}) {
final changedDateTime = DateTime(
oldDateTime.year,
oldDateTime.month,
oldDateTime.day,
newTime.hour,
newTime.minute,
);
return changedDateTime;
}