public final class ThaiBuddhistChronology extends Chronology implements java.io.Serializable
ThaiBuddhistChronology
defines the rules of the Thai Buddhist calendar system.
The Thai Buddhist calendar system is the same as the ISO calendar system apart from the year.
ThaiBuddhistChronology is immutable and thread-safe.
Modifier and Type | Field and Description |
---|---|
static ThaiBuddhistChronology |
INSTANCE
The singleton instance of
ThaiBuddhistChronology . |
Modifier and Type | Method and Description |
---|---|
static DateTimeFieldRule<java.lang.Integer> |
dayOfMonthRule()
Gets the rule for the day-of-month field in the Thai Buddhist chronology.
|
static DateTimeFieldRule<DayOfWeek> |
dayOfWeekRule()
Gets the rule for the day-of-week field in the Thai Buddhist chronology.
|
static DateTimeFieldRule<java.lang.Integer> |
dayOfYearRule()
Gets the rule for the day-of-year field in the Thai Buddhist chronology.
|
static DateTimeFieldRule<ThaiBuddhistEra> |
eraRule()
Gets the rule for the era field in the Thai Buddhist chronology.
|
java.lang.String |
getName()
Gets the name of the chronology.
|
static DateTimeFieldRule<MonthOfYear> |
monthOfYearRule()
Gets the rule for the month-of-year field in the Thai Buddhist chronology.
|
static PeriodUnit |
periodDays()
Gets the period unit for days.
|
static PeriodUnit |
periodEras()
Gets the period unit for eras.
|
static PeriodUnit |
periodMonths()
Gets the period unit for months.
|
static PeriodUnit |
periodWeeks()
Gets the period unit for weeks.
|
static PeriodUnit |
periodYears()
Gets the period unit for years.
|
static DateTimeFieldRule<java.lang.Integer> |
yearOfEraRule()
Gets the rule for the year of era field in the Thai Buddhist chronology.
|
get, rule, toString
public static final ThaiBuddhistChronology INSTANCE
ThaiBuddhistChronology
.public java.lang.String getName()
getName
in class Chronology
public static DateTimeFieldRule<ThaiBuddhistEra> eraRule()
public static DateTimeFieldRule<java.lang.Integer> yearOfEraRule()
public static DateTimeFieldRule<MonthOfYear> monthOfYearRule()
public static DateTimeFieldRule<java.lang.Integer> dayOfMonthRule()
public static DateTimeFieldRule<java.lang.Integer> dayOfYearRule()
public static DateTimeFieldRule<DayOfWeek> dayOfWeekRule()
public static PeriodUnit periodEras()
The period unit defines the concept of a period of an era. This is equivalent to the ISO eras period unit.
See eraRule()
for the main date-time field.
public static PeriodUnit periodYears()
The period unit defines the concept of a period of a year. This is equivalent to the ISO years period unit.
See yearOfEraRule()
for the main date-time field.
public static PeriodUnit periodMonths()
The period unit defines the concept of a period of a month. This is equivalent to the ISO months period unit.
See monthOfYearRule()
for the main date-time field.
public static PeriodUnit periodWeeks()
The period unit defines the concept of a period of a week. This is equivalent to the ISO weeks period unit.
public static PeriodUnit periodDays()
The period unit defines the concept of a period of a day. This is equivalent to the ISO days period unit.
See dayOfMonthRule()
for the main date-time field.