예제 #1
0
        private (int year, int month, int day) DateParts(DateTime time)
        {
            int jdn = CalendarUtilities.DateTimeToJdn(time);

            return(JdnToEthiopian(jdn));
        }
예제 #2
0
        public override DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era)
        {
            int jdn = EthiopianToJdn(year, month, day);

            return(CalendarUtilities.JdnToDateTime(jdn, hour, minute, second, millisecond));
        }