CALENDAR 程序包 符号

Calendar


is an option for calendar functions that specifies which calendar system to use.

更多信息更多信息

  • To use , you first need to load the Calendar Package using .
  • Calendar->system specifies to use calendar system system.
  • The following settings can be given:
  • GregorianGregorian calendar
    JulianJulian calendar
    IslamicIslamic calendar
    JewishJewish calendar
  • With Calendar->Automatic, the Julian calendar is used before September 3, 1752, and the Gregorian calendar after September 13, 1752.

范例范例打开所有单元关闭所有单元

基本范例 (3)基本范例 (3)

In[1]:=
Click for copyable input

Compute the number of days in the Islamic year 1420:

In[2]:=
Click for copyable input
Out[2]=
In[1]:=
Click for copyable input

Compute the number of days in the Jewish year 5760:

In[2]:=
Click for copyable input
Out[2]=
In[1]:=
Click for copyable input

In the Julian calendar, the year 1900 was a leap year:

In[2]:=
Click for copyable input
Out[2]=

This is not true in the standard (Gregorian) Western calendar:

In[3]:=
Click for copyable input
Out[3]=
New to Mathematica? Find your learning path »
Have a question? Ask support »