public EthiopianDate(int year, int month, int day) { _dateTime = EthiopianDateConverter.ToGregorianDate(year, month, day); _month = month; _day = day; _year = year; }
public void FromGregorianDate(DateTime dateTime) { EthiopianDate ethiopianDate = EthiopianDateConverter.ToEthiopianDate(dateTime); _month = ethiopianDate.Month; _day = ethiopianDate.Day; _year = ethiopianDate.Year; }
public EthiopianDate(DateTime dateTime) { _dateTime = dateTime; EthiopianDate ethiopianDate = EthiopianDateConverter.ToEthiopianDate(dateTime); _month = ethiopianDate.Month; _day = ethiopianDate.Day; _year = ethiopianDate.Year; }
public override DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era) { return(EthiopianDateConverter.ToGregorianDate(year, month, day)); }