Time.startOfDay constructor
Creates a new Time representing the start of the day (00:00:00.000).
See the Rust documentation for start_of_day
for more information.
Throws CalendarError on failure.
Implementation
factory Time.startOfDay() {
final result = _icu4x_Time_start_of_day_mv1();
if (!result.isOk) {
throw CalendarError.values[result.union.err];
}
return Time._fromFfi(result.union.ok, []);
}