RealGetDaysInYear() private method

private RealGetDaysInYear ( int year ) : int
year int
return int
 /// <summary>Determines whether the specified year in the specified era is a leap year.</summary>
 /// <param name="year">A year. </param>
 /// <param name="era">An era. Specify <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</param>
 /// <returns>
 ///     <see langword="true" /> if the specified year is a leap year; otherwise, <see langword="false" />.</returns>
 /// <exception cref="T:System.ArgumentOutOfRangeException">
 ///         <paramref name="year" /> or <paramref name="era" /> is outside the range supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class. </exception>
 // Token: 0x06002EE8 RID: 12008 RVA: 0x000B4089 File Offset: 0x000B2289
 public override bool IsLeapYear(int year, int era)
 {
     UmAlQuraCalendar.CheckYearRange(year, era);
     return(UmAlQuraCalendar.RealGetDaysInYear(year) == 355);
 }
 /// <summary>Calculates the number of days in the specified year of the specified era.</summary>
 /// <param name="year">A year. </param>
 /// <param name="era">An era. Specify <see langword="UmAlQuraCalendar.Eras[UmAlQuraCalendar.CurrentEra]" /> or <see cref="F:System.Globalization.UmAlQuraCalendar.UmAlQuraEra" />.</param>
 /// <returns>The number of days in the specified year and era. The number of days is 354 in a common year or 355 in a leap year.</returns>
 /// <exception cref="T:System.ArgumentOutOfRangeException">
 ///         <paramref name="year" /> or <paramref name="era" /> is outside the range supported by the <see cref="T:System.Globalization.UmAlQuraCalendar" /> class. </exception>
 // Token: 0x06002EDF RID: 11999 RVA: 0x000B3FC9 File Offset: 0x000B21C9
 public override int GetDaysInYear(int year, int era)
 {
     UmAlQuraCalendar.CheckYearRange(year, era);
     return(UmAlQuraCalendar.RealGetDaysInYear(year));
 }