# C1.Schedule.CalendarInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Schedule_CalendarInfo" data-uid="C1.Schedule.CalendarInfo" class="text-break">CalendarInfo Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Schedule.CalendarInfo.html">CalendarInfo</a> class manages and exposes all date-related data.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><span class="xref">CalendarInfo</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Schedule.html">C1.Schedule</a></h6>
  <h6><strong>Assembly</strong>: C1.ScheduleCore.dll</h6>
  <h5 id="C1_Schedule_CalendarInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CalendarInfo : Component, IComponent, IDisposable, INotifyPropertyChanged</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CalendarInfo
    Inherits Component
    Implements IComponent, IDisposable, INotifyPropertyChanged</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_Schedule_CalendarInfo__ctor" data-uid="C1.Schedule.CalendarInfo.#ctor">
          <a class="xref" href="C1.Schedule.CalendarInfo.-ctor.html#C1_Schedule_CalendarInfo__ctor">CalendarInfo()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Schedule.CalendarInfo.html">CalendarInfo</a> component.</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_Schedule_CalendarInfo_Culture" data-uid="C1.Schedule.CalendarInfo.Culture">
          <a class="xref" href="C1.Schedule.CalendarInfo.Culture.html#C1_Schedule_CalendarInfo_Culture">Culture</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Schedule.CalendarInfo.CultureInfo.html#C1_Schedule_CalendarInfo_CultureInfo">CultureInfo</a> object which
holds culture-specific information used by C1Schedule components.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_CultureInfo" data-uid="C1.Schedule.CalendarInfo.CultureInfo">
          <a class="xref" href="C1.Schedule.CalendarInfo.CultureInfo.html#C1_Schedule_CalendarInfo_CultureInfo">CultureInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Schedule.CalendarInfo.CultureInfo.html#C1_Schedule_CalendarInfo_CultureInfo">CultureInfo</a> object which
holds culture-specific information used by C1Schedule components.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_DateFormatString" data-uid="C1.Schedule.CalendarInfo.DateFormatString">
          <a class="xref" href="C1.Schedule.CalendarInfo.DateFormatString.html#C1_Schedule_CalendarInfo_DateFormatString">DateFormatString</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value determining display format
of date values to use in appointments and built-in dialogs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_DateTimeKind" data-uid="C1.Schedule.CalendarInfo.DateTimeKind">
          <a class="xref" href="C1.Schedule.CalendarInfo.DateTimeKind.html#C1_Schedule_CalendarInfo_DateTimeKind">DateTimeKind</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets <a class="xref" href="C1.Schedule.CalendarInfo.DateTimeKind.html#C1_Schedule_CalendarInfo_DateTimeKind">DateTimeKind</a> specifying DateTime kind
used for saving <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_EndDayTime" data-uid="C1.Schedule.CalendarInfo.EndDayTime">
          <a class="xref" href="C1.Schedule.CalendarInfo.EndDayTime.html#C1_Schedule_CalendarInfo_EndDayTime">EndDayTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value specifying
the end of the working time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_FirstDate" data-uid="C1.Schedule.CalendarInfo.FirstDate">
          <a class="xref" href="C1.Schedule.CalendarInfo.FirstDate.html#C1_Schedule_CalendarInfo_FirstDate">FirstDate</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 specifying minimum date allowed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_Holidays" data-uid="C1.Schedule.CalendarInfo.Holidays">
          <a class="xref" href="C1.Schedule.CalendarInfo.Holidays.html#C1_Schedule_CalendarInfo_Holidays">Holidays</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List&lt;T&gt;</a> object which holds
the list of holidays (non-working days in addition to weekends).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_LastDate" data-uid="C1.Schedule.CalendarInfo.LastDate">
          <a class="xref" href="C1.Schedule.CalendarInfo.LastDate.html#C1_Schedule_CalendarInfo_LastDate">LastDate</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 specifying maximum date allowed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_LastTime" data-uid="C1.Schedule.CalendarInfo.LastTime">
          <a class="xref" href="C1.Schedule.CalendarInfo.LastTime.html#C1_Schedule_CalendarInfo_LastTime">LastTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value specifying maximum DateTime allowed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_StartDayTime" data-uid="C1.Schedule.CalendarInfo.StartDayTime">
          <a class="xref" href="C1.Schedule.CalendarInfo.StartDayTime.html#C1_Schedule_CalendarInfo_StartDayTime">StartDayTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value specifying the beginning
of the working time.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_TimeFormatString" data-uid="C1.Schedule.CalendarInfo.TimeFormatString">
          <a class="xref" href="C1.Schedule.CalendarInfo.TimeFormatString.html#C1_Schedule_CalendarInfo_TimeFormatString">TimeFormatString</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value determining display format
of time values to use in appointments and built-in dialogs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_TimeInterval" data-uid="C1.Schedule.CalendarInfo.TimeInterval">
          <a class="xref" href="C1.Schedule.CalendarInfo.TimeInterval.html#C1_Schedule_CalendarInfo_TimeInterval">TimeInterval</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Schedule.TimeScaleEnum.html">TimeScaleEnum</a> value specifying the time interval
which is used for displaying time slots in the DayView.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_TimeScale" data-uid="C1.Schedule.CalendarInfo.TimeScale">
          <a class="xref" href="C1.Schedule.CalendarInfo.TimeScale.html#C1_Schedule_CalendarInfo_TimeScale">TimeScale</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.timespan">TimeSpan</a> value specifying the time interval
which is used for displaying time slots in the DayView.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_WeekStart" data-uid="C1.Schedule.CalendarInfo.WeekStart">
          <a class="xref" href="C1.Schedule.CalendarInfo.WeekStart.html#C1_Schedule_CalendarInfo_WeekStart">WeekStart</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.dayofweek">DayOfWeek</a> value determining
the first day of the week. Default is system settings.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_WeekendExceptions" data-uid="C1.Schedule.CalendarInfo.WeekendExceptions">
          <a class="xref" href="C1.Schedule.CalendarInfo.WeekendExceptions.html#C1_Schedule_CalendarInfo_WeekendExceptions">WeekendExceptions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List&lt;T&gt;</a> object which holds
the list of weekend days which should be working.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_WorkDays" data-uid="C1.Schedule.CalendarInfo.WorkDays">
          <a class="xref" href="C1.Schedule.CalendarInfo.WorkDays.html#C1_Schedule_CalendarInfo_WorkDays">WorkDays</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.Schedule.CalendarInfo.WorkDays.html#C1_Schedule_CalendarInfo_WorkDays">WorkDays</a> object containing the
set of working days in one week.</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_Schedule_CalendarInfo_CopyFrom_C1_Schedule_CalendarInfo_" data-uid="C1.Schedule.CalendarInfo.CopyFrom(C1.Schedule.CalendarInfo)">
          <a class="xref" href="C1.Schedule.CalendarInfo.CopyFrom.html#C1_Schedule_CalendarInfo_CopyFrom_C1_Schedule_CalendarInfo_">CopyFrom(CalendarInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies properties from the specified <a class="xref" href="C1.Schedule.CalendarInfo.html">CalendarInfo</a> object to this one.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_GetDayOfWeekName_System_DayOfWeek_" data-uid="C1.Schedule.CalendarInfo.GetDayOfWeekName(System.DayOfWeek)">
          <a class="xref" href="C1.Schedule.CalendarInfo.GetDayOfWeekName.html#C1_Schedule_CalendarInfo_GetDayOfWeekName_System_DayOfWeek_">GetDayOfWeekName(DayOfWeek)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the culture-specific full name of the specified day of the week based on the current UI culture.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_GetDayOfWeekName_System_DayOfWeek_System_Globalization_CultureInfo_" data-uid="C1.Schedule.CalendarInfo.GetDayOfWeekName(System.DayOfWeek,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.Schedule.CalendarInfo.GetDayOfWeekName.html#C1_Schedule_CalendarInfo_GetDayOfWeekName_System_DayOfWeek_System_Globalization_CultureInfo_">GetDayOfWeekName(DayOfWeek, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the culture-specific full name of the specified day of the week based on the specified culture.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_GetFirstWeekDay_System_DateTime_" data-uid="C1.Schedule.CalendarInfo.GetFirstWeekDay(System.DateTime)">
          <a class="xref" href="C1.Schedule.CalendarInfo.GetFirstWeekDay.html#C1_Schedule_CalendarInfo_GetFirstWeekDay_System_DateTime_">GetFirstWeekDay(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the first day of week, containing specified date.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_GetInstanceName_C1_Schedule_WeekOfMonthEnum_" data-uid="C1.Schedule.CalendarInfo.GetInstanceName(C1.Schedule.WeekOfMonthEnum)">
          <a class="xref" href="C1.Schedule.CalendarInfo.GetInstanceName.html#C1_Schedule_CalendarInfo_GetInstanceName_C1_Schedule_WeekOfMonthEnum_">GetInstanceName(WeekOfMonthEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the culture-specific full name of the specified instance based on the
current UI culture.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_GetInstanceName_C1_Schedule_WeekOfMonthEnum_System_Globalization_CultureInfo_" data-uid="C1.Schedule.CalendarInfo.GetInstanceName(C1.Schedule.WeekOfMonthEnum,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.Schedule.CalendarInfo.GetInstanceName.html#C1_Schedule_CalendarInfo_GetInstanceName_C1_Schedule_WeekOfMonthEnum_System_Globalization_CultureInfo_">GetInstanceName(WeekOfMonthEnum, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the culture-specific full name of the specified instance based on the specified culture.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_GetMonthName_System_Int32_" data-uid="C1.Schedule.CalendarInfo.GetMonthName(System.Int32)">
          <a class="xref" href="C1.Schedule.CalendarInfo.GetMonthName.html#C1_Schedule_CalendarInfo_GetMonthName_System_Int32_">GetMonthName(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the culture-specific full name of the specified month based on the
current UI culture.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_GetMonthName_System_Int32_System_Globalization_CultureInfo_" data-uid="C1.Schedule.CalendarInfo.GetMonthName(System.Int32,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.Schedule.CalendarInfo.GetMonthName.html#C1_Schedule_CalendarInfo_GetMonthName_System_Int32_System_Globalization_CultureInfo_">GetMonthName(int, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the culture-specific full name of the specified month based on the
specified culture.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_GetWeekOfYear_System_DateTime_" data-uid="C1.Schedule.CalendarInfo.GetWeekOfYear(System.DateTime)">
          <a class="xref" href="C1.Schedule.CalendarInfo.GetWeekOfYear.html#C1_Schedule_CalendarInfo_GetWeekOfYear_System_DateTime_">GetWeekOfYear(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>returns week of year for the specified date according to the current culture settings</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_IsWorkingDay_System_DateTime_" data-uid="C1.Schedule.CalendarInfo.IsWorkingDay(System.DateTime)">
          <a class="xref" href="C1.Schedule.CalendarInfo.IsWorkingDay.html#C1_Schedule_CalendarInfo_IsWorkingDay_System_DateTime_">IsWorkingDay(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if specified date is not weekend or holiday.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_IsWorkingInterval_System_DateTime_System_DateTime_" data-uid="C1.Schedule.CalendarInfo.IsWorkingInterval(System.DateTime,System.DateTime)">
          <a class="xref" href="C1.Schedule.CalendarInfo.IsWorkingInterval.html#C1_Schedule_CalendarInfo_IsWorkingInterval_System_DateTime_System_DateTime_">IsWorkingInterval(DateTime, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns true if specified time interval is a working time.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Schedule_CalendarInfo_PropertyChanged" data-uid="C1.Schedule.CalendarInfo.PropertyChanged">
          <a class="xref" href="C1.Schedule.CalendarInfo.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the property of <a class="xref" href="C1.Schedule.CalendarInfo.html">CalendarInfo</a> object was changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Schedule_CalendarInfo_SelectedDaysChanged" data-uid="C1.Schedule.CalendarInfo.SelectedDaysChanged">
          <a class="xref" href="C1.Schedule.CalendarInfo.SelectedDaysChanged.html">SelectedDaysChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the range of selected days was changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
