TimeOfDay.fromDateTime constructor

TimeOfDay.fromDateTime(
  1. DateTime dateTime
)

Implementation

TimeOfDay.fromDateTime(DateTime dateTime)
    : hour = dateTime.hour,
      minute = dateTime.minute,
      second = dateTime.second;