# GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_ForceDayOfWeekHoliday__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.#ctor*">ForceDayOfWeekHoliday Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_ForceDayOfWeekHoliday__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_ForceDayOfWeekHoliday__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.#ctor">ForceDayOfWeekHoliday()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.html">ForceDayOfWeekHoliday</a>
class with the specified date.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ForceDayOfWeekHoliday()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="GrapeCity_Win_Spread_InputMan_CellType_ForceDayOfWeekHoliday__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_ForceDayOfWeekHoliday__ctor_System_Int32_GrapeCity_Win_Spread_InputMan_CellType_MonthFlags_GrapeCity_Win_Spread_InputMan_CellType_DayOfWeekInMonthFlags_GrapeCity_Win_Spread_InputMan_CellType_DayOfWeekFlags_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.#ctor(System.Int32,GrapeCity.Win.Spread.InputMan.CellType.MonthFlags,GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekInMonthFlags,GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekFlags)">ForceDayOfWeekHoliday(int, MonthFlags, DayOfWeekInMonthFlags, DayOfWeekFlags)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.html">ForceDayOfWeekHoliday</a>
class with the specified date.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ForceDayOfWeekHoliday(int year, MonthFlags month, DayOfWeekInMonthFlags weekdayOrder, DayOfWeekFlags dayOfWeek)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(year As Integer, month As MonthFlags, weekdayOrder As DayOfWeekInMonthFlags, dayOfWeek As DayOfWeekFlags)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">year</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value that indicates the year of the forced holiday in weekdays.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.MonthFlags.html">MonthFlags</a></td>
      <td><span class="parametername">month</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.MonthFlags.html">MonthFlags</a> enumeration value that indicates the month.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekInMonthFlags.html">DayOfWeekInMonthFlags</a></td>
      <td><span class="parametername">weekdayOrder</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekInMonthFlags.html">DayOfWeekInMonthFlags</a> enumeration value that indicates the weekday order.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekFlags.html">DayOfWeekFlags</a></td>
      <td><span class="parametername">dayOfWeek</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekFlags.html">DayOfWeekFlags</a> enumeration value that indicates the day of the week.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_ForceDayOfWeekHoliday__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_ForceDayOfWeekHoliday__ctor_System_String_System_Int32_GrapeCity_Win_Spread_InputMan_CellType_MonthFlags_GrapeCity_Win_Spread_InputMan_CellType_DayOfWeekInMonthFlags_GrapeCity_Win_Spread_InputMan_CellType_DayOfWeekFlags_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.#ctor(System.String,System.Int32,GrapeCity.Win.Spread.InputMan.CellType.MonthFlags,GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekInMonthFlags,GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekFlags)">ForceDayOfWeekHoliday(string, int, MonthFlags, DayOfWeekInMonthFlags, DayOfWeekFlags)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceDayOfWeekHoliday.html">ForceDayOfWeekHoliday</a>
class with the specified date.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ForceDayOfWeekHoliday(string name, int year, MonthFlags month, DayOfWeekInMonthFlags weekdayOrder, DayOfWeekFlags dayOfWeek)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(name As String, year As Integer, month As MonthFlags, weekdayOrder As DayOfWeekInMonthFlags, dayOfWeek As DayOfWeekFlags)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the name of the forced holiday in weekdays.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">year</span></td>
      <td><p>An <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value that indicates the year of the forced holiday in weekdays.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.MonthFlags.html">MonthFlags</a></td>
      <td><span class="parametername">month</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.MonthFlags.html">MonthFlags</a> enumeration value that indicates the month.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekInMonthFlags.html">DayOfWeekInMonthFlags</a></td>
      <td><span class="parametername">weekdayOrder</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekInMonthFlags.html">DayOfWeekInMonthFlags</a> enumeration value that indicates the weekday order.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekFlags.html">DayOfWeekFlags</a></td>
      <td><span class="parametername">dayOfWeek</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.DayOfWeekFlags.html">DayOfWeekFlags</a> enumeration value that indicates the day of the week.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
