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