trait TimeParsers extends AnyRef
Parsers for java.time
data types.
- Alphabetic
- By Inheritance
- TimeParsers
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def catchDTE[A, B](f: (A) => B): (A) => Parser[B]
Catch a
DateTimeException
, useful for flatMap. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def genLocalTime(sep: Parser[_]): Parser[LocalTime]
Generic parser for a
LocalTime
with fractional seconds to nanosecond precision.Generic parser for a
LocalTime
with fractional seconds to nanosecond precision.- sep
parser for any separator between hours, minutes, and seconds
- def genYMD(month: Parser[Month], sep: Parser[_]): Parser[LocalDate]
Generic parser for a local date string in the order year, month, day.
Generic parser for a local date string in the order year, month, day.
- month
parser for the month component
- sep
parser for any separator between components
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def instantUTC(date: Parser[LocalDate], time: Parser[LocalTime]): Parser[Instant]
Parser for instants in UTC, where the date is followed by the time and separated by spaces.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val month2: Parser[Month]
Parser for 2 consecutive digits, parsed as a
Month
. - val monthMMM: Parser[Month]
Parser for 3 letter month strings like "Jan", parsed as a
Month
. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val year4: Parser[Year]
Parser for 4 consecutive digits, parsed as a
Year
. - def yyyymmdd: Parser[LocalDate]
Parser for a
LocalDate
in the form20151107
.