According to MSDN in .Net DateTimeFormat.MonthName should contain exactly 13 elements with 12 element should be empty string. What this empty string is used for?
+3
A:
For index 12. Indexes 0--11 are the actual months in, for example, the en-US culture (January, February, etc.). The issue is that some Calendars have thirteen months.
Jason
2009-12-21 13:35:27
So is there a value indicating how much month there is in calendar?
Sergej Andrejev
2009-12-21 13:59:36
Use `Calendar.GetMonthsInYear`. It's dependent on the year because in some cultures (e.g., `he-IL`) the number of months varies from year to year). For a specific example, see year 5763 in the Hebrew calendar.
Jason
2009-12-21 14:12:57