final case class TemporalQueryOps[A](underlying: TemporalQuery[A]) extends AnyVal with Product with Serializable
Enriches instances of TemporalQuery with additional methods.
- Source
- TemporalQueryOps.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TemporalQueryOps
- 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 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] to any2stringadd[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] to ArrowAssoc[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] to Ensuring[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] to Ensuring[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] to Ensuring[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] to Ensuring[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] to StringFormat[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
- 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
→[B](y: B): (TemporalQueryOps[A], B)
- Implicit
- This member is added by an implicit conversion from TemporalQueryOps[A] to ArrowAssoc[TemporalQueryOps[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
-
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.
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: