Example #1
0
 /// <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);
 }
Example #2
0
 /// <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;
 }