Solution: International Meeting Scheduler

Review the implementation of a utility class converting absolute UTC times into localized regional times.

Solution: International Meeting Scheduler

Review the implementation of a utility class converting absolute UTC times into localized regional times.
C# 14.0
namespace Corporate;
public class MeetingScheduler
{
public static DateTimeOffset GetLocalMeetingTime(DateTimeOffset meetingUtc, string timeZoneId)
{
TimeZoneInfo targetZone = TimeZoneInfo.FindSystemTimeZoneById(timeZoneId);
return TimeZoneInfo.ConvertTime(meetingUtc, targetZone);
}
}