final case class TemporalAdjusterOps(underlying: TemporalAdjuster) extends AnyVal with Product with Serializable
Enriches a TemporalAdjuster with additional methods.
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- TemporalAdjusterOps
- Serializable
- Product
- Equals
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TemporalAdjusterOps(underlying: TemporalAdjuster)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from TemporalAdjusterOps toany2stringadd[TemporalAdjusterOps] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (TemporalAdjusterOps, B)
- Implicit
- This member is added by an implicit conversion from TemporalAdjusterOps toArrowAssoc[TemporalAdjusterOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- def <<=[A <: Temporal](temporal: A): A
Adjusts the provided temporal object using the logic encapsulated in this.
Adjusts the provided temporal object using the logic encapsulated in this.
- Exceptions thrown
ArithmeticExceptionif numeric overflow occurs.DateTimeExceptionif unable to make the adjustment.
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (TemporalAdjusterOps) => Boolean, msg: => Any): TemporalAdjusterOps
- Implicit
- This member is added by an implicit conversion from TemporalAdjusterOps toEnsuring[TemporalAdjusterOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (TemporalAdjusterOps) => Boolean): TemporalAdjusterOps
- Implicit
- This member is added by an implicit conversion from TemporalAdjusterOps toEnsuring[TemporalAdjusterOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): TemporalAdjusterOps
- Implicit
- This member is added by an implicit conversion from TemporalAdjusterOps toEnsuring[TemporalAdjusterOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): TemporalAdjusterOps
- Implicit
- This member is added by an implicit conversion from TemporalAdjusterOps toEnsuring[TemporalAdjusterOps] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from TemporalAdjusterOps toStringFormat[TemporalAdjusterOps] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val underlying: TemporalAdjuster
Deprecated Value Members
- def →[B](y: B): (TemporalAdjusterOps, B)
- Implicit
- This member is added by an implicit conversion from TemporalAdjusterOps toArrowAssoc[TemporalAdjusterOps] 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.
Scala Time
scala-time is a simple Scala wrapper for easier use JDK 1.8.0 (Java 8) time APIs
Overview
The library is contained in the scalatime package which includes extension methods provided via implicit conversion methods to Scala value classes.
For usage examples see below: