final case class TemporalQueryOps[A](underlying: TemporalQuery[A]) extends AnyVal with Product with Serializable
Enriches instances of TemporalQuery with additional methods.
- Source
- TemporalQueryOps.scala
- Alphabetic
- By Inheritance
- TemporalQueryOps
- Serializable
- Product
- Equals
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TemporalQueryOps(underlying: TemporalQuery[A])
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 TemporalQueryOps[A] toany2stringadd[TemporalQueryOps[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (TemporalQueryOps[A], B)
- Implicit
- This member is added by an implicit conversion from TemporalQueryOps[A] toArrowAssoc[TemporalQueryOps[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (TemporalQueryOps[A]) => Boolean, msg: => Any): TemporalQueryOps[A]
- Implicit
- This member is added by an implicit conversion from TemporalQueryOps[A] toEnsuring[TemporalQueryOps[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (TemporalQueryOps[A]) => Boolean): TemporalQueryOps[A]
- Implicit
- This member is added by an implicit conversion from TemporalQueryOps[A] toEnsuring[TemporalQueryOps[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): TemporalQueryOps[A]
- Implicit
- This member is added by an implicit conversion from TemporalQueryOps[A] toEnsuring[TemporalQueryOps[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): TemporalQueryOps[A]
- Implicit
- This member is added by an implicit conversion from TemporalQueryOps[A] toEnsuring[TemporalQueryOps[A]] 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 TemporalQueryOps[A] toStringFormat[TemporalQueryOps[A]] 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: TemporalQuery[A]
- def |>(temporal: TemporalAccessor): A
Queries the specified TemporalAccessor using this query strategy.
Queries the specified TemporalAccessor using this query strategy.
- Exceptions thrown
ArithmeticException
if numeric overflow occurs.DateTimeException
if unable to query.
- def ▹(temporal: TemporalAccessor): A
Queries the specified TemporalAccessor using this query strategy.
Queries the specified TemporalAccessor using this query strategy.
- Exceptions thrown
ArithmeticException
if numeric overflow occurs.DateTimeException
if unable to query.
Deprecated Value Members
- def →[B](y: B): (TemporalQueryOps[A], B)
- Implicit
- This member is added by an implicit conversion from TemporalQueryOps[A] toArrowAssoc[TemporalQueryOps[A]] 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: