final case class TemporalAdjusterOps(underlying: TemporalAdjuster) extends AnyVal with Product with Serializable
Enriches a TemporalAdjuster with additional methods.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TemporalAdjusterOps
- Serializable
- 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 to any2stringadd[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 to ArrowAssoc[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
ArithmeticException
if numeric overflow occurs.DateTimeException
if 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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to Ensuring[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 to StringFormat[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
- val underlying: TemporalAdjuster
-
def
→[B](y: B): (TemporalAdjusterOps, B)
- Implicit
- This member is added by an implicit conversion from TemporalAdjusterOps to ArrowAssoc[TemporalAdjusterOps] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
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: