Class/Object

smile.json

JsDateTime

Related Docs: object JsDateTime | package json

Permalink

case class JsDateTime(value: LocalDateTime) extends JsValue with Ordered[JsDateTime] with Product with Serializable

An immutable date-time without a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30. Although LocalTime/JsTime can be represented to nanosecond precision, a JSON serializer may not store the nano-of-second field to save the space. To preserve the high precision of time, JsTimestamp should be employed.

Linear Supertypes
Serializable, Serializable, Product, Equals, Ordered[JsDateTime], Comparable[JsDateTime], JsValue, Dynamic, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsDateTime
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Ordered
  7. Comparable
  8. JsValue
  9. Dynamic
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsDateTime(value: LocalDateTime)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def <(that: JsDateTime): Boolean

    Permalink
    Definition Classes
    Ordered
  4. def <=(that: JsDateTime): Boolean

    Permalink
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def >(that: JsDateTime): Boolean

    Permalink
    Definition Classes
    Ordered
  7. def >=(that: JsDateTime): Boolean

    Permalink
    Definition Classes
    Ordered
  8. def apply(range: Range): JsArray

    Permalink
    Definition Classes
    JsValue
  9. def apply(start: Int, end: Int, step: Int): JsArray

    Permalink
    Definition Classes
    JsValue
  10. def apply(start: Int, end: Int): JsArray

    Permalink
    Definition Classes
    JsValue
  11. def apply(index: Int): JsValue

    Permalink
    Definition Classes
    JsValue
  12. def apply(key: String): JsValue

    Permalink
    Definition Classes
    JsValue
  13. def applyDynamic(key: String): JsValue

    Permalink
    Definition Classes
    JsValue
  14. def asBoolean: Boolean

    Permalink
    Definition Classes
    JsValue
  15. def asDate: LocalDate

    Permalink
    Definition Classes
    JsDateTimeJsValue
  16. def asDateTime: LocalDateTime

    Permalink
    Definition Classes
    JsDateTimeJsValue
  17. def asDecimal: BigDecimal

    Permalink
    Definition Classes
    JsValue
  18. def asDouble: Double

    Permalink

    Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.

    Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.

    Definition Classes
    JsDateTimeJsValue
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. def asInt: Int

    Permalink
    Definition Classes
    JsValue
  21. def asLong: Long

    Permalink

    Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.

    Converts this date-time to the number of seconds from the epoch of 1970-01-01T00:00:00Z.

    Definition Classes
    JsDateTimeJsValue
  22. def asTime: LocalTime

    Permalink
    Definition Classes
    JsDateTimeJsValue
  23. def asTimestamp: Timestamp

    Permalink
    Definition Classes
    JsValue
  24. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def compactPrint: String

    Permalink
    Definition Classes
    JsValue
  26. def compare(that: JsDateTime): Int

    Permalink
    Definition Classes
    JsDateTime → Ordered
  27. def compareTo(that: JsDateTime): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  28. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. def equals(o: Any): Boolean

    Permalink
    Definition Classes
    JsDateTime → Equals → AnyRef → Any
  30. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. def get(key: String): Option[JsValue]

    Permalink
    Definition Classes
    JsValue
  32. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. def prettyPrint: String

    Permalink
    Definition Classes
    JsValue
  38. def remove(index: Int): JsValue

    Permalink
    Definition Classes
    JsValue
  39. def remove(key: String): Option[JsValue]

    Permalink
    Definition Classes
    JsValue
  40. def selectDynamic(key: String): JsValue

    Permalink
    Definition Classes
    JsValue
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def toString(): String

    Permalink

    The output will be one of the following ISO-8601 formats:

    The output will be one of the following ISO-8601 formats:

    • uuuu-MM-dd'T'HH:mm
    • uuuu-MM-dd'T'HH:mm:ss
    • uuuu-MM-dd'T'HH:mm:ss.SSS
    • uuuu-MM-dd'T'HH:mm:ss.SSSSSS
    • uuuu-MM-dd'T'HH:mm:ss.SSSSSSSSS

    The format used will be the shortest that outputs the full value of the time where the omitted parts are implied to be zero.

    Definition Classes
    JsDateTimeJsValue → AnyRef → Any
  43. def update(index: Int, value: JsValue): JsValue

    Permalink
    Definition Classes
    JsValue
  44. def update(key: String, value: JsValue): JsValue

    Permalink
    Definition Classes
    JsValue
  45. def updateDynamic(index: Int)(value: JsValue): JsValue

    Permalink
    Definition Classes
    JsValue
  46. def updateDynamic(key: String)(value: JsValue): JsValue

    Permalink
    Definition Classes
    JsValue
  47. val value: LocalDateTime

    Permalink
  48. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Ordered[JsDateTime]

Inherited from Comparable[JsDateTime]

Inherited from JsValue

Inherited from Dynamic

Inherited from AnyRef

Inherited from Any

Ungrouped