System.Globalization.JulianCalendar.GetDaysInMonth C# (CSharp) Метод

GetDaysInMonth() публичный Метод

public GetDaysInMonth ( int year, int month, int era ) : int
year int
month int
era int
Результат int
        public override int GetDaysInMonth(int year, int month, int era) {
            CheckYearEraRange(year, era);
            CheckMonthRange(month);
            int[] days = (year % 4 == 0) ? DaysToMonth366: DaysToMonth365;
            return (days[month] - days[month - 1]);
        }