# C1.Globalization.JapaneseCalendarEx

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Globalization_JapaneseCalendarEx" data-uid="C1.Globalization.JapaneseCalendarEx" class="text-break">JapaneseCalendarEx Class
</h1>
  <div class="markdown level0 summary"><p>Extended Japanese calendar.</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"><a class="xref" href="C1.Globalization.CalendarEx.html">CalendarEx</a></div>
    <div class="level3"><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="C1.Globalization.html">C1.Globalization</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Globalization_JapaneseCalendarEx_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class JapaneseCalendarEx : CalendarEx, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class JapaneseCalendarEx
    Inherits CalendarEx
    Implements ICloneable</code></pre>
  </div>
  <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="C1_Globalization_JapaneseCalendarEx_AlgorithmType" data-uid="C1.Globalization.JapaneseCalendarEx.AlgorithmType">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.AlgorithmType.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_DefaultInstance" data-uid="C1.Globalization.JapaneseCalendarEx.DefaultInstance">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.DefaultInstance.html#C1_Globalization_JapaneseCalendarEx_DefaultInstance">DefaultInstance</a>
        </td>
        <td class="markdown level1 summary"><p>The <a class="xref" href="C1.Globalization.JapaneseCalendarEx.html">JapaneseCalendarEx</a> default instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Globalization_JapaneseCalendarEx_PrototypeCalendar" data-uid="C1.Globalization.JapaneseCalendarEx.PrototypeCalendar">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.PrototypeCalendar.html#C1_Globalization_JapaneseCalendarEx_PrototypeCalendar">PrototypeCalendar</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a prototype calendar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Globalization_JapaneseCalendarEx_TwoDigitYearMax" data-uid="C1.Globalization.JapaneseCalendarEx.TwoDigitYearMax">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.TwoDigitYearMax.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_AddJapaneseEra_System_Int32_System_DateTime_System_DateTime_System_String_System_String_System_String_System_String_" data-uid="C1.Globalization.JapaneseCalendarEx.AddJapaneseEra(System.Int32,System.DateTime,System.DateTime,System.String,System.String,System.String,System.String)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.AddJapaneseEra.html#C1_Globalization_JapaneseCalendarEx_AddJapaneseEra_System_Int32_System_DateTime_System_DateTime_System_String_System_String_System_String_System_String_">AddJapaneseEra(int, DateTime, DateTime, string, string, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a Japanese era in the calendar.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Globalization_JapaneseCalendarEx_AddMonths_System_DateTime_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.AddMonths(System.DateTime,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.AddMonths.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_AddYears_System_DateTime_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.AddYears(System.DateTime,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.AddYears.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetDayOfMonth_System_DateTime_" data-uid="C1.Globalization.JapaneseCalendarEx.GetDayOfMonth(System.DateTime)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetDayOfMonth.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetDayOfWeek_System_DateTime_" data-uid="C1.Globalization.JapaneseCalendarEx.GetDayOfWeek(System.DateTime)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetDayOfWeek.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetDayOfYear_System_DateTime_" data-uid="C1.Globalization.JapaneseCalendarEx.GetDayOfYear(System.DateTime)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetDayOfYear.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetDaysInMonth_System_Int32_System_Int32_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.GetDaysInMonth(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetDaysInMonth.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetDaysInYear_System_Int32_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.GetDaysInYear(System.Int32,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetDaysInYear.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetEra_System_DateTime_" data-uid="C1.Globalization.JapaneseCalendarEx.GetEra(System.DateTime)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetEra.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetLeapMonth_System_Int32_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.GetLeapMonth(System.Int32,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetLeapMonth.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetMonth_System_DateTime_" data-uid="C1.Globalization.JapaneseCalendarEx.GetMonth(System.DateTime)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetMonth.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetMonthsInYear_System_Int32_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.GetMonthsInYear(System.Int32,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetMonthsInYear.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetWeekOfYear_System_DateTime_System_Globalization_CalendarWeekRule_System_DayOfWeek_" data-uid="C1.Globalization.JapaneseCalendarEx.GetWeekOfYear(System.DateTime,System.Globalization.CalendarWeekRule,System.DayOfWeek)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetWeekOfYear.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_GetYear_System_DateTime_" data-uid="C1.Globalization.JapaneseCalendarEx.GetYear(System.DateTime)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.GetYear.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_IsLeapDay_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.IsLeapDay(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.IsLeapDay.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_IsLeapMonth_System_Int32_System_Int32_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.IsLeapMonth(System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.IsLeapMonth.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_IsLeapYear_System_Int32_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.IsLeapYear(System.Int32,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.IsLeapYear.html#C1_Globalization_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="C1_Globalization_JapaneseCalendarEx_ToDateTime_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Globalization.JapaneseCalendarEx.ToDateTime(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Globalization.JapaneseCalendarEx.ToDateTime.html#C1_Globalization_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>

</div>
