# GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday" class="text-break">ForceWorkday Class
</h1>
  <div class="markdown level0 summary"><p>An implementation of the forced workdays which are
based on the exact specified dates and are not yearly.</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.Win.Spread.InputMan.CellType.HolidayBase.html">HolidayBase</a></div>
    <div class="level2"><span class="xref">ForceWorkday</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.Win.Spread.InputMan.CellType.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.Win.Spread.InputMan.CellType.html">GrapeCity.Win.Spread.InputMan.CellType</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Win.PluginInputMan.dll</h6>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ForceWorkdayConverter))]
public class ForceWorkday : HolidayBase, INotifyPropertyChanged, IHoliday, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ForceWorkdayConverter))&gt;
Public Class ForceWorkday
    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_Win_Spread_InputMan_CellType_ForceWorkday__ctor_System_DateTime_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.#ctor(System.DateTime)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday__ctor_System_DateTime_">ForceWorkday(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceHoliday.html">ForceHoliday</a>
class with the specified date.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday__ctor_System_DateTime_System_DateTime_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.#ctor(System.DateTime,System.DateTime)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday__ctor_System_DateTime_System_DateTime_">ForceWorkday(DateTime, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceHoliday.html">ForceHoliday</a>
class with the specified date.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday__ctor_System_String_System_DateTime_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.#ctor(System.String,System.DateTime)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday__ctor_System_String_System_DateTime_">ForceWorkday(string, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceHoliday.html">ForceHoliday</a>
class with the specified date.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday__ctor_System_String_System_DateTime_System_DateTime_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.#ctor(System.String,System.DateTime,System.DateTime)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday__ctor_System_String_System_DateTime_System_DateTime_">ForceWorkday(string, DateTime, DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceHoliday.html">ForceHoliday</a>
class with the specified 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_Win_Spread_InputMan_CellType_ForceWorkday_End" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.End">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.End.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_End">End</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the end forced workday.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_IsYearly" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.IsYearly">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.IsYearly.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_IsYearly">IsYearly</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the workday implementation is yearly.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_Name" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.Name">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.Name.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the forced workday.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_Start" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.Start">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.Start.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_Start">Start</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the starting forced workday.</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_Win_Spread_InputMan_CellType_ForceWorkday_Clone" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.Clone">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.Clone.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a shallow copy of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.html">ForceWorkday</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_IsHoliday_System_DateTime_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.IsHoliday(System.DateTime)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.IsHoliday.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_IsHoliday_System_DateTime_">IsHoliday(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified date is a forced workday.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_TypeOfDay_System_DateTime_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.TypeOfDay(System.DateTime)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.ForceWorkday.TypeOfDay.html#GrapeCity_Win_Spread_InputMan_CellType_ForceWorkday_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>
