Packages

object EnrichedDT

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

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. def apply(epoch: Long)(implicit dateFormat: DateFormat, timeZone: ZoneId): EnrichedDT

    Auxiliary constructor from epoch seconds with implicit date format and time zone.

  5. def apply(ts: Timestamp)(implicit dateFormat: DateFormat, timeZone: ZoneId): EnrichedDT

    Auxiliary constructor from timestamp with implicit date format and time zone.

  6. def apply(instant: Instant)(implicit dateFormat: DateFormat, timeZone: ZoneId): EnrichedDT

    Auxiliary constructor from instant with implicit date format and time zone.

  7. def apply(dateString: Option[String])(implicit dateFormat: DateFormat, timeZone: ZoneId): EnrichedDT

    Auxiliary constructor from date string with implicit date format and time zone.

  8. def apply(dateFormat: DateFormat, timeZone: ZoneId, epoch: Long): EnrichedDT

    Builds EnrichedDT instance from Unix epoch (in seconds)

    Builds EnrichedDT instance from Unix epoch (in seconds)

    dateFormat

    Date format

    timeZone

    Time zone

    epoch

    Unix epoch

    returns

    EnrichedDT instance

  9. def apply(dateFormat: DateFormat, timeZone: ZoneId, ts: Timestamp): EnrichedDT

    Builds EnrichedDT instance from UTC timestamp.

    Builds EnrichedDT instance from UTC timestamp.

    dateFormat

    Date format

    timeZone

    Time zone

    ts

    UTC timestamp

    returns

    EnrichedDT instance

  10. def apply(dateFormat: DateFormat, timeZone: ZoneId, instant: Instant): EnrichedDT

    Builds EnrichedDT instance from instant.

    Builds EnrichedDT instance from instant.

    dateFormat

    Date format

    timeZone

    Time zone

    instant

    Instant object

    returns

    EnrichedDT instance.

  11. def apply(dateFormat: DateFormat, timeZone: ZoneId, dateString: Option[String] = None): EnrichedDT

    Builds EnrichedDT instance from optional date string: parses date string into ZonedDateTime.

    Builds EnrichedDT instance from optional date string: parses date string into ZonedDateTime.

    The problem with date string parsing is that if format contains only date part then it is only possible to retrieve LocalDate. An attempt retrieve LocalDateTime for such format will throw an exception. The same is true when format contains only time part. In this case it is only possible to retrieve LocalTime. Thus, parsing of date string has chained all these attempts with following priority:

    • try to get LocalDateTime
    • try to get LocalDate
    • try to get LocalTime First one to succeed will be returned. If none of these attempts succeeds then exception will be thrown.

    If no date string provided then builds EnrichedDT instance with datetime set to current datetime.

  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped