using System;
using System.Globalization;
public class Test
{
public static void Main()
{
DateTimeOffset firstTime = new DateTimeOffset(2010, 9, 2, 6, 45, 0, new TimeSpan(-7, 0, 0));
DateTimeOffset secondTime = firstTime;
Console.WriteLine("{0} = {1}: {2}", firstTime, secondTime, firstTime.Equals(secondTime));
secondTime = new DateTimeOffset(2010, 9, 2, 6, 45, 0, new TimeSpan(-6, 0, 0));
Console.WriteLine("{0} = {1}: {2}", firstTime, secondTime, firstTime.Equals(secondTime));
secondTime = new DateTimeOffset(2010, 9, 2, 8, 45, 0, new TimeSpan(-5, 0, 0));
Console.WriteLine("{0} = {1}: {2}", firstTime, secondTime, firstTime.Equals(secondTime));
}
}