applied method

DateTime applied(
  1. TimeOfDay time
)

Implementation

DateTime applied(TimeOfDay time) {
  return DateTime(year, month, day, time.hour, time.minute);
}