/// <summary>
 /// Inherited code: Requires comment.
 /// </summary>
 /// <param name="time">Inherited code: Requires comment 1.</param>
 /// <param name="months">Inherited code: Requires comment 2.</param>
 /// <returns>Inherited code: Requires comment 3.</returns>
 public static DateTime? AddMonths(DateTime time, int months)
 {
     System.Globalization.Calendar cal = new CultureInfo("en-US").Calendar;
     try
     {
         return cal.AddMonths(time, months);
     }
     catch (ArgumentException)
     {
         return null;
     }
 }