ZonedDateTime.from constructor
ZonedDateTime.from(])
Creates a ZonedDateTime.
final singapore = Timezone('Asia/Singapore');
ZonedDateTime.from(singapore, 2023, 5, 11);
Implementation
factory ZonedDateTime.from(Timezone timezone, int year, [
int month = 1,
int day = 1,
int hour = 0,
int minute = 0,
int second = 0,
int millisecond = 0,
int microsecond = 0,
]) => ZonedDateTime._convert(timezone, DateTime.utc(year, month, day, hour, minute, second, millisecond, microsecond));