PersianCalendar::AlgorithmType Property
.NET Framework (current version)
Gets a value indicating whether the current calendar is solar-based, lunar-based, or lunisolar-based.
Assembly: mscorlib (in mscorlib.dll)
public: property CalendarAlgorithmType AlgorithmType { virtual CalendarAlgorithmType get() override; }
Property Value
Type: System.Globalization::CalendarAlgorithmTypeAlways returns CalendarAlgorithmType::SolarCalendar.
A date calculation for a particular calendar depends on whether the calendar is solar-based, lunar-based, or lunisolar-based.
The following example uses reflection to instantiate each Calendar type found in the .NET Framework and displays the value of its AlgorithmType property.
.NET Framework
Available since 2.0
Available since 2.0
Show: