Calendar Package 内置符号

# CalendarChange

 CalendarChange[{year, month, day}, calendar1, calendar2] converts the date {year, month, day} given in calendar calendar1 into a date given in calendar calendar2. CalendarChange[{year, month, day, hour, minute, second}, calendar1, calendar2] converts the given date {year, month, day, hour, minute, second}.
• The following settings can be given for calendar1 and calendar2:
 Gregorian Gregorian calendar Julian Julian calendar Islamic Islamic calendar Jewish Jewish calendar
 例   (8)
Needs["Calendar`"]
The Western calendar in current use is the Gregorian calendar. To convert a contemporary Western date to another calendar, use Gregorian for the contemporary Western date.
Israel obtained its independence on May 14, 1948. This finds the Jewish date:
 Out[2]=
Because the Jewish calendar has a leap month preceding Passover, Mathematica uses a numbering starting with Nissan, the month of Passover:
Israel's independence was declared on the 5th of Iyar, 5708.

Needs["Calendar`"]
This finds the Western date corresponding to the 50th Jewish anniversary:
 Out[2]=

Needs["Calendar`"]
Between 1582 and 1752, Catholic countries used the Gregorian calendar while Britain and her colonies used the Julian calendar. To convert British and Catholic dates occurring between 1582 and 1752, it is necessary to change calendars from Julian to Gregorian.
George Washington was born February 22nd, 1732. In France, the date was:
 Out[2]=

Needs["Calendar`"]
Voltaire was born on November 21st, 1694. In Great Britain the date was:
 Out[2]=

Needs["Calendar`"]
The Russian Orthodox Church still uses the Julian calendar. This finds the Western (Gregorian) date of Greek Orthodox Christmas 2000:
 Out[2]=

Needs["Calendar`"]
You can find Islamic dates corresponding to Western (Gregorian) dates:
 Out[2]=
The Islamic calendar has the following months:
The above date is, therefore, the 24th of Ramadan, 1420.

Needs["Calendar`"]
The Western date for the beginning of Ramadan of the Islamic year 1420:
 Out[2]=

Needs["Calendar`"]
Hours, minutes, and seconds are left unchanged by CalendarChange:
 Out[2]=
 Out[3]=