| java.lang.Object org.sakaiproject.jsf.model.DateModel
DateModel | public class DateModel implements Serializable(Code) | | Models Locale specific date chanracteristics.
Includes localized slect lists.
Copyright: Copyright Sakai (c) 2005
author: Ed Smiley version: $Id: DateModel.java 9278 2006-05-10 23:29:21Z ray@media.berkeley.edu $ |
DateModel | public DateModel()(Code) | | |
get12HourSelectItems | public List get12HourSelectItems()(Code) | | Select list for range of hours on 12 hour clock.
Used in conjunction with AM/PM.
List of SelectItem |
get24HourSelectItems | public List get24HourSelectItems()(Code) | | Select list for range of hours on 24 hour clock.
List of SelectItems |
getAmPm | public String[] getAmPm()(Code) | | (Should be) Localized array of {AM, PM}
String[] |
getAmPmSelectItems | public List getAmPmSelectItems()(Code) | | Localized AM/PM select list
the List of SelectItems |
getDayNames | public String[] getDayNames()(Code) | | Localized array of day strings
String[] |
getDaySelectItems | public List getDaySelectItems()(Code) | | Select list for range of days
List of SelectItems |
getDayShortNames | public String[] getDayShortNames()(Code) | | Localized array of short day strings
String[] |
getDays | public Integer[] getDays()(Code) | | Array of day of month Integers, starting from 1
Integer[] |
getHours | public Integer[] getHours()(Code) | | Array of hour Integers, starting from 1
Integer[] |
getHours | public Integer[] getHours(boolean twentyFourHour)(Code) | | Array of hour Integers, starting from 1
twentyFourHour, if true use 24 hour clock,if false use 12 hour clock Integer[] |
getMinuteSelectItems | public List getMinuteSelectItems()(Code) | | Select list for range of hours on 12 hour clock.
Used in conjunction with AM/PM.
List |
getMinutes | public Integer[] getMinutes()(Code) | | Array of minute Integers, starting from 0
Integer[] |
getMonthNames | public String[] getMonthNames()(Code) | | Localized array of month names
String[] |
getMonthSelectItems | public List getMonthSelectItems()(Code) | | Select list for range of months
List of SelectItems |
getMonthShortNames | public String[] getMonthShortNames()(Code) | | Localized array of short month strings
String[] |
getMonths | public Integer[] getMonths()(Code) | | Array of month Itegers, starting from 1
Integer[] |
getSeconds | public Integer[] getSeconds()(Code) | | Array of seconds Integers, starting from 0
Integer[] |
getSecondsSelectItems | public List getSecondsSelectItems()(Code) | | Select list for range of hours on 12 hour clock.
Used in conjunction with AM/PM.
List |
getYearSelectItems | public List getYearSelectItems(int rangeBefore, int rangeAfter)(Code) | | Select list for range of years
Parameters: rangeBefore - int Parameters: rangeAfter - int List of SelectItems |
getYears | public Integer[] getYears(int rangeBefore, int rangeAfter)(Code) | | Array of year Integers starting from now - rangeBefore to now + rangeAfter
Parameters: rangeBefore - int Parameters: rangeAfter - int Integer[] |
main | public static void main(String[] args)(Code) | | unit test
Parameters: args - String[] |
|
|