/// <summary>
        /// Set "TimeZoneInfo.Local" to actual local time zone. (include "UseSystemTimeZones()")
        /// </summary>
        public static WebAssemblyHost UseLocalTimeZone(this WebAssemblyHost host)
        {
            host.UseSystemTimeZones();
            var jsRuntime = host.Services.GetService(typeof(IJSRuntime)) as IJSInProcessRuntime;

            if (jsRuntime != null)
            {
                var ianaTimeZoneName = jsRuntime.Invoke <string>("eval", "(function(){try { return ''+ Intl.DateTimeFormat().resolvedOptions().timeZone; } catch(e) {} return 'UTC';}())");
                TimeZoneKit.TimeZoneKit.SetLocalTimeZoneByIANAName(ianaTimeZoneName);
            }
            return(host);
        }
 /// <summary>
 /// Set "TimeZoneInfo.Local" to the time zone that specified IANA name. (include "UseSystemTimeZones()")
 /// </summary>
 public static WebAssemblyHost UseLocalTimeZoneByIANAName(this WebAssemblyHost host, string ianaTimeZoneName)
 {
     host.UseSystemTimeZones();
     TimeZoneKit.TimeZoneKit.SetLocalTimeZoneByIANAName(ianaTimeZoneName);
     return(host);
 }
 /// <summary>
 /// Set "TimeZoneInfo.Local" to the time zone that specified id. (include "UseSystemTimeZones()")
 /// </summary>
 public static WebAssemblyHost UseLocalTimeZone(this WebAssemblyHost host, string timeZoneId)
 {
     host.UseSystemTimeZones();
     TimeZoneKit.TimeZoneKit.SetLocalTimeZone(timeZoneId);
     return(host);
 }