Creates a new Time object from a DateTime object.
factory Time.fromDateTime(DateTime dateTime) { return Time(dateTime.hour, dateTime.minute); }