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

## Content

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



<h1 id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_IsLeapDay_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapDay*">IsLeapDay Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Rendering_JpCalendar_JapaneseCalendarEx_IsLeapDay_" data-uid="GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapDay*"></a>
<h4 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)">IsLeapDay(int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Determines whether the specified date in the specified era is a leap day.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override bool IsLeapDay(int year, int month, int day, int era)</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 integer that represents the year.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">month</span></td>
      <td><p>An integer from 1 to 12 that represents the month.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">day</span></td>
      <td><p>An integer from 1 to 31 that represents the day.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">era</span></td>
      <td><p>An integer that represents the era.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>true, if the specified day is a leap day; otherwise, false.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.calendar.isleapday#system-globalization-calendar-isleapday(system-int32-system-int32-system-int32-system-int32)">Calendar.IsLeapDay(int, int, int, int)</a></div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception">ArgumentOutOfRangeException</a></td>
      <td><p>year is outside the range supported by the calendar.-or- month is outside the range supported by the calendar.
-or- day is outside the range supported by the calendar.-or- era is outside the range supported by the calendar.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
