> Why does System.Globalization.DateTimeFormatInfo.CurrentInfo.MonthNames
> return 13 elements? Why does it not use the cuurent culture?
RTFM ;)
DateTimeFormatInfo.MonthNames Property
Property Value
A one-dimensional array of type String containing the culture-specific
full names of the months. In a 12-month calendar, the 13th element of
the array is an empty string. The array for InvariantInfo contains
"January", "February", "March", "April", "May", "June", "July",
"August", "September", "October", "November", "December", and "".

Signature
Göran Andersson
_____
http://www.guffa.com
Hi,
> Why does System.Globalization.DateTimeFormatInfo.CurrentInfo.MonthNames
> return 13 elements? Why does it not use the cuurent culture?
I do not know of any culture that has 13 months.
Now I do not know the rationale behind using a final empty value, somebody
has a clue?
Mythran - 20 Aug 2007 16:43 GMT
> Hi,
>
[quoted text clipped - 5 lines]
> Now I do not know the rationale behind using a final empty value, somebody
> has a clue?
A calendar system that has 13 months is a "reformed" calendar that allows an
equal # of days spread across the 13 months (28 days x 13 months = 364
calendar days).
Checkout "Calendar reform" on wikipedia for a more in-depth explanation :)
HTH,
Mythran
Ignacio Machin ( .NET/ C# MVP ) - 20 Aug 2007 19:23 GMT
Hi,
>> Hi,
>>
[quoted text clipped - 11 lines]
>
> Checkout "Calendar reform" on wikipedia for a more in-depth explanation :)
Thanks for the link!