DateTimeFormatInfo.Calendar problem
-
:confused::confused::confused: There is no culture specified for (Amharic) ethiopia but i've used the affrikans culture to fit my needs by customizing the properties now i wanted to use the DateTimeFormatInfo to change the way my dates looked on the app and to have it a local feel i inherited from the System.Globalization.Calendar class to make my own EthiopianCalendar class. But the propblem is i can not assign this class's instance to the Affrikans culture in stance DateTimeFormatInfo property. I tried to have a new writeble instance for the DateTimeFormatInfo but setting the caelndar property results in InvalidOperationException i think caelndars can not be assigned if they are not listed in the optional calendars list. But why did microsoft made the Calendar class abstract, there is no use in inheriting from this class if we can't set it to a DateTimeFormat.Calendar property, or we have to write our own class that implements IFormatProvider like DateTimeFormatInfo (that's sad) ???? Is there any way to get around this ?? I've asked this question before but no one was able to give me an answer. if u can .... :confused::confused::confused: -- modified at 10:25 Monday 3rd October, 2005