codes.reactive.scalatime.impl

YearMonthOps

final case class YearMonthOps(underlying: YearMonth) extends AnyVal with Product with Serializable

Enriches YearMonth instances with additional methods.

Source
YearMonthOps.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, NotNull, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. YearMonthOps
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. NotNull
  8. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new YearMonthOps(underlying: YearMonth)

Value Members

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

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

    Definition Classes
    Any
  3. def +(months: Int): YearMonth

    Obtains a java.time.YearMonth with the specified number of months added.

    Obtains a java.time.YearMonth with the specified number of months added.

    Exceptions thrown
    DateTimeException

    if the result exceeds the supported range.

  4. def -(months: Int): YearMonth

    Obtains a YearMonth with the specified number of months subtracted.

    Obtains a YearMonth with the specified number of months subtracted.

    Exceptions thrown
    DateTimeException

    if the result exceeds the supported range.

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

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

    Obtains a java.time.LocalDate by combining this year-month with the specified day.

    Obtains a java.time.LocalDate by combining this year-month with the specified day.

    Exceptions thrown
    DateTimeException

    if the day is invalid for the year-month

  7. def <(other: YearMonth): Boolean

    Returns true if this year-month is before the specified one.

  8. def <=(other: YearMonth): Boolean

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

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

    Definition Classes
    Any
  10. def >(other: YearMonth): Boolean

    Returns true if this year-month is after the specified one.

  11. def >=(other: YearMonth): Boolean

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

  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def ensuring(cond: (YearMonthOps) ⇒ Boolean, msg: ⇒ Any): YearMonthOps

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

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

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

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

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

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

    Definition Classes
    Any
  20. val underlying: YearMonth

  21. def |>(formatter: DateTimeFormatter): String

    Formats this year-month using the specified formatter.

    Formats this year-month using the specified formatter.

    Exceptions thrown
    DateTimeException

    - if an error occurs during printing

  22. def [B](y: B): (YearMonthOps, B)

    Implicit information
    This member is added by an implicit conversion from YearMonthOps to ArrowAssoc[YearMonthOps] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
  23. def (formatter: DateTimeFormatter): String

Shadowed Implicit Value Members

  1. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from YearMonthOps to StringAdd 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:
    (yearMonthOps: StringAdd).+(other)
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from YearMonthOps to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (yearMonthOps: StringAdd).self
    Definition Classes
    StringAdd
  3. val self: Any

    Implicit information
    This member is added by an implicit conversion from YearMonthOps to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (yearMonthOps: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: YearMonthOps

    Implicit information
    This member is added by an implicit conversion from YearMonthOps to ArrowAssoc[YearMonthOps] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (yearMonthOps: ArrowAssoc[YearMonthOps]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: YearMonthOps

    Implicit information
    This member is added by an implicit conversion from YearMonthOps to Ensuring[YearMonthOps] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (yearMonthOps: Ensuring[YearMonthOps]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Inherited by implicit conversion any2stringadd from YearMonthOps to StringAdd

Inherited by implicit conversion any2stringfmt from YearMonthOps to StringFormat

Inherited by implicit conversion any2ArrowAssoc from YearMonthOps to ArrowAssoc[YearMonthOps]

Inherited by implicit conversion any2Ensuring from YearMonthOps to Ensuring[YearMonthOps]

Ungrouped