WikiCrawler/Utility/DateUtility.cs
/// <summary>
/// Returns the english name of the month with the specified index (1-based).
/// </summary>
Returns the english name of the month with the specified index (1-based).
Returns the english name of the month with the specified index ( 1 - based ) .
public static string GetMonthName(int index)
	{
		switch (index)
		{
			case 1: return "January";
			case 2: return "February";
			case 3: return "March";
			case 4: return "April";
			case 5: return "May";
			case 6: return "June";
			case 7: return "July";
			case 8: return "August";
			case 9: return "September";
			case 10: return "October";
			case 11: return "November";
			case 12: return "December";
			default:
				throw new ArgumentOutOfRangeException();
		}
	}
public static string GetMonthName ( int index ) { switch ( index ) { case 1 : return " " ; case 2 : return " " ; case 3 : return " " ; case 4 : return " " ; case 5 : return " " ; case 6 : return " " ; case 7 : return " " ; case 8 : return " " ; case 9 : return " " ; case 10 : return " " ; case 11 : return " " ; case 12 : return " " ; default : throw new ArgumentOutOfRangeException ( ) ; } }
Returns the english name of the month with the specified index (1-based).
Returns the english name of the month with the specified index ( 1 - based ) .
index
int