Java Doc for DateModel.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » jsf » model » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.jsf.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 $



Constructor Summary
public  DateModel()
    
public  DateModel(Locale locale)
    

Method Summary
public  Listget12HourSelectItems()
     Select list for range of hours on 12 hour clock.
public  Listget24HourSelectItems()
     Select list for range of hours on 24 hour clock.
public  String[]getAmPm()
    
public  ListgetAmPmSelectItems()
    
public  String[]getDayNames()
    
public  ListgetDaySelectItems()
    
public  String[]getDayShortNames()
    
public  Integer[]getDays()
    
public  Integer[]getHours()
    
public  Integer[]getHours(boolean twentyFourHour)
    
public  ListgetMinuteSelectItems()
     Select list for range of hours on 12 hour clock.
public  Integer[]getMinutes()
    
public  String[]getMonthNames()
    
public  ListgetMonthSelectItems()
    
public  String[]getMonthShortNames()
    
public  Integer[]getMonths()
    
public  Integer[]getSeconds()
    
public  ListgetSecondsSelectItems()
     Select list for range of hours on 12 hour clock.
public  ListgetYearSelectItems(int rangeBefore, int rangeAfter)
    
public  Integer[]getYears(int rangeBefore, int rangeAfter)
    
public static  voidmain(String[] args)
    


Constructor Detail
DateModel
public DateModel()(Code)



DateModel
public DateModel(Locale locale)(Code)




Method Detail
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[]



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.