title: Get events of a specific time range
body: <p>I'm working with the Office365 Outlook Calendar API. I need to get events of a specific time range. I tried to compare the DateTimeTimeZone values inside of the foreach command, but it seems like it only supports a == operator:</p>
  
  <pre><code>if ( calendarEvent.Start &gt;= new DateTimeTimeZone()
              {
                  TimeZone = TimeZoneInfo.Local.Id,
                  DateTime = DateTime.Now.ToString("s")
              })
  </code></pre>
  
  <p>This code snippet fails with the error: Cannot apply operator '>=' to operands of type 'Microsoft.Office365.OutlookServices.DateTimeTimeZone' and 'Microsoft.Office365.OutlookServices.DateTimeTimeZone'</p>
  
  <p>Are there any other ways get events of a specific time range, e.g. future events?</p>
  
  <p>This is my GetEvents()-method so far:</p>
  
  <pre><code>    [Route("GetEvents")]
      public async Task GetEvents()
      {
          //Get client
          OutlookServicesClient client = await this.GetClient();
  
          //Get events
          var events = await client.Me.Events
              .Take(10)
              .ExecuteAsync();
  
          foreach (var calendarEvent in events.CurrentPage)
          {
              //
              if ( calendarEvent.Subject == "Test 1" )
              {
                  System.Diagnostics.Debug.WriteLine("Event '{0}'.", calendarEvent.Subject) ; 
              }
          }
      }
  </code></pre>