# C1.Win.Schedule.TimeInterval

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Schedule_TimeInterval" data-uid="C1.Win.Schedule.TimeInterval" class="text-break">TimeInterval Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.Schedule.TimeInterval.html">TimeInterval</a> object represents continuous interval of time.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">TimeInterval</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Schedule.html">C1.Win.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Schedule.10.dll</h6>
  <h5 id="C1_Win_Schedule_TimeInterval_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TimeInterval</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TimeInterval</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Schedule_TimeInterval__ctor_System_DateTime_System_DateTime_" data-uid="C1.Win.Schedule.TimeInterval.#ctor(System.DateTime,System.DateTime)">
          <a class="xref" href="C1.Win.Schedule.TimeInterval.-ctor.html#C1_Win_Schedule_TimeInterval__ctor_System_DateTime_System_DateTime_">TimeInterval(DateTime, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.Schedule.TimeInterval.html">TimeInterval</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Schedule_TimeInterval_End" data-uid="C1.Win.Schedule.TimeInterval.End">
          <a class="xref" href="C1.Win.Schedule.TimeInterval.End.html#C1_Win_Schedule_TimeInterval_End">End</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value
representing the end of time interval.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Schedule_TimeInterval_Start" data-uid="C1.Win.Schedule.TimeInterval.Start">
          <a class="xref" href="C1.Win.Schedule.TimeInterval.Start.html#C1_Win_Schedule_TimeInterval_Start">Start</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value
representing the beginning of time interval.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_Schedule_TimeInterval_Contains_System_DateTime_" data-uid="C1.Win.Schedule.TimeInterval.Contains(System.DateTime)">
          <a class="xref" href="C1.Win.Schedule.TimeInterval.Contains.html#C1_Win_Schedule_TimeInterval_Contains_System_DateTime_">Contains(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value indicating whether a specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value belongs to the current interval of time.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
