1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
4 <title>API: calendar YAHOO.widget.Calendar_Core (YUI Library)
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"assets/api.css">
9 <div id=
"doc3" class=
"yui-t2">
12 <h1>Yahoo! UI Library
</h1>
13 <h3>Calendar
<span class=
"subtitle">2.2.0</span></h3>
15 <a href=
"./index.html">Yahoo! UI Library
</a>
16 > <a href=
"./module_calendar.html">calendar
</a>
17 > YAHOO.widget.Calendar_Core
32 Class
<b>YAHOO.widget.Calendar_Core
</b>
33 <span class=
"extends">
34 - extends
<a href=
"YAHOO.widget.Calendar.html">YAHOO.widget.Calendar
</a>
37 <span class=
"extends">
42 <!-- class tree goes here -->
45 <div class=
"deprecated"><strong>Deprecated:
</strong>The old Calendar_Core class is no longer necessary.
</div>
48 <div class=
"summary description">
54 <div class=
"section field inheritance">
55 <h4>Properties inherited from
<a href=
"YAHOO.widget.Calendar.html">YAHOO.widget.Calendar
</a>:
</h4>
59 <a href=
"YAHOO.widget.Calendar.html#_renderStack">_renderStack
</a>,
60 <a href=
"YAHOO.widget.Calendar.html#_selectedDates">_selectedDates
</a>,
61 <a href=
"YAHOO.widget.Calendar.html#browser">browser
</a>,
62 <a href=
"YAHOO.widget.Calendar.html#cellDates">cellDates
</a>,
63 <a href=
"YAHOO.widget.Calendar.html#cells">cells
</a>,
64 <a href=
"YAHOO.widget.Calendar.html#cfg">cfg
</a>,
65 <a href=
"YAHOO.widget.Calendar.html#Config">Config
</a>,
66 <a href=
"YAHOO.widget.Calendar.html#domEventMap">domEventMap
</a>,
67 <a href=
"YAHOO.widget.Calendar.html#id">id
</a>,
68 <a href=
"YAHOO.widget.Calendar.html#index">index
</a>,
69 <a href=
"YAHOO.widget.Calendar.html#Locale">Locale
</a>,
70 <a href=
"YAHOO.widget.Calendar.html#oDomContainer">oDomContainer
</a>,
71 <a href=
"YAHOO.widget.Calendar.html#Options">Options
</a>,
72 <a href=
"YAHOO.widget.Calendar.html#parent">parent
</a>,
73 <a href=
"YAHOO.widget.Calendar.html#renderStack">renderStack
</a>,
74 <a href=
"YAHOO.widget.Calendar.html#Style">Style
</a>,
75 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_BODY">Style.CSS_BODY
</a>,
76 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CALENDAR">Style.CSS_CALENDAR
</a>,
77 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL">Style.CSS_CELL
</a>,
78 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_BOTTOM">Style.CSS_CELL_BOTTOM
</a>,
79 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_HIGHLIGHT1">Style.CSS_CELL_HIGHLIGHT1
</a>,
80 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_HIGHLIGHT2">Style.CSS_CELL_HIGHLIGHT2
</a>,
81 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_HIGHLIGHT3">Style.CSS_CELL_HIGHLIGHT3
</a>,
82 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_HIGHLIGHT4">Style.CSS_CELL_HIGHLIGHT4
</a>,
83 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_HOVER">Style.CSS_CELL_HOVER
</a>,
84 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_LEFT">Style.CSS_CELL_LEFT
</a>,
85 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_OOB">Style.CSS_CELL_OOB
</a>,
86 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_OOM">Style.CSS_CELL_OOM
</a>,
87 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_RESTRICTED">Style.CSS_CELL_RESTRICTED
</a>,
88 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_RIGHT">Style.CSS_CELL_RIGHT
</a>,
89 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_SELECTABLE">Style.CSS_CELL_SELECTABLE
</a>,
90 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_SELECTED">Style.CSS_CELL_SELECTED
</a>,
91 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_TODAY">Style.CSS_CELL_TODAY
</a>,
92 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CELL_TOP">Style.CSS_CELL_TOP
</a>,
93 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CLOSE">Style.CSS_CLOSE
</a>,
94 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_CONTAINER">Style.CSS_CONTAINER
</a>,
95 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_FOOTER">Style.CSS_FOOTER
</a>,
96 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_HEADER">Style.CSS_HEADER
</a>,
97 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_HEADER_TEXT">Style.CSS_HEADER_TEXT
</a>,
98 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_NAV_LEFT">Style.CSS_NAV_LEFT
</a>,
99 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_NAV_RIGHT">Style.CSS_NAV_RIGHT
</a>,
100 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_ROW_FOOTER">Style.CSS_ROW_FOOTER
</a>,
101 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_ROW_HEADER">Style.CSS_ROW_HEADER
</a>,
102 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_SINGLE">Style.CSS_SINGLE
</a>,
103 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_WEEKDAY_CELL">Style.CSS_WEEKDAY_CELL
</a>,
104 <a href=
"YAHOO.widget.Calendar.html#Style.CSS_WEEKDAY_ROW">Style.CSS_WEEKDAY_ROW
</a>,
105 <a href=
"YAHOO.widget.Calendar.html#today">today
</a>
111 <div class=
"section field inheritance">
112 <h4>Methods inherited from
<a href=
"YAHOO.widget.Calendar.html">YAHOO.widget.Calendar
</a>:
</h4>
113 <div class=
"content">
116 <a href=
"YAHOO.widget.Calendar.html#_addRenderer">_addRenderer
</a>,
117 <a href=
"YAHOO.widget.Calendar.html#_fieldArraysAreEqual">_fieldArraysAreEqual
</a>,
118 <a href=
"YAHOO.widget.Calendar.html#_indexOfSelectedFieldArray">_indexOfSelectedFieldArray
</a>,
119 <a href=
"YAHOO.widget.Calendar.html#_parseDate">_parseDate
</a>,
120 <a href=
"YAHOO.widget.Calendar.html#_parseDates">_parseDates
</a>,
121 <a href=
"YAHOO.widget.Calendar.html#_parsePageDate">_parsePageDate
</a>,
122 <a href=
"YAHOO.widget.Calendar.html#_parseRange">_parseRange
</a>,
123 <a href=
"YAHOO.widget.Calendar.html#_toDate">_toDate
</a>,
124 <a href=
"YAHOO.widget.Calendar.html#_toFieldArray">_toFieldArray
</a>,
125 <a href=
"YAHOO.widget.Calendar.html#addMonthRenderer">addMonthRenderer
</a>,
126 <a href=
"YAHOO.widget.Calendar.html#addMonths">addMonths
</a>,
127 <a href=
"YAHOO.widget.Calendar.html#addRenderer">addRenderer
</a>,
128 <a href=
"YAHOO.widget.Calendar.html#addWeekdayRenderer">addWeekdayRenderer
</a>,
129 <a href=
"YAHOO.widget.Calendar.html#addYears">addYears
</a>,
130 <a href=
"YAHOO.widget.Calendar.html#applyListeners">applyListeners
</a>,
131 <a href=
"YAHOO.widget.Calendar.html#buildDayLabel">buildDayLabel
</a>,
132 <a href=
"YAHOO.widget.Calendar.html#buildMonthLabel">buildMonthLabel
</a>,
133 <a href=
"YAHOO.widget.Calendar.html#buildWeekdays">buildWeekdays
</a>,
134 <a href=
"YAHOO.widget.Calendar.html#clear">clear
</a>,
135 <a href=
"YAHOO.widget.Calendar.html#clearAllBodyCellStyles">clearAllBodyCellStyles
</a>,
136 <a href=
"YAHOO.widget.Calendar.html#clearElement">clearElement
</a>,
137 <a href=
"YAHOO.widget.Calendar.html#configClose">configClose
</a>,
138 <a href=
"YAHOO.widget.Calendar.html#configIframe">configIframe
</a>,
139 <a href=
"YAHOO.widget.Calendar.html#configLocale">configLocale
</a>,
140 <a href=
"YAHOO.widget.Calendar.html#configLocaleValues">configLocaleValues
</a>,
141 <a href=
"YAHOO.widget.Calendar.html#configMaxDate">configMaxDate
</a>,
142 <a href=
"YAHOO.widget.Calendar.html#configMinDate">configMinDate
</a>,
143 <a href=
"YAHOO.widget.Calendar.html#configOptions">configOptions
</a>,
144 <a href=
"YAHOO.widget.Calendar.html#configPageDate">configPageDate
</a>,
145 <a href=
"YAHOO.widget.Calendar.html#configSelected">configSelected
</a>,
146 <a href=
"YAHOO.widget.Calendar.html#configTitle">configTitle
</a>,
147 <a href=
"YAHOO.widget.Calendar.html#deselect">deselect
</a>,
148 <a href=
"YAHOO.widget.Calendar.html#deselectAll">deselectAll
</a>,
149 <a href=
"YAHOO.widget.Calendar.html#deselectCell">deselectCell
</a>,
150 <a href=
"YAHOO.widget.Calendar.html#doCellMouseOut">doCellMouseOut
</a>,
151 <a href=
"YAHOO.widget.Calendar.html#doCellMouseOver">doCellMouseOver
</a>,
152 <a href=
"YAHOO.widget.Calendar.html#doSelectCell">doSelectCell
</a>,
153 <a href=
"YAHOO.widget.Calendar.html#getDateByCellId">getDateByCellId
</a>,
154 <a href=
"YAHOO.widget.Calendar.html#getDateFieldsByCellId">getDateFieldsByCellId
</a>,
155 <a href=
"YAHOO.widget.Calendar.html#getSelectedDates">getSelectedDates
</a>,
156 <a href=
"YAHOO.widget.Calendar.html#hide">hide
</a>,
157 <a href=
"YAHOO.widget.Calendar.html#init">init
</a>,
158 <a href=
"YAHOO.widget.Calendar.html#initEvents">initEvents
</a>,
159 <a href=
"YAHOO.widget.Calendar.html#initStyles">initStyles
</a>,
160 <a href=
"YAHOO.widget.Calendar.html#isDateOOM">isDateOOM
</a>,
161 <a href=
"YAHOO.widget.Calendar.html#nextMonth">nextMonth
</a>,
162 <a href=
"YAHOO.widget.Calendar.html#nextYear">nextYear
</a>,
163 <a href=
"YAHOO.widget.Calendar.html#onBeforeDeselect">onBeforeDeselect
</a>,
164 <a href=
"YAHOO.widget.Calendar.html#onBeforeSelect">onBeforeSelect
</a>,
165 <a href=
"YAHOO.widget.Calendar.html#onChangePage">onChangePage
</a>,
166 <a href=
"YAHOO.widget.Calendar.html#onClear">onClear
</a>,
167 <a href=
"YAHOO.widget.Calendar.html#onDeselect">onDeselect
</a>,
168 <a href=
"YAHOO.widget.Calendar.html#onRender">onRender
</a>,
169 <a href=
"YAHOO.widget.Calendar.html#onReset">onReset
</a>,
170 <a href=
"YAHOO.widget.Calendar.html#onSelect">onSelect
</a>,
171 <a href=
"YAHOO.widget.Calendar.html#previousMonth">previousMonth
</a>,
172 <a href=
"YAHOO.widget.Calendar.html#previousYear">previousYear
</a>,
173 <a href=
"YAHOO.widget.Calendar.html#refreshLocale">refreshLocale
</a>,
174 <a href=
"YAHOO.widget.Calendar.html#render">render
</a>,
175 <a href=
"YAHOO.widget.Calendar.html#renderBody">renderBody
</a>,
176 <a href=
"YAHOO.widget.Calendar.html#renderBodyCellRestricted">renderBodyCellRestricted
</a>,
177 <a href=
"YAHOO.widget.Calendar.html#renderCellDefault">renderCellDefault
</a>,
178 <a href=
"YAHOO.widget.Calendar.html#renderCellNotThisMonth">renderCellNotThisMonth
</a>,
179 <a href=
"YAHOO.widget.Calendar.html#renderCellStyleHighlight1">renderCellStyleHighlight1
</a>,
180 <a href=
"YAHOO.widget.Calendar.html#renderCellStyleHighlight2">renderCellStyleHighlight2
</a>,
181 <a href=
"YAHOO.widget.Calendar.html#renderCellStyleHighlight3">renderCellStyleHighlight3
</a>,
182 <a href=
"YAHOO.widget.Calendar.html#renderCellStyleHighlight4">renderCellStyleHighlight4
</a>,
183 <a href=
"YAHOO.widget.Calendar.html#renderCellStyleSelected">renderCellStyleSelected
</a>,
184 <a href=
"YAHOO.widget.Calendar.html#renderCellStyleToday">renderCellStyleToday
</a>,
185 <a href=
"YAHOO.widget.Calendar.html#renderFooter">renderFooter
</a>,
186 <a href=
"YAHOO.widget.Calendar.html#renderHeader">renderHeader
</a>,
187 <a href=
"YAHOO.widget.Calendar.html#renderOutOfBoundsDate">renderOutOfBoundsDate
</a>,
188 <a href=
"YAHOO.widget.Calendar.html#renderRowFooter">renderRowFooter
</a>,
189 <a href=
"YAHOO.widget.Calendar.html#renderRowHeader">renderRowHeader
</a>,
190 <a href=
"YAHOO.widget.Calendar.html#reset">reset
</a>,
191 <a href=
"YAHOO.widget.Calendar.html#resetRenderers">resetRenderers
</a>,
192 <a href=
"YAHOO.widget.Calendar.html#select">select
</a>,
193 <a href=
"YAHOO.widget.Calendar.html#selectCell">selectCell
</a>,
194 <a href=
"YAHOO.widget.Calendar.html#setMonth">setMonth
</a>,
195 <a href=
"YAHOO.widget.Calendar.html#setYear">setYear
</a>,
196 <a href=
"YAHOO.widget.Calendar.html#show">show
</a>,
197 <a href=
"YAHOO.widget.Calendar.html#styleCellDefault">styleCellDefault
</a>,
198 <a href=
"YAHOO.widget.Calendar.html#subtractMonths">subtractMonths
</a>,
199 <a href=
"YAHOO.widget.Calendar.html#subtractYears">subtractYears
</a>,
200 <a href=
"YAHOO.widget.Calendar.html#toString">toString
</a>,
201 <a href=
"YAHOO.widget.Calendar.html#validate">validate
</a>
208 <div class=
"section field inheritance">
209 <h4>Events inherited from
<a href=
"YAHOO.widget.Calendar.html">YAHOO.widget.Calendar
</a>:
</h4>
210 <div class=
"content">
213 <a href=
"YAHOO.widget.Calendar.html#beforeDeselectEvent">beforeDeselectEvent
</a>,
214 <a href=
"YAHOO.widget.Calendar.html#beforeRenderEvent">beforeRenderEvent
</a>,
215 <a href=
"YAHOO.widget.Calendar.html#beforeSelectEvent">beforeSelectEvent
</a>,
216 <a href=
"YAHOO.widget.Calendar.html#changePageEvent">changePageEvent
</a>,
217 <a href=
"YAHOO.widget.Calendar.html#clearEvent">clearEvent
</a>,
218 <a href=
"YAHOO.widget.Calendar.html#deselectEvent">deselectEvent
</a>,
219 <a href=
"YAHOO.widget.Calendar.html#renderEvent">renderEvent
</a>,
220 <a href=
"YAHOO.widget.Calendar.html#resetEvent">resetEvent
</a>,
221 <a href=
"YAHOO.widget.Calendar.html#selectEvent">selectEvent
</a>
227 <div class=
"section field inheritance">
228 <h4>Configuration attributes inherited from
<a href=
"YAHOO.widget.Calendar.html">YAHOO.widget.Calendar
</a>:
</h4>
229 <div class=
"content">
232 <a href=
"YAHOO.widget.Calendar.html#close">close
</a>,
233 <a href=
"YAHOO.widget.Calendar.html#DATE_DELIMITER">DATE_DELIMITER
</a>,
234 <a href=
"YAHOO.widget.Calendar.html#DATE_FIELD_DELIMITER">DATE_FIELD_DELIMITER
</a>,
235 <a href=
"YAHOO.widget.Calendar.html#DATE_RANGE_DELIMITER">DATE_RANGE_DELIMITER
</a>,
236 <a href=
"YAHOO.widget.Calendar.html#HIDE_BLANK_WEEKS">HIDE_BLANK_WEEKS
</a>,
237 <a href=
"YAHOO.widget.Calendar.html#iframe">iframe
</a>,
238 <a href=
"YAHOO.widget.Calendar.html#LOCALE_MONTHS">LOCALE_MONTHS
</a>,
239 <a href=
"YAHOO.widget.Calendar.html#LOCALE_WEEKDAYS">LOCALE_WEEKDAYS
</a>,
240 <a href=
"YAHOO.widget.Calendar.html#maxdate">maxdate
</a>,
241 <a href=
"YAHOO.widget.Calendar.html#MD_DAY_POSITION">MD_DAY_POSITION
</a>,
242 <a href=
"YAHOO.widget.Calendar.html#MD_MONTH_POSITION">MD_MONTH_POSITION
</a>,
243 <a href=
"YAHOO.widget.Calendar.html#MDY_DAY_POSITION">MDY_DAY_POSITION
</a>,
244 <a href=
"YAHOO.widget.Calendar.html#MDY_MONTH_POSITION">MDY_MONTH_POSITION
</a>,
245 <a href=
"YAHOO.widget.Calendar.html#MDY_YEAR_POSITION">MDY_YEAR_POSITION
</a>,
246 <a href=
"YAHOO.widget.Calendar.html#mindate">mindate
</a>,
247 <a href=
"YAHOO.widget.Calendar.html#MONTHS_LONG">MONTHS_LONG
</a>,
248 <a href=
"YAHOO.widget.Calendar.html#MONTHS_SHORT">MONTHS_SHORT
</a>,
249 <a href=
"YAHOO.widget.Calendar.html#MULTI_SELECT">MULTI_SELECT
</a>,
250 <a href=
"YAHOO.widget.Calendar.html#MY_MONTH_POSITION">MY_MONTH_POSITION
</a>,
251 <a href=
"YAHOO.widget.Calendar.html#MY_YEAR_POSITION">MY_YEAR_POSITION
</a>,
252 <a href=
"YAHOO.widget.Calendar.html#NAV_ARROW_LEFT">NAV_ARROW_LEFT
</a>,
253 <a href=
"YAHOO.widget.Calendar.html#NAV_ARROW_RIGHT">NAV_ARROW_RIGHT
</a>,
254 <a href=
"YAHOO.widget.Calendar.html#pagedate">pagedate
</a>,
255 <a href=
"YAHOO.widget.Calendar.html#selected">selected
</a>,
256 <a href=
"YAHOO.widget.Calendar.html#SHOW_WEEK_FOOTER">SHOW_WEEK_FOOTER
</a>,
257 <a href=
"YAHOO.widget.Calendar.html#SHOW_WEEK_HEADER">SHOW_WEEK_HEADER
</a>,
258 <a href=
"YAHOO.widget.Calendar.html#SHOW_WEEKDAYS">SHOW_WEEKDAYS
</a>,
259 <a href=
"YAHOO.widget.Calendar.html#START_WEEKDAY">START_WEEKDAY
</a>,
260 <a href=
"YAHOO.widget.Calendar.html#title">title
</a>,
261 <a href=
"YAHOO.widget.Calendar.html#WEEKDAYS_1CHAR">WEEKDAYS_1CHAR
</a>,
262 <a href=
"YAHOO.widget.Calendar.html#WEEKDAYS_LONG">WEEKDAYS_LONG
</a>,
263 <a href=
"YAHOO.widget.Calendar.html#WEEKDAYS_MEDIUM">WEEKDAYS_MEDIUM
</a>,
264 <a href=
"YAHOO.widget.Calendar.html#WEEKDAYS_SHORT">WEEKDAYS_SHORT
</a>
278 <li class=
""><a href=
"module_animation.html">animation
</a></li>
280 <li class=
""><a href=
"module_autocomplete.html">autocomplete
</a></li>
282 <li class=
""><a href=
"module_button.html">button
</a></li>
284 <li class=
"selected"><a href=
"module_calendar.html">calendar
</a></li>
286 <li class=
""><a href=
"module_connection.html">connection
</a></li>
288 <li class=
""><a href=
"module_container.html">container
</a></li>
290 <li class=
""><a href=
"module_datasource.html">datasource
</a></li>
292 <li class=
""><a href=
"module_datatable.html">datatable
</a></li>
294 <li class=
""><a href=
"module_dom.html">dom
</a></li>
296 <li class=
""><a href=
"module_dragdrop.html">dragdrop
</a></li>
298 <li class=
""><a href=
"module_element.html">element
</a></li>
300 <li class=
""><a href=
"module_event.html">event
</a></li>
302 <li class=
""><a href=
"module_history.html">history
</a></li>
304 <li class=
""><a href=
"module_logger.html">logger
</a></li>
306 <li class=
""><a href=
"module_menu.html">menu
</a></li>
308 <li class=
""><a href=
"module_slider.html">slider
</a></li>
310 <li class=
""><a href=
"module_tabview.html">tabview
</a></li>
312 <li class=
""><a href=
"module_treeview.html">treeview
</a></li>
314 <li class=
""><a href=
"module_yahoo.html">yahoo
</a></li>
321 <li class=
""><a href=
"YAHOO.widget.Calendar.html">YAHOO.widget.Calendar
</a></li>
322 <li class=
""><a href=
"YAHOO.widget.Calendar2up.html">YAHOO.widget.Calendar2up
</a></li>
323 <li class=
"selected"><a href=
"YAHOO.widget.Calendar_Core.html">YAHOO.widget.Calendar_Core
</a></li>
324 <li class=
""><a href=
"YAHOO.widget.CalendarGroup.html">YAHOO.widget.CalendarGroup
</a></li>
325 <li class=
""><a href=
"YAHOO.widget.DateMath.html">YAHOO.widget.DateMath
</a></li>
332 <li class=
""><a href=
"Calendar.js.html">Calendar.js
</a></li>
333 <li class=
""><a href=
"CalendarGroup.js.html">CalendarGroup.js
</a></li>
334 <li class=
""><a href=
"DateMath.js.html">DateMath.js
</a></li>
347 Copyright
© 2007 Yahoo! Inc. All rights reserved.