# GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx" class="text-break">JapaneseCalendarEx Class
</h1>
  <div class="markdown level0 summary"><p>Jp calendar implementation that can be configured with custom eras set.</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.globalization.calendar">Calendar</a></div>
    <div class="level2"><span class="xref">JapaneseCalendarEx</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.ActiveReports.Core.Rendering.JpCalendar.html">GrapeCity.ActiveReports.Core.Rendering.JpCalendar</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class JapaneseCalendarEx : Calendar, 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_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx__ctor_GrapeCity_ActiveReports_Core_Rendering_JpCalendar_EraInfo___" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.#ctor(GrapeCity.ActiveReports.Core.Rendering.JpCalendar.EraInfo[])">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.-ctor.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx__ctor_GrapeCity_ActiveReports_Core_Rendering_JpCalendar_EraInfo___">JapaneseCalendarEx(EraInfo[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <span class="xref">JapaneseCalendarEx</span> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx__ctor_System_Exception_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.#ctor(System.Exception)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.-ctor.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx__ctor_System_Exception_">JapaneseCalendarEx(Exception)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_Error" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.Error">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.Error.html">Error</a>
        </td>
        <td class="markdown level1 summary"></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_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_AlgorithmType" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.AlgorithmType">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.AlgorithmType.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_AlgorithmType">AlgorithmType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that indicates whether the current calendar is solar-based, lunar-based, or a combination of both.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_Eras" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.Eras">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.Eras.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_Eras">Eras</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the list of eras in the <span class="xref">CalendarEx</span>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_MaxSupportedDateTime" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.MaxSupportedDateTime">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.MaxSupportedDateTime.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_MaxSupportedDateTime">MaxSupportedDateTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the latest date and time supported by the current <span class="xref">JapaneseCalendarEx</span> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_MinSupportedDateTime" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.MinSupportedDateTime">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.MinSupportedDateTime.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_MinSupportedDateTime">MinSupportedDateTime</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the earliest date and time supported by the current <span class="xref">JapaneseCalendarEx</span> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_TwoDigitYearMax" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.TwoDigitYearMax">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.TwoDigitYearMax.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_TwoDigitYearMax">TwoDigitYearMax</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.</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_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_AddMonths_System_DateTime_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.AddMonths(System.DateTime,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.AddMonths.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_AddMonths_System_DateTime_System_Int32_">AddMonths(DateTime, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> that is the specified number of months away from
the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_AddYears_System_DateTime_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.AddYears(System.DateTime,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.AddYears.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_AddYears_System_DateTime_System_Int32_">AddYears(DateTime, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> that is the specified number of years away from
the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDayOfMonth_System_DateTime_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDayOfMonth(System.DateTime)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDayOfMonth.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDayOfMonth_System_DateTime_">GetDayOfMonth(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the day of the month in the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDayOfWeek_System_DateTime_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDayOfWeek(System.DateTime)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDayOfWeek.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDayOfWeek_System_DateTime_">GetDayOfWeek(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the day of the week in the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDayOfYear_System_DateTime_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDayOfYear(System.DateTime)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDayOfYear.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDayOfYear_System_DateTime_">GetDayOfYear(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the day of the year in the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDaysInMonth_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDaysInMonth(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDaysInMonth.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDaysInMonth_System_Int32_System_Int32_System_Int32_">GetDaysInMonth(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of days in the specified month in the specified year in the specified era.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDaysInYear_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDaysInYear(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetDaysInYear.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetDaysInYear_System_Int32_System_Int32_">GetDaysInYear(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of days in the specified year in the specified era.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetEra_System_DateTime_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetEra(System.DateTime)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetEra.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetEra_System_DateTime_">GetEra(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the era in the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetLeapMonth_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetLeapMonth(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetLeapMonth.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetLeapMonth_System_Int32_System_Int32_">GetLeapMonth(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Calculates the leap month for a specified year and era.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetMonth_System_DateTime_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetMonth(System.DateTime)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetMonth.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetMonth_System_DateTime_">GetMonth(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the month in the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetMonthsInYear_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetMonthsInYear(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetMonthsInYear.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetMonthsInYear_System_Int32_System_Int32_">GetMonthsInYear(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of months in the specified year in the specified era.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetWeekOfYear_System_DateTime_System_Globalization_CalendarWeekRule_System_DayOfWeek_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetWeekOfYear(System.DateTime,System.Globalization.CalendarWeekRule,System.DayOfWeek)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetWeekOfYear.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetWeekOfYear_System_DateTime_System_Globalization_CalendarWeekRule_System_DayOfWeek_">GetWeekOfYear(DateTime, CalendarWeekRule, DayOfWeek)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the week of the year that includes the date in the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetYear_System_DateTime_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetYear(System.DateTime)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetYear.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_GetYear_System_DateTime_">GetYear(DateTime)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the year in the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_IsLeapDay_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapDay(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapDay.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_IsLeapDay_System_Int32_System_Int32_System_Int32_System_Int32_">IsLeapDay(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified date in the specified era is a leap day.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_IsLeapMonth_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapMonth(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapMonth.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_IsLeapMonth_System_Int32_System_Int32_System_Int32_">IsLeapMonth(int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified month in the specified year in the specified era is a leap month.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_IsLeapYear_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapYear(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapYear.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_IsLeapYear_System_Int32_System_Int32_">IsLeapYear(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified year in the specified era is a leap year.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_ToDateTime_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.ToDateTime(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.ToDateTime.html#GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_ToDateTime_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_">ToDateTime(int, int, int, int, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> that is set to the specified date and time in the specified era.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Tools.ObjectExtensions.IsNumber.html#GrapeCity_ActiveReports_Core_Rendering_Tools_ObjectExtensions_IsNumber_System_Object_">ObjectExtensions.IsNumber(object)</a>
  </div>

</div>
