Class

codes.reactive.scalatime.impl

PeriodOps

Related Doc: package impl

Permalink

final case class PeriodOps(underlying: Period) extends AnyVal with Product with Serializable

Enriches a Period with scala friendly methods.

Source
TemporalAmountOps.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PeriodOps
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyVal
  7. 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 PeriodOps(underlying: Period)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def *(scalar: Int): Period

    Permalink

    Obtains a copy of this period multiplied by the scalar.

    Obtains a copy of this period multiplied by the scalar.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs

  4. def +(amount: TemporalAmount): Period

    Permalink

    Obtains a copy of this period with the specified period added.

    Obtains a copy of this period with the specified period added.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs

  5. def -(amount: TemporalAmount): Period

    Permalink

    Obtains a copy of this period with the specified period subtracted.

    Obtains a copy of this period with the specified period subtracted.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs

  6. def ->[B](y: B): (PeriodOps, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from PeriodOps to ArrowAssoc[PeriodOps] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def ensuring(cond: (PeriodOps) ⇒ Boolean, msg: ⇒ Any): PeriodOps

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  16. def unary_!: Period

    Permalink

    Obtains an instance of this type with each amount in this period negated.

    Obtains an instance of this type with each amount in this period negated. For example, a period of "2 years, -3 months and 4 days" will be negated to "-2 years, 3 months and -4 days". No normalization is performed.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs, which only happens if one of the units has the value Long.MIN_VALUE

  17. val underlying: Period

    Permalink
  18. def [B](y: B): (PeriodOps, B)

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

Shadowed Implicit Value Members

  1. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from PeriodOps to any2stringadd[PeriodOps] 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:
    (periodOps: any2stringadd[PeriodOps]).+(other)
    Definition Classes
    any2stringadd

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyVal

Inherited from Any

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

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

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

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

Ungrouped