Packages

final case class MonthOps(underlying: Month) extends AnyVal with Product with Serializable

Enriches a Month with additional methods.

Source
MonthOps.scala
Linear Supertypes
Serializable, Product, Equals, AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MonthOps
  2. Serializable
  3. Product
  4. Equals
  5. AnyVal
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MonthOps(underlying: Month)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(months: Int): Month

    Obtains the month-of-year which is the specified number of months after this one.

  4. def -(months: Int): Month

    Obtains the month-of-year which is the specified number of months before this one.

  5. def ->[B](y: B): (MonthOps, B)
    Implicit
    This member is added by an implicit conversion from MonthOps toArrowAssoc[MonthOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def /(day: Int): MonthDay

    Obtains a java.time.MonthDay by combining this month with the specified day-of-month.

    Obtains a java.time.MonthDay by combining this month with the specified day-of-month.

    Exceptions thrown

    DateTimeException if the day-of-month is invalid for the month.

  7. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  8. def =~(temporal: Temporal): Temporal
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def ensuring(cond: (MonthOps) => Boolean, msg: => Any): MonthOps
    Implicit
    This member is added by an implicit conversion from MonthOps toEnsuring[MonthOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (MonthOps) => Boolean): MonthOps
    Implicit
    This member is added by an implicit conversion from MonthOps toEnsuring[MonthOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): MonthOps
    Implicit
    This member is added by an implicit conversion from MonthOps toEnsuring[MonthOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): MonthOps
    Implicit
    This member is added by an implicit conversion from MonthOps toEnsuring[MonthOps] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from MonthOps toStringFormat[MonthOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val underlying: Month

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from MonthOps toany2stringadd[MonthOps] 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:
    (monthOps: any2stringadd[MonthOps]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def [B](y: B): (MonthOps, B)
    Implicit
    This member is added by an implicit conversion from MonthOps toArrowAssoc[MonthOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd fromMonthOps to any2stringadd[MonthOps]

Inherited by implicit conversion StringFormat fromMonthOps to StringFormat[MonthOps]

Inherited by implicit conversion Ensuring fromMonthOps to Ensuring[MonthOps]

Inherited by implicit conversion ArrowAssoc fromMonthOps to ArrowAssoc[MonthOps]

Ungrouped