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); }