Replicate .NET's TimeZoneInfo.IsDaylightSavingTime() and GetUtcOffset()