blob: 4bf636656f547e349ed75b8d05c12c96b9784a1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Globalization {
using System;
[System.Runtime.InteropServices.ComVisible(true)]
public enum CalendarAlgorithmType {
Unknown = 0, // This is the default value to return in the Calendar base class.
SolarCalendar = 1, // Solar-base calendar, such as GregorianCalendar, jaoaneseCalendar, JulianCalendar, etc.
// Solar calendars are based on the solar year and seasons.
LunarCalendar = 2, // Lunar-based calendar, such as Hijri and UmAlQuraCalendar.
// Lunar calendars are based on the path of the moon. The seasons are not accurately represented.
LunisolarCalendar = 3 // Lunisolar-based calendar which use leap month rule, such as HebrewCalendar and Asian Lunisolar calendars.
// Lunisolar calendars are based on the cycle of the moon, but consider the seasons as a secondary consideration,
// so they align with the seasons as well as lunar events.
}
}
|