/// <summary> /// Adds a custom month to the calendar. /// </summary> /// <returns> /// The index of the month. /// </returns> /// <param name='aMonth'> /// The custom month. /// </param> public static ulong addMonth(cMonth aMonth) { init(); mMonthList.Add((ulong)mMonthList.Count + 1, aMonth); mDaysThisMonth = getEndOfMonth(); mMonthCount++; return((ulong)mMonthCount); }
/// <summary> /// Adds a custom month to the calendar. /// </summary> /// <returns> /// The index of the month. /// </returns> /// <param name='aMonth'> /// The custom month. /// </param> public static ulong addMonth(cMonth aMonth) { init (); mMonthList.Add((ulong)mMonthList.Count+1, aMonth); mDaysThisMonth = getEndOfMonth(); mMonthCount++; return (ulong)mMonthCount; }