Convert NodaTime DateTimeZone into TimeZoneInfo
问题 I'm using NodaTime because of its nice support for zoneinfo data, however I have a case where I need to convert the DateTimeZone into TimeZoneInfo for use in Quartz.NET. What's the recommended approach here? IANA has a mapping file between Windows time zones and zoneinfo time zones, can I create an extension method that utilises this information? Thanks, Dean 回答1: I would avoid using reflection if possible. I wouldn't like to bet on your approach working with future versions :) Feel free to