using System;
public class CompareTimes
{
public static void Main()
{
DateTimeOffset firstTime = new DateTimeOffset(2007, 9, 1, 6, 45, 0, new TimeSpan(-7, 0, 0));
DateTimeOffset secondTime = firstTime;
Console.WriteLine(DateTimeOffset.Compare(firstTime, secondTime));
secondTime = new DateTimeOffset(2007, 9, 1, 6, 45, 0, new TimeSpan(-6, 0, 0));
Console.WriteLine(DateTimeOffset.Compare(firstTime, secondTime));
secondTime = new DateTimeOffset(2007, 9, 1, 8, 45, 0, new TimeSpan(-5, 0, 0));
Console.WriteLine(DateTimeOffset.Compare(firstTime, secondTime));
}
}