trait Time extends AnyRef
- Alphabetic
- By Inheritance
- Time
- 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 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])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def time(format: String): Validation[String]
Format is almost the same as the one used by the java.time.format.DateTimeFormatter class.
Format is almost the same as the one used by the java.time.format.DateTimeFormatter class.
a AM/PM always 2 letters h 1-12 hour 1 or 2 digits hh 01-12 hour always 2 digits H 0-23 hour 1 or 2 digits HH 00-23 hour always 2 digits m 0-59 minute 1 or 2 digits mm 00-59 minute always 2 digits s 0-59 second 1 or 2 digits ss 00-59 second always 2 digits
S 0-9 fraction of seconds 1 digits .. SSSSSSSSS 000000000-999999999 maximum number of digits is 9
All other letters are reserved.
Examples: HH:mm 01:10 HH:mm:ss 11:10:30 HH:mm:ss.SSSSSSSSS 21:10:30.123456789 HH:mm a 01:10 AM h:mm:ss 1:10:30
- 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()