Java Doc for BuddhistCalendar.java in  » 6.0-JDK-Modules » j2me » sun » util » 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 » 6.0 JDK Modules » j2me » sun.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.util.Calendar
      java.util.GregorianCalendar
         sun.util.BuddhistCalendar

BuddhistCalendar
public class BuddhistCalendar extends GregorianCalendar (Code)


Field Summary
final static  longserialVersionUID
    

Constructor Summary
public  BuddhistCalendar()
     Constructs a default BuddhistCalendar using the current time in the default time zone with the default locale.
public  BuddhistCalendar(TimeZone zone)
     Constructs a BuddhistCalendar based on the current time in the given time zone with the default locale.
public  BuddhistCalendar(Locale aLocale)
     Constructs a BuddhistCalendar based on the current time in the default time zone with the given locale.
public  BuddhistCalendar(TimeZone zone, Locale aLocale)
     Constructs a BuddhistCalendar based on the current time in the given time zone with the given locale.

Method Summary
public  voidadd(int field, int amount)
     Adds the specified (signed) amount of time to the given time field.
public  booleanequals(Object obj)
     Compares this BuddhistCalendar to an object reference.
public  intget(int field)
     Gets the value for a given time field.
Parameters:
  field - the given time field.
public  inthashCode()
     Override hashCode.
public  voidroll(int field, int amount)
     Add to field a signed amount without changing larger fields.
public  voidset(int field, int value)
     Sets the time field with the given value.

Field Detail
serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
BuddhistCalendar
public BuddhistCalendar()(Code)
Constructs a default BuddhistCalendar using the current time in the default time zone with the default locale.



BuddhistCalendar
public BuddhistCalendar(TimeZone zone)(Code)
Constructs a BuddhistCalendar based on the current time in the given time zone with the default locale.
Parameters:
  zone - the given time zone.



BuddhistCalendar
public BuddhistCalendar(Locale aLocale)(Code)
Constructs a BuddhistCalendar based on the current time in the default time zone with the given locale.
Parameters:
  aLocale - the given locale.



BuddhistCalendar
public BuddhistCalendar(TimeZone zone, Locale aLocale)(Code)
Constructs a BuddhistCalendar based on the current time in the given time zone with the given locale.
Parameters:
  zone - the given time zone.
Parameters:
  aLocale - the given locale.




Method Detail
add
public void add(int field, int amount)(Code)
Adds the specified (signed) amount of time to the given time field.
Parameters:
  field - the time field.
Parameters:
  amount - the amount of date or time to be added to the field.



equals
public boolean equals(Object obj)(Code)
Compares this BuddhistCalendar to an object reference.
Parameters:
  obj - the object reference with which to compare true if this object is equal to obj; false otherwise



get
public int get(int field)(Code)
Gets the value for a given time field.
Parameters:
  field - the given time field. the value for the given time field.



hashCode
public int hashCode()(Code)
Override hashCode. Generates the hash code for the BuddhistCalendar object



roll
public void roll(int field, int amount)(Code)
Add to field a signed amount without changing larger fields. A negative roll amount means to subtract from field without changing larger fields.
Parameters:
  field - the time field.
Parameters:
  amount - the signed amount to add to field.



set
public void set(int field, int value)(Code)
Sets the time field with the given value.
Parameters:
  field - the given time field.
Parameters:
  value - the value to be set for the given time field.



Fields inherited from java.util.GregorianCalendar
final public static int AD(Code)(Java Doc)
final public static int BC(Code)(Java Doc)

Methods inherited from java.util.GregorianCalendar
public void add(int field, int amount)(Code)(Java Doc)
protected void computeFields()(Code)(Java Doc)
protected void computeTime()(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
public int getActualMaximum(int field)(Code)(Java Doc)
public int getActualMinimum(int field)(Code)(Java Doc)
public int getGreatestMinimum(int field)(Code)(Java Doc)
final public Date getGregorianChange()(Code)(Java Doc)
public int getLeastMaximum(int field)(Code)(Java Doc)
public int getMaximum(int field)(Code)(Java Doc)
public int getMinimum(int field)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isLeapYear(int year)(Code)(Java Doc)
public void roll(int field, boolean up)(Code)(Java Doc)
public void roll(int field, int amount)(Code)(Java Doc)
public void setGregorianChange(Date date)(Code)(Java Doc)

Fields inherited from java.util.Calendar
final public static int AM(Code)(Java Doc)
final public static int AM_PM(Code)(Java Doc)
final public static int APRIL(Code)(Java Doc)
final public static int AUGUST(Code)(Java Doc)
final public static int DATE(Code)(Java Doc)
final public static int DAY_OF_MONTH(Code)(Java Doc)
final public static int DAY_OF_WEEK(Code)(Java Doc)
final public static int DECEMBER(Code)(Java Doc)
final public static int FEBRUARY(Code)(Java Doc)
final public static int FRIDAY(Code)(Java Doc)
final public static int HOUR(Code)(Java Doc)
final public static int HOUR_OF_DAY(Code)(Java Doc)
final public static int JANUARY(Code)(Java Doc)
final public static int JULY(Code)(Java Doc)
final public static int JUNE(Code)(Java Doc)
final public static int MARCH(Code)(Java Doc)
final public static int MAY(Code)(Java Doc)
final public static int MILLISECOND(Code)(Java Doc)
final public static int MINUTE(Code)(Java Doc)
final public static int MONDAY(Code)(Java Doc)
final public static int MONTH(Code)(Java Doc)
final public static int NOVEMBER(Code)(Java Doc)
final public static int OCTOBER(Code)(Java Doc)
final public static int PM(Code)(Java Doc)
final public static int SATURDAY(Code)(Java Doc)
final public static int SECOND(Code)(Java Doc)
final public static int SEPTEMBER(Code)(Java Doc)
final public static int SUNDAY(Code)(Java Doc)
final public static int THURSDAY(Code)(Java Doc)
final public static int TUESDAY(Code)(Java Doc)
final public static int WEDNESDAY(Code)(Java Doc)
final public static int YEAR(Code)(Java Doc)
protected int fields(Code)(Java Doc)
protected boolean isSet(Code)(Java Doc)
protected long time(Code)(Java Doc)

Methods inherited from java.util.Calendar
public boolean after(Object when)(Code)(Java Doc)
public boolean before(Object when)(Code)(Java Doc)
abstract protected void computeFields()(Code)(Java Doc)
abstract protected void computeTime()(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
final public int get(int field)(Code)(Java Doc)
public static synchronized Calendar getInstance()(Code)(Java Doc)
public static synchronized Calendar getInstance(TimeZone zone)(Code)(Java Doc)
final public Date getTime()(Code)(Java Doc)
protected long getTimeInMillis()(Code)(Java Doc)
public TimeZone getTimeZone()(Code)(Java Doc)
final public void set(int field, int value)(Code)(Java Doc)
final public void setTime(Date date)(Code)(Java Doc)
protected void setTimeInMillis(long millis)(Code)(Java Doc)
public void setTimeZone(TimeZone value)(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(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.