java.time.chrono

JapaneseEra

object JapaneseEra extends Serializable

Annotations
@SerialVersionUID( 1466499369062886794L )
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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val HEISEI: JapaneseEra

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

  7. val MEIJI: JapaneseEra

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

  8. val SHOWA: JapaneseEra

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

  9. val TAISHO: JapaneseEra

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

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

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

    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

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

    Definition Classes
    AnyRef
  23. def toString(): String

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

    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

  25. def values: Array[JapaneseEra]

    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

  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped