codes.reactive.scalatime

RichYear

final class RichYear extends AnyVal

Enriches Year instances with additional methods.

Source
Year.scala
Linear Supertypes
AnyVal, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RichYear
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichYear(underlying: scalatime.Year)

Value Members

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

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

    Definition Classes
    Any
  3. def +(years: Int): org.threeten.bp.Year

    Obtains a year with the specified number of years added.

  4. def -(years: Int): scalatime.Year

    Obtains a year with the specified number of years subtracted.

  5. def ->[B](y: B): (RichYear, B)

    Implicit information
    This member is added by an implicit conversion from RichYear to ArrowAssoc[RichYear] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def /(monthDay: scalatime.MonthDay): scalatime.LocalDate

    Obtains a LocalDate by combining this year with the specified MonthDay.

  7. def /(month: Int): scalatime.YearMonth

    Obtains a YearMonth by combining this year with the specified month, from 1 (January) to 12 (December).

    Obtains a YearMonth by combining this year with the specified month, from 1 (January) to 12 (December).

    Exceptions thrown
    DateTimeException

    if the month is invalid.

  8. def /(month: scalatime.Month): scalatime.YearMonth

    Obtains a YearMonth by combining this year with the specified Month.

  9. def <(other: scalatime.Year): Boolean

    Returns true if this year is before the specified one.

  10. def <=(other: scalatime.Year): Boolean

    Returns true if this year is equal to or before the specified one.

  11. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  12. def >(other: scalatime.Year): Boolean

    Returns true if this year is after the specified one.

  13. def >=(other: scalatime.Year): Boolean

    Returns true if this year is equal to or after the specified one.

  14. def >>(formatter: scalatime.DateTimeFormatter): String

    Formats this year using the specified formatter.

    Formats this year using the specified formatter.

    Exceptions thrown
    DateTimeException

    - if an error occurs during printing

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def ensuring(cond: (RichYear) ⇒ Boolean, msg: ⇒ Any): RichYear

    Implicit information
    This member is added by an implicit conversion from RichYear to Ensuring[RichYear] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (RichYear) ⇒ Boolean): RichYear

    Implicit information
    This member is added by an implicit conversion from RichYear to Ensuring[RichYear] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): RichYear

    Implicit information
    This member is added by an implicit conversion from RichYear to Ensuring[RichYear] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): RichYear

    Implicit information
    This member is added by an implicit conversion from RichYear to Ensuring[RichYear] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from RichYear to StringFormat[RichYear] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. def getClass(): Class[_ <: AnyVal]

    Definition Classes
    AnyVal → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def toString(): String

    Definition Classes
    Any
  24. val underlying: scalatime.Year

  25. def [B](y: B): (RichYear, B)

    Implicit information
    This member is added by an implicit conversion from RichYear to ArrowAssoc[RichYear] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from RichYear to any2stringadd[RichYear] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (richYear: any2stringadd[RichYear]).+(other)
    Definition Classes
    any2stringadd

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from RichYear to any2stringadd[RichYear]

Inherited by implicit conversion StringFormat from RichYear to StringFormat[RichYear]

Inherited by implicit conversion Ensuring from RichYear to Ensuring[RichYear]

Inherited by implicit conversion ArrowAssoc from RichYear to ArrowAssoc[RichYear]

Ungrouped