Home » openjdk-7 » sun » util » [javadoc | source]
public class: BuddhistCalendar [javadoc | source]

All Implemented Interfaces:
    Comparable, java$io$Serializable, Cloneable

Fields inherited from java.util.GregorianCalendar:
Fields inherited from java.util.Calendar:
 public BuddhistCalendar() 
 public BuddhistCalendar(TimeZone zone) 
    Constructs a BuddhistCalendar based on the current time in the given time zone with the default locale.
    zone - the given time zone.
 public BuddhistCalendar(Locale aLocale) 
    Constructs a BuddhistCalendar based on the current time in the default time zone with the given locale.
    aLocale - 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.
    zone - the given time zone.
    aLocale - the given locale.
Method from sun.util.BuddhistCalendar Summary:
add,   equals,   get,   getActualMaximum,   getDisplayName,   getDisplayNames,   hashCode,   roll,   set,   toString
Methods from java.util.GregorianCalendar:
add,   clone,   computeFields,   computeTime,   equals,   getActualMaximum,   getActualMinimum,   getGreatestMinimum,   getGregorianChange,   getLeastMaximum,   getMaximum,   getMinimum,   getTimeZone,   hashCode,   isLeapYear,   roll,   roll,   setGregorianChange,   setTimeZone
Methods from java.util.Calendar:
add,   after,   before,   checkDisplayNameParams,   clear,   clear,   clone,   compareTo,   compareTo,   complete,   computeFields,   computeTime,   equals,   get,   getActualMaximum,   getActualMinimum,   getAvailableLocales,   getDisplayName,   getDisplayNames,   getFieldName,   getFirstDayOfWeek,   getGreatestMinimum,   getInstance,   getInstance,   getInstance,   getInstance,   getLeastMaximum,   getMaximum,   getMinimalDaysInFirstWeek,   getMinimum,   getSetStateFields,   getTime,   getTimeInMillis,   getTimeZone,   getZone,   hashCode,   internalGet,   internalSet,   isExternallySet,   isFieldSet,   isFullyNormalized,   isLenient,   isPartiallyNormalized,   isSet,   roll,   roll,   selectFields,   set,   set,   set,   set,   setFieldsComputed,   setFieldsNormalized,   setFirstDayOfWeek,   setLenient,   setMinimalDaysInFirstWeek,   setTime,   setTimeInMillis,   setTimeZone,   setUnnormalized,   setZoneShared,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.util.BuddhistCalendar Detail:
 public  void add(int field,
    int amount) 
    Adds the specified (signed) amount of time to the given time field.
 public boolean equals(Object obj) 
    Compares this BuddhistCalendar to an object reference.
 public int get(int field) 
    Gets the value for a given time field.
 public int getActualMaximum(int field) 
    Returns the maximum value that this field could have, given the current date. For example, with the date "Feb 3, 2540" and the DAY_OF_MONTH field, the actual maximum is 28; for "Feb 3, 2539" it is 29.
 public String getDisplayName(int field,
    int style,
    Locale locale) 
 public Map<String, Integer> getDisplayNames(int field,
    int style,
    Locale locale) 
 public int hashCode() 
    Override hashCode. Generates the hash code for the BuddhistCalendar object
 public  void roll(int field,
    int amount) 
    Add to field a signed amount without changing larger fields. A negative roll amount means to subtract from field without changing larger fields.
 public  void set(int field,
    int value) 
    Sets the time field with the given value.
 public String toString()