Exemplo n.º 1
0
        public void FromGregorianDate(DateTime dateTime)
        {
            EthiopianDate ethiopianDate = EthiopianDateConverter.ToEthiopianDate(dateTime);

            _month = ethiopianDate.Month;
            _day   = ethiopianDate.Day;
            _year  = ethiopianDate.Year;
        }
Exemplo n.º 2
0
        public EthiopianDate(DateTime dateTime)
        {
            _dateTime = dateTime;
            EthiopianDate ethiopianDate = EthiopianDateConverter.ToEthiopianDate(dateTime);

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