Cats.Helpers.EthiopianDate.GetEthiopianYear C# (CSharp) Method

GetEthiopianYear() private static method

Returns Ethiopian year as an output. Takes the gregorian date as input.
private static GetEthiopianYear ( int gregorianYear, int gregorianMonth ) : int
gregorianYear int
gregorianMonth int
return int
        private static int GetEthiopianYear(int gregorianYear, int gregorianMonth)
        {
            return (gregorianMonth >= 9 && gregorianMonth <= 12) ? gregorianYear - 7 : gregorianYear - 8;
        }