Object/Class

org.threeten.bp.chrono

JapaneseEra

Related Docs: class JapaneseEra | package chrono

Permalink

object JapaneseEra extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JapaneseEra
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val HEISEI: JapaneseEra

    Permalink

    The singleton instance for the 'Heisei' era (1989-01-08 - current) which has the value 2.

  5. lazy val MEIJI: JapaneseEra

    Permalink

    The singleton instance for the 'Meiji' era (1868-09-08 - 1912-07-29) which has the value -1.

  6. lazy val REIWA: JapaneseEra

    Permalink

    The singleton instance for the 'Reiwa' era (2019-05-01 - current) which has the value 3.

  7. lazy val SHOWA: JapaneseEra

    Permalink

    The singleton instance for the 'Showa' era (1926-12-25 - 1989-01-07) which has the value 1.

  8. lazy val TAISHO: JapaneseEra

    Permalink

    The singleton instance for the 'Taisho' era (1912-07-30 - 1926-12-24) which has the value 0.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def of(japaneseEra: Int): JapaneseEra

    Permalink

    Obtains an instance of JapaneseEra from an int value.

    Obtains an instance of JapaneseEra from an int value.

    The #SHOWA era that contains 1970-01-01 (ISO calendar system) has the value 1 Later era is numbered 2 (#HEISEI). Earlier eras are numbered 0 (#TAISHO), -1 (#MEIJI), only Meiji and later eras are supported.

    japaneseEra

    the era to represent

    returns

    the { @code JapaneseEra} singleton, not null

    Exceptions thrown

    DateTimeException if the value is invalid

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def valueOf(japaneseEra: String): JapaneseEra

    Permalink

    Returns the JapaneseEra with the name.

    Returns the JapaneseEra with the name.

    The string must match exactly the name of the era. (Extraneous whitespace characters are not permitted.)

    japaneseEra

    the japaneseEra name; non-null

    returns

    the { @code JapaneseEra} singleton, never null

    Exceptions thrown

    IllegalArgumentException if there is not JapaneseEra with the specified name

  24. def values: Array[JapaneseEra]

    Permalink

    Returns an array of JapaneseEras.

    Returns an array of JapaneseEras.

    This method may be used to iterate over the JapaneseEras as follows:

    for (JapaneseEra c : JapaneseEra.values())
    System.out.println(c);
    

    returns

    an array of JapaneseEras

  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped