|
Joda Time API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.joda.time.Chronology
|
+--org.joda.time.chrono.DelegateChronology
|
+--org.joda.time.chrono.buddhist.BuddhistChronology
BuddhistChronology provides access to the individual date
time fields for the Buddhist chronological calendar system.
The Buddhist calendar differs from the GregorianJulian calendar only in the year. This class is compatable with the BuddhistCalendar class supplied by Sun.
At present the century fields are unsupported.
| Field Summary | |
static int |
BE
Constant value for 'Buddhist Era', equivalent to the value returned for AD/CE. |
| Method Summary | |
DateTimeField |
centuryOfEra()
Get the century of era field for this chronology. |
DateTimeField |
era()
Get the era field for this chronology. |
static BuddhistChronology |
getInstance()
Standard instance of a Buddhist Chronology, that matches Sun's BuddhistCalendar class. |
static BuddhistChronology |
getInstance(DateTimeZone zone)
Standard instance of a Buddhist Chronology, that matches Sun's BuddhistCalendar class. |
static BuddhistChronology |
getInstanceUTC()
Standard instance of a Buddhist Chronology, that matches Sun's BuddhistCalendar class. |
java.lang.String |
toString()
Gets a debugging toString. |
DateTimeField |
weekyear()
Get the year of a week based year field for this chronology. |
Chronology |
withDateTimeZone(DateTimeZone zone)
Gets the Chronology in a specific time zone. |
Chronology |
withUTC()
Gets the Chronology in the UTC time zone. |
DateTimeField |
year()
Get the year field for this chronology. |
DateTimeField |
yearOfCentury()
Get the year of century field for this chronology. |
DateTimeField |
yearOfEra()
Get the year of era field for this chronology. |
| Methods inherited from class org.joda.time.chrono.DelegateChronology |
clockhourOfDay, clockhourOfHalfday, dayOfMonth, dayOfWeek, dayOfYear, getChronology, getDateTimeZone, halfdayOfDay, hourOfDay, hourOfHalfday, millisOfDay, millisOfSecond, minuteOfDay, minuteOfHour, monthOfYear, secondOfDay, secondOfMinute, weekOfWeekyear |
| Methods inherited from class org.joda.time.Chronology |
getDateOnlyMillis, getTimeOnlyMillis |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int BE
| Method Detail |
public static BuddhistChronology getInstanceUTC()
The time zone of the returned instance is UTC.
public static BuddhistChronology getInstance()
public static BuddhistChronology getInstance(DateTimeZone zone)
zone - the time zone to use, null is default
java.lang.IllegalArgumentException - if the zone is nullpublic Chronology withUTC()
withUTC in class DelegateChronologypublic Chronology withDateTimeZone(DateTimeZone zone)
withDateTimeZone in class DelegateChronologyzone - the zone to get the chronology in, null is default
public DateTimeField weekyear()
weekyear in class DelegateChronologypublic DateTimeField year()
year in class DelegateChronologypublic DateTimeField yearOfEra()
yearOfEra in class DelegateChronologypublic DateTimeField yearOfCentury()
yearOfCentury in class DelegateChronologyjava.lang.UnsupportedOperationException - alwayspublic DateTimeField centuryOfEra()
centuryOfEra in class DelegateChronologyjava.lang.UnsupportedOperationException - alwayspublic DateTimeField era()
era in class DelegateChronologypublic java.lang.String toString()
toString in class java.lang.Object
|
Joda Time API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||