object SimpleDateTime extends Serializable
Some utility functions for DateTimes
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SimpleDateTime
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- val Epoch: SimpleDateTime
- val ZeroTime: TimeOfDay
- def apply(year: Int, month: Int, day: Int, timeOfDay: TimeOfDay, zoneOffset: Int): SimpleDateTime
Build from day and time parts and zone offset in minutes
- def apply(year: Int, month: Int, day: Int, timeOfDay: TimeOfDay): SimpleDateTime
Build from day and time but not time zone
- def apply(year: Int, month: Int, day: Int): SimpleDateTime
Build from day parts
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def parse(str: String): Either[ParseError, SimpleDateTime]
Try to convert an String to a Zoned Date Time return None if the String does not match (The syntax is compatible with the Yaml 1.2 timestamp)
- def parseDate(str: String): Either[ParseError, SimpleDateTime]
Try to convert an String to a Date
- def parseFullTime(str: String): Either[ParseError, (TimeOfDay, Option[Int])]
Try to convert an String to a FullTime
- def parsePartialTime(str: String): Either[ParseError, TimeOfDay]
Try to convert an String to a partial Time
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unapply(arg: String): Option[SimpleDateTime]
Unapply Extractor
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)