Cats.Helpers.EthiopianDate.FixedToEthiopian C# (CSharp) 메소드

FixedToEthiopian() 개인적인 정적인 메소드

Fixes to ethiopian.
private static FixedToEthiopian ( int fixedDate, int &year, int &month, int &day ) : void
fixedDate int The fixed date.
year int The year.
month int The month.
day int The day.
리턴 void
        private static void FixedToEthiopian(int fixedDate, ref int year, ref int month, ref int day)
        {
            year = (int)Math.Floor((double)(((double)((4 * (fixedDate - 0xaec)) + 0x5b7)) / 1461.0));
            month = ((int)Math.Floor((double)(((double)(fixedDate - EthiopianToFixed(year, 1, 1))) / 30.0))) + 1;
            day = (fixedDate + 1) - EthiopianToFixed(year, month, 1);
        }