# GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday" class="text-break">Holiday Class
</h1>
  <div class="markdown level0 summary"><p>An implementation of the yearly holidays - which means
holidays defined here will appear yearly regardless
of the year.</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="GrapeCity.Wpf.SpreadSheet.CellType.Editors.HolidayBase.html">HolidayBase</a></div>
    <div class="level2"><span class="xref">Holiday</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.IHoliday.html">IHoliday</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Holiday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Holiday
    Inherits HolidayBase
    Implements INotifyPropertyChanged, IHoliday, ICloneable</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor">Holiday()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.html">Holiday</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor_System_Int32_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.#ctor(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor_System_Int32_System_Int32_">Holiday(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.html">Holiday</a>
class with the specified settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor_System_Int32_System_Int32_System_Int32_System_Int32_">Holiday(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.html">Holiday</a>
class with the specified settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor_System_String_System_Int32_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.#ctor(System.String,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor_System_String_System_Int32_System_Int32_">Holiday(string, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.html">Holiday</a>
class with the specified settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor_System_String_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.#ctor(System.String,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday__ctor_System_String_System_Int32_System_Int32_System_Int32_System_Int32_">Holiday(string, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.html">Holiday</a>
class with a specified holiday date.</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_EndDay" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.EndDay">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.EndDay.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_EndDay">EndDay</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ending day of the holiday.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_EndMonth" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.EndMonth">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.EndMonth.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_EndMonth">EndMonth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the ending month of the holiday.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_HolidayName" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.HolidayName">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.HolidayName.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_HolidayName">HolidayName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the holiday.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_IsYearly" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.IsYearly">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.IsYearly.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_IsYearly">IsYearly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the holiday implementation is yearly.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_StartDay" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.StartDay">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.StartDay.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_StartDay">StartDay</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the starting day of the holiday.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_StartMonth" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.StartMonth">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.StartMonth.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_StartMonth">StartMonth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the starting month of the holiday.</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="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_Clone" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.Clone">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.Clone.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a shallow copy of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.html">Holiday</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_IsDefined_System_DateTime_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.IsDefined(System.DateTime)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.IsDefined.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_IsDefined_System_DateTime_">IsDefined(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the specified date is a <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.html">Holiday</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_TypeOfDay_System_DateTime_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.TypeOfDay(System.DateTime)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.Holiday.TypeOfDay.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_Holiday_TypeOfDay_System_DateTime_">TypeOfDay(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the type of day for the specified date.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
