final case class StringOps(underlying: String) extends AnyVal with Product with Serializable
- Source
- StringOps.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StringOps
- 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 StringOps(underlying: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (StringOps, B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (StringOps) ⇒ Boolean, msg: ⇒ Any): StringOps
- def ensuring(cond: (StringOps) ⇒ Boolean): StringOps
- def ensuring(cond: Boolean, msg: ⇒ Any): StringOps
- def ensuring(cond: Boolean): StringOps
- def formatted(fmtstr: String): String
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val underlying: String
- def |>[A](formatter: DateTimeFormatter, query: TemporalQuery[A]): A
- def |>(formatter: DateTimeFormatter): TemporalAccessor
- def →[B](y: B): (StringOps, B)
- def ▹[A](formatter: DateTimeFormatter, query: TemporalQuery[A]): A
-
def
▹(formatter: DateTimeFormatter): TemporalAccessor
Fully parses the text producing a temporal object.
Fully parses the text producing a temporal object.
- Exceptions thrown
DateTimeParseException
if unable to parse the requested result.
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: