DateTime toDateTime([TimeOfDay? time]) => DateTime(year, month, day, (time?.hour ?? 0), (time?.minute ?? 0));