Class

codes.reactive.scalatime.impl

TemporalOps

Related Doc: package impl

Permalink

final case class TemporalOps(underlying: Temporal) extends AnyVal with Product with Serializable

Enriches a Temporal with additional methods.

Source
TemporalOps.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TemporalOps
  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 TemporalOps(underlying: Temporal)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. def +(amount: Long, unit: TemporalUnit): underlying.type

    Permalink

    Obtains an object of the same type as this object with an amount added.

    Obtains an object of the same type as this object with an amount added.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs.

    DateTimeException - if the unit cannot be added.

    UnsupportedTemporalTypeException - if the unit is not supported.

  4. def +(amount: TemporalAmount): underlying.type

    Permalink

    Obtains an object of the same type as this object with an amount added.

    Obtains an object of the same type as this object with an amount added.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs.

    DateTimeException - if the addition cannot be made.

  5. def -(amount: Long, unit: TemporalUnit): underlying.type

    Permalink

    Obtains an object of the same type as this object with an amount subtracted.

    Obtains an object of the same type as this object with an amount subtracted.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs

    DateTimeException - if the unit cannot be subtracted

    UnsupportedTemporalTypeException - if the unit is not supported

  6. def -(amount: TemporalAmount): underlying.type

    Permalink

    Obtains an object of the same type as this object with an amount subtracted.

    Obtains an object of the same type as this object with an amount subtracted.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs

    DateTimeException - if the subtraction cannot be made

  7. def ->[B](y: B): (TemporalOps, B)

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

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

    Permalink
    Definition Classes
    Any
  10. def ensuring(cond: (TemporalOps) ⇒ Boolean, msg: ⇒ Any): TemporalOps

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

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from TemporalOps to StringFormat[TemporalOps] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. def from(begin: Temporal, inUnits: TemporalUnit): Long

    Permalink

    Calculates the amount of time until this temporal in terms of the specified unit.

    Calculates the amount of time until this temporal in terms of the specified unit.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs.

    DateTimeException - if the amount cannot be calculated, or the end temporal cannot be converted to the same type as this temporal.

    UnsupportedTemporalTypeException - if the unit is not supported.

  16. def getClass(): Class[_ <: AnyVal]

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

    Permalink
    Definition Classes
    Any
  18. val underlying: Temporal

    Permalink
  19. def ~=(field: TemporalField, fieldValue: Long): underlying.type

    Permalink

    Obtains an adjusted object of the same type as this object with the adjustment made.

    Obtains an adjusted object of the same type as this object with the adjustment made.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs

    DateTimeException - if the field cannot be set

    UnsupportedTemporalTypeException - if the field is not supported

  20. def ~=(adjuster: TemporalAdjuster): underlying.type

    Permalink

    Obtains an adjusted object of the same type as this object with the adjustment made.

    Obtains an adjusted object of the same type as this object with the adjustment made.

    Exceptions thrown

    ArithmeticException - if numeric overflow occurs

    DateTimeException - if unable to make the adjustment

  21. def [B](y: B): (TemporalOps, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from TemporalOps to ArrowAssoc[TemporalOps] 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 TemporalOps to any2stringadd[TemporalOps] 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:
    (temporalOps: any2stringadd[TemporalOps]).+(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 TemporalOps to any2stringadd[TemporalOps]

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

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

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

Ungrouped