/// </para>
/// </remarks>
[Serializable]
-#if NET_2_0
[ComVisible (true)]
-#endif
-[MonoTODO ("Serialization format not compatible with .NET")]
+[MonoLimitation ("Serialization format not compatible with .NET")]
public class GregorianCalendar : Calendar {
/// <summary>
return ADEra;
}
-#if NET_2_0
[ComVisible (false)]
public override int GetLeapMonth (int year, int era)
{
return 0;
}
-#endif
/// <summary>
/// Overridden. Gives the number of the month of the specified
return 12;
}
-#if NET_2_0
[ComVisible (false)]
public override int GetWeekOfYear (DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek)
{
return base.GetWeekOfYear (time, rule, firstDayOfWeek);
}
-#endif
/// <summary>
/// Overridden. Gives the number of the year of the specified
twoDigitYearMax = 2029;
}
-#if NET_2_0
+#if !NET_2_1
[ComVisible (false)]
public override CalendarAlgorithmType AlgorithmType {
get {
return CalendarAlgorithmType.SolarCalendar;
}
}
+#endif
static DateTime? Min, Max;
return Max.Value;
}
}
-#endif
/// <summary>
/// Default constructor. Sets the Gregorian calendar type to