public function eras()
 {
     return ThaiBuddhistEra::values();
 }
 /**
  * Gets the era applicable at this date.
  * <p>
  * The Thai Buddhist calendar system has two eras, 'BE' and 'BEFORE_BE',
  * defined by {@link ThaiBuddhistEra}.
  *
  * @return ThaiBuddhistEra the era applicable at this date, not null
  */
 public function getEra()
 {
     return $this->getProlepticYear() >= 1 ? ThaiBuddhistEra::BE() : ThaiBuddhistEra::BEFORE_BE();
 }