Class Index | File Index

Classes


Built-In Namespace String

Method Summary
Method Attributes Method Name and Description
 
getDay(date, iso, calendarType, i18nDayMapping)
Given a date and a date format, return which day of the week it is.
Method Detail
{String|Number} getDay(date, iso, calendarType, i18nDayMapping)
Given a date and a date format, return which day of the week it is.
Defined in: zeller.js.
Parameters:
{String} date
A string containing today's date.
{Boolean} iso Optional
If true return the ISO week date Day-of-Week (1 = Monday to 7 = Sunday), default is false.
{String} calendarType Optional
"Julian" or "Gregorian", default is "Gregorian".
{String[]} i18nDayMapping Optional
An array of strings mapping "Saturday" to "Friday" in a given language (default is English)
Returns:
{String|Number} The day of the week ("Monday" to "Sunday"), or the ISO week date Day-of-Week if iso is true.

Documentation generated by JsDoc Toolkit 2.3.2 on Tue Jul 06 2010 00:37:52 GMT-0400 (EDT)