org.apache.myfaces.commons.validator.model
Interface DateListProvider
- public interface DateListProvider 
Defines the interface for providing a list of individual dates within a
 given range. This interface is used in date picker components
 (e.g. chooseDate, selectInputDate).
| Method Summary | 
|  java.util.List<java.util.Date> | getDateList(javax.faces.context.FacesContext context,
            java.util.Calendar base,
            java.util.Date rangeStart,
            java.util.Date rangeEnd)This method will generate a
 Listof individualDateobjects. | 
 
getDateList
java.util.List<java.util.Date> getDateList(javax.faces.context.FacesContext context,
                                           java.util.Calendar base,
                                           java.util.Date rangeStart,
                                           java.util.Date rangeEnd)
- This method will generate a Listof individualDateobjects. This is often used to list the dates
 which will be rendered as disabled in a datePicker component. TheDates must be in the context of the given baseCalendar.
 
- 
- Parameters:
- context- The Faces context
- base- The base- Calendarobject from which
             the start and end dates are taken. All returned- Dateobjects should be gotten from this
             base by a series of- setand- getTimecalls.
- rangeStart- The start of the range for which dates are being
                   requested.
- rangeEnd- The end of the range for which dates are being requested.
 
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.