toDateTime method

DateTime toDateTime()

Convert to a DateTime.

Implementation

DateTime toDateTime() => DateTime(1, 1, 1, hour, minute);