Variables | |
Date | _MD = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] |
Date | SECOND = 1000 |
Date | MINUTE = 60 * Date.SECOND |
Date | HOUR = 60 * Date.MINUTE |
Date | DAY = 24 * Date.HOUR |
Date | WEEK = 7 * Date.DAY |
Date prototype | getMonthDays |
Date prototype | getDayOfYear |
Date prototype | getWeekNumber |
Date prototype | equalsTo |
Date prototype | dateEqualsTo |
Date prototype | setDateOnly |
Date prototype | |
Zapatec Calendar prototype | parseDate |
Date prototype | __msh_oldSetFullYear = Date.prototype.setFullYear |
Date prototype | setFullYear |
|
Number of days in each month Definition at line 2862 of file calendar.js. |
|
One second has 1000 milliseconds. Definition at line 2864 of file calendar.js. |
|
One minute has 60 seconds. Definition at line 2865 of file calendar.js. |
|
One hour has 60 minutes. Definition at line 2866 of file calendar.js. |
|
One day has 24 hours. Definition at line 2867 of file calendar.js. |
|
One week has 7 days. Definition at line 2868 of file calendar.js. |
|
Returns the number of days in the month. The month parameter is optional; if not passed, the current month of this Date object is assumed.
Definition at line 2876 of file calendar.js. |
|
Returns the number of the current day in the current year.
Definition at line 2889 of file calendar.js. |
|
Returns the number of the week in year, as defined in ISO 8601.
Definition at line 2897 of file calendar.js. |
|
Checks dates equality. Checks time too.
Definition at line 2908 of file calendar.js. |
|
Checks dates equality. Ignores time.
Definition at line 2917 of file calendar.js. |
|
Set only the year, month, date parts (keep existing time)
Definition at line 2924 of file calendar.js. |
|
Prints the date in a string according to the given format. The format (str) may contain the following specialties:
They are almost the same as for the POSIX strftime function.
Definition at line 2967 of file calendar.js. |
|
Tries to identify the date represented in a string. If successful it also calls this.setDate which moves the calendar to the given date.
Definition at line 3042 of file calendar.js. |
|
save a reference to the original setFullYear function Definition at line 3139 of file calendar.js. |
|
This function replaces the original Date.setFullYear() with a "safer" function which makes sure that the month or date aren't modified (unless in the exceptional case where the date is February 29 but the new year doesn't contain it).
Definition at line 3149 of file calendar.js. |