TimeOfDay.fromDateTime constructor
TimeOfDay.fromDateTime(
- DateTime time
Creates a TimeOfDay based on the given time
.
Implementation
TimeOfDay.fromDateTime(DateTime time)
: hour = time.hour,
minute = time.minute,
second = time.second;