Packages

object DateTimeSupport

Utility class for handling date and time

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DateTimeSupport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asTimelineDate(date: String): LocalDateTime

    Parses the datetime text using the default formats timelineFormat and timelineFormatLive.

  6. val ascendingOrder: Ordering[LocalDateTime]

    An ascending ordering of

    An ascending ordering of

    LocalDateTime

    .

  7. implicit def byOption[T](seq: Seq[T]): ByOptionSequence[T]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. val descendingOrder: Ordering[LocalDateTime]

    An descending ordering of

    An descending ordering of

    LocalDateTime

    .

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def format(date: LocalDateTime, formatter: DateTimeFormatter): String

    Formats a given datetime using a specific formatter.

    Formats a given datetime using a specific formatter.

    date

    The given datetime.

    formatter

    The datetime formatter to use.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def getLocalDateTime(millis: Long): LocalDateTime

    Converts a count of milliseconds since epoch into a

    Converts a count of milliseconds since epoch into a

    LocalDateTime

    .

  15. def getLocalDateTime(date: Date): LocalDateTime

    Converts a

    Converts a

    Date

    into a

    LocalDateTime

    .

    date

    The given date to convert.

  16. def getMillisSinceEpoch(date: LocalDateTime): Long

    Gets the count of milliseconds since epoch from a given datetime.

    Gets the count of milliseconds since epoch from a given datetime.

    date

    The given datetime.

  17. def getTimestamp(date: LocalDateTime): Timestamp

    Converts a

    Converts a

    LocalDateTime

    into a

    Timestamp

    .

    date

    The given date to convert.

  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. def inTimelineFormat(date: LocalDateTime): String

    Formats the datetime using the default formats timelineFormat and timelineFormatLive.

  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isLive(date: LocalDateTime): Boolean

    Is true if the given datetime has a time part and is not

    Is true if the given datetime has a time part and is not

    LocalDateTime.MIN

    or

    LocalDateTime.MAX
    date

    The given datetime.

  22. def matches(date: LocalDateTime, cronExpr: String): Boolean
  23. val maxDate: LocalDateTime

    A value that may be used as maximum value for

    A value that may be used as maximum value for

    LocalDateTime

    . It is used because

    LocalDateTime.MAX

    will trigger errors in some parsing/formatting situations.

  24. val minDate: LocalDateTime

    A value that may be used as minimum value for

    A value that may be used as minimum value for

    LocalDateTime

    . It is used because

    LocalDateTime.MIN

    will trigger errors in some parsing/formatting situations.

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  28. val optionsFormat: DateTimeFormatter

    The format for dates used in configuration options (yyyy.MM.dd).

  29. def parseLocalDate(date: String, formatter: DateTimeFormatter): LocalDateTime

    Parses a given date string into a datetime using a specific format.

    Parses a given date string into a datetime using a specific format.

    date

    The given date string.

    formatter

    The formatter to use.

  30. def parseLocalDate(date: String, formatString: String): LocalDateTime

    Parses a given date string into a datetime using a specific format.

    Parses a given date string into a datetime using a specific format.

    date

    The given date string.

    formatString

    The format string to use.

  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. val timelineFormat: DateTimeFormatter

    The default format for datetimes with no time part (yyyy-MM-dd).

  33. val timelineFormatLive: DateTimeFormatter

    The default format for datetimes with time part (yyyy-MM-dd HH:mm:ss).

  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped