codes.reactive.scalatime.impl

PeriodOps

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, NotNull, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PeriodOps
  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 PeriodOps(underlying: Period)

Value Members

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

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

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

    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

    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

    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)

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

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

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

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

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

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

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

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

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

    Definition Classes
    Any
  16. def unary_!: Period

    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

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

    Implicit information
    This member is added by an implicit conversion from PeriodOps to ArrowAssoc[PeriodOps] performed by method any2ArrowAssoc 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 PeriodOps 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:
    (periodOps: StringAdd).+(other)
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from PeriodOps 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:
    (periodOps: StringAdd).self
    Definition Classes
    StringAdd
  3. val self: Any

    Implicit information
    This member is added by an implicit conversion from PeriodOps 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:
    (periodOps: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: PeriodOps

    Implicit information
    This member is added by an implicit conversion from PeriodOps to ArrowAssoc[PeriodOps] 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:
    (periodOps: ArrowAssoc[PeriodOps]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: PeriodOps

    Implicit information
    This member is added by an implicit conversion from PeriodOps to Ensuring[PeriodOps] 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:
    (periodOps: Ensuring[PeriodOps]).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 PeriodOps to StringAdd

Inherited by implicit conversion any2stringfmt from PeriodOps to StringFormat

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

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

Ungrouped