-Changed time zone conversions to use new TimeZoneInfo instead of TimeZone

This commit is contained in:
JamesNK
2011-11-01 10:45:46 +00:00
parent b305ba100b
commit c7de25a37a
4 changed files with 16 additions and 34 deletions
@@ -44,13 +44,6 @@ namespace Newtonsoft.Json.Tests
//Thread.CurrentThread.CurrentUICulture = turkey;
}
//public string GetOffset(DateTime value)
//{
// TimeSpan utcOffset = TimeZone.CurrentTimeZone.GetUtcOffset(value.ToLocalTime());
// return utcOffset.Hours.ToString("+00;-00") + utcOffset.Minutes.ToString("00;00");
//}
protected void WriteEscapedJson(string json)
{
Console.WriteLine(EscapeJson(json));