コード例 #1
0
        public void FromGregorianDate(DateTime dateTime)
        {
            EthiopianDate ethiopianDate = EthiopianDateConverter.ToEthiopianDate(dateTime);

            _month = ethiopianDate.Month;
            _day   = ethiopianDate.Day;
            _year  = ethiopianDate.Year;
        }
コード例 #2
0
        public EthiopianDate(DateTime dateTime)
        {
            _dateTime = dateTime;
            EthiopianDate ethiopianDate = EthiopianDateConverter.ToEthiopianDate(dateTime);

            _month = ethiopianDate.Month;
            _day   = ethiopianDate.Day;
            _year  = ethiopianDate.Year;
        }