Java Doc for DateTimeConstants.java in  » Development » Joda-Time » org » joda » time » 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 » Development » Joda Time » org.joda.time 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.joda.time.DateTimeConstants

DateTimeConstants
public class DateTimeConstants (Code)
DateTimeConstants is a non-instantiable class of constants used in the date time system. These are the ISO8601 constants, but should be used by all chronologies.

DateTimeConstants is thread-safe and immutable.
author:
   Stephen Colebourne
author:
   Brian S O'Neill
since:
   1.0



Field Summary
final public static  intAD
     Constant (1) representing AD, years after zero (from Calendar).

All new chronologies with differrent Era values should try to assign eras as follows.

final public static  intAM
    
final public static  intAPRIL
    
final public static  intAUGUST
    
final public static  intBC
    
final public static  intBCE
    
final public static  intCE
     Alternative constant (1) representing CE, Common Era (secular).

All new chronologies with differrent Era values should try to assign eras as follows.

final public static  intDAYS_PER_WEEK
    
final public static  intDECEMBER
    
final public static  intFEBRUARY
    
final public static  intFRIDAY
    
final public static  intHOURS_PER_DAY
     Hours in a typical day (24) (ISO).
final public static  intHOURS_PER_WEEK
     Hours in a typical week.
final public static  intJANUARY
    
final public static  intJULY
    
final public static  intJUNE
    
final public static  intMARCH
    
final public static  intMAY
    
final public static  intMILLIS_PER_DAY
     Milliseconds in a typical day (ISO).
final public static  intMILLIS_PER_HOUR
    
final public static  intMILLIS_PER_MINUTE
    
final public static  intMILLIS_PER_SECOND
    
final public static  intMILLIS_PER_WEEK
     Milliseconds in a typical week (ISO).
final public static  intMINUTES_PER_DAY
     Minutes in a typical day (ISO).
final public static  intMINUTES_PER_HOUR
    
final public static  intMINUTES_PER_WEEK
     Minutes in a typical week (ISO).
final public static  intMONDAY
    
final public static  intNOVEMBER
    
final public static  intOCTOBER
    
final public static  intPM
    
final public static  intSATURDAY
    
final public static  intSECONDS_PER_DAY
     Seconds in a typical day (ISO).
final public static  intSECONDS_PER_HOUR
    
final public static  intSECONDS_PER_MINUTE
    
final public static  intSECONDS_PER_WEEK
     Seconds in a typical week (ISO).
final public static  intSEPTEMBER
    
final public static  intSUNDAY
    
final public static  intTHURSDAY
    
final public static  intTUESDAY
    
final public static  intWEDNESDAY
    

Constructor Summary
protected  DateTimeConstants()
    


Field Detail
AD
final public static int AD(Code)
Constant (1) representing AD, years after zero (from Calendar).

All new chronologies with differrent Era values should try to assign eras as follows. The era that was in force at 1970-01-01 (ISO) is assigned the value 1. Earlier eras are assigned sequentially smaller numbers. Later eras are assigned sequentially greater numbers.




AM
final public static int AM(Code)
Constant (0) representing AM, the morning (from Calendar)



APRIL
final public static int APRIL(Code)
Constant (4) representing April, the fourth month (ISO)



AUGUST
final public static int AUGUST(Code)
Constant (8) representing August, the eighth month (ISO)



BC
final public static int BC(Code)
Constant (0) representing BC, years before zero (from Calendar)



BCE
final public static int BCE(Code)
Alternative constant (0) representing BCE, Before Common Era (secular)



CE
final public static int CE(Code)
Alternative constant (1) representing CE, Common Era (secular).

All new chronologies with differrent Era values should try to assign eras as follows. The era that was in force at 1970-01-01 (ISO) is assigned the value 1. Earlier eras are assigned sequentially smaller numbers. Later eras are assigned sequentially greater numbers.




DAYS_PER_WEEK
final public static int DAYS_PER_WEEK(Code)
Days in one week (7) (ISO)



DECEMBER
final public static int DECEMBER(Code)
Constant (12) representing December, the twelfth month (ISO)



FEBRUARY
final public static int FEBRUARY(Code)
Constant (2) representing February, the second month (ISO)



FRIDAY
final public static int FRIDAY(Code)
Constant (5) representing Friday, the fifth day of the week (ISO)



HOURS_PER_DAY
final public static int HOURS_PER_DAY(Code)
Hours in a typical day (24) (ISO). Due to time zone offset changes, the number of hours per day can vary.



HOURS_PER_WEEK
final public static int HOURS_PER_WEEK(Code)
Hours in a typical week. Due to time zone offset changes, the number of hours per week can vary.



JANUARY
final public static int JANUARY(Code)
Constant (1) representing January, the first month (ISO)



JULY
final public static int JULY(Code)
Constant (7) representing July, the seventh month (ISO)



JUNE
final public static int JUNE(Code)
Constant (6) representing June, the sixth month (ISO)



MARCH
final public static int MARCH(Code)
Constant (3) representing March, the third month (ISO)



MAY
final public static int MAY(Code)
Constant (5) representing May, the fifth month (ISO)



MILLIS_PER_DAY
final public static int MILLIS_PER_DAY(Code)
Milliseconds in a typical day (ISO). Due to time zone offset changes, the number of milliseconds per day can vary.



MILLIS_PER_HOUR
final public static int MILLIS_PER_HOUR(Code)
Milliseconds in one hour (ISO)



MILLIS_PER_MINUTE
final public static int MILLIS_PER_MINUTE(Code)
Milliseconds in one minute (ISO)



MILLIS_PER_SECOND
final public static int MILLIS_PER_SECOND(Code)
Milliseconds in one second (1000) (ISO)



MILLIS_PER_WEEK
final public static int MILLIS_PER_WEEK(Code)
Milliseconds in a typical week (ISO). Due to time zone offset changes, the number of milliseconds per week can vary.



MINUTES_PER_DAY
final public static int MINUTES_PER_DAY(Code)
Minutes in a typical day (ISO). Due to time zone offset changes, the number of minutes per day can vary.



MINUTES_PER_HOUR
final public static int MINUTES_PER_HOUR(Code)
Minutes in one hour (ISO)



MINUTES_PER_WEEK
final public static int MINUTES_PER_WEEK(Code)
Minutes in a typical week (ISO). Due to time zone offset changes, the number of minutes per week can vary.



MONDAY
final public static int MONDAY(Code)
Constant (1) representing Monday, the first day of the week (ISO)



NOVEMBER
final public static int NOVEMBER(Code)
Constant (11) representing November, the eleventh month (ISO)



OCTOBER
final public static int OCTOBER(Code)
Constant (10) representing October, the tenth month (ISO)



PM
final public static int PM(Code)
Constant (1) representing PM, the afternoon (from Calendar)



SATURDAY
final public static int SATURDAY(Code)
Constant (6) representing Saturday, the sixth day of the week (ISO)



SECONDS_PER_DAY
final public static int SECONDS_PER_DAY(Code)
Seconds in a typical day (ISO). Due to time zone offset changes, the number of seconds per day can vary.



SECONDS_PER_HOUR
final public static int SECONDS_PER_HOUR(Code)
Seconds in one hour (ISO)



SECONDS_PER_MINUTE
final public static int SECONDS_PER_MINUTE(Code)
Seconds in one minute (60) (ISO)



SECONDS_PER_WEEK
final public static int SECONDS_PER_WEEK(Code)
Seconds in a typical week (ISO). Due to time zone offset changes, the number of seconds per week can vary.



SEPTEMBER
final public static int SEPTEMBER(Code)
Constant (9) representing September, the nineth month (ISO)



SUNDAY
final public static int SUNDAY(Code)
Constant (7) representing Sunday, the seventh day of the week (ISO)



THURSDAY
final public static int THURSDAY(Code)
Constant (4) representing Thursday, the fourth day of the week (ISO)



TUESDAY
final public static int TUESDAY(Code)
Constant (2) representing Tuesday, the second day of the week (ISO)



WEDNESDAY
final public static int WEDNESDAY(Code)
Constant (3) representing Wednesday, the third day of the week (ISO)




Constructor Detail
DateTimeConstants
protected DateTimeConstants()(Code)
Restrictive constructor




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.