atDateTimeIso method

TimeZoneInfo atDateTimeIso(
  1. IsoDate date,
  2. Time time
)

Sets the datetime at which to interpret the time zone for display name lookup.

Notes:

  • If not set, the formatting datetime is used if possible.
  • The constraints are the same as with ZoneNameTimestamp in Rust.
  • Set to year 1000 or 9999 for a reference far in the past or future.

See the Rust documentation for at_date_time_iso for more information.

Additional information: 1

Implementation

TimeZoneInfo atDateTimeIso(IsoDate date, Time time) {
  final result = _icu4x_TimeZoneInfo_at_date_time_iso_mv1(_ffi, date._ffi, time._ffi);
  return TimeZoneInfo._fromFfi(result, []);
}