Object

com.twosixlabs.dart.utils

DatesAndTimes

Related Doc: package utils

Permalink

object DatesAndTimes

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

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val ISO_LOCAL_DATE_PATTERN: String

    Permalink
  5. val ISO_OFFSET_DATE_TIME_PATTERN: String

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def endOfDay(month: Integer, day: Integer, year: Integer): OffsetDateTime

    Permalink

    Returns an offset date time for the very end of that calendar day

  9. def epochMillisFromOffsetDateTime(dateTime: OffsetDateTime): Long

    Permalink

    Converts an OffsetDateTime to epoch millis

  10. def epochSecFromLocalDate(date: LocalDate): Long

    Permalink

    Print out the epoch seconds from midnight of the given LocalDate

    Print out the epoch seconds from midnight of the given LocalDate

    NOTE - all times are UTC

  11. def epochSecFromOffsetDateTime(dateTime: OffsetDateTime): Long

    Permalink

    Converts an OffsetDateTime to epoch seconds

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def fromIsoLocalDateStr(dateStr: String): LocalDate

    Permalink

    Convert from an iso local date formatted string to a java.time.LocalDate (https://www.iso.org/iso-8601-date-and-time-format.html)

  16. def fromIsoOffsetDateTimeStr(dateTimeStr: String): OffsetDateTime

    Permalink

    Convert from an ISO Offset Date Time formatted string to an OffsetDateTime object with UTC zone offset

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  20. def localDateFromEpochMilliSec(epochMilliSeconds: Long): LocalDate

    Permalink

    Create an LocalDate from Epoch seconds

    Create an LocalDate from Epoch seconds

    NOTE - all times are UTC

  21. def localDateFromEpochSec(epochSeconds: Long): LocalDate

    Permalink

    Create an LocalDate from Epoch seconds

    Create an LocalDate from Epoch seconds

    NOTE - all times are UTC

  22. def midnightOf(month: Integer, day: Integer, year: Integer): OffsetDateTime

    Permalink

    Returns an offset date time for midnight of a given calendar date

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def offsetDateTimeFromEpochMillis(millis: Long): OffsetDateTime

    Permalink

    Converts epoch millis to an OffsetDateTime at UTC

  27. def offsetDateTimeFromEpochSec(epochSeconds: Long): OffsetDateTime

    Permalink

    Converts epoch seconds to an OffsetDateTime at UTC

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def timeStamp: OffsetDateTime

    Permalink

    Get the current UTC (GMT) date/time in a java.time.OffsetDateTime object

  30. def toIsoLocalDateStr(date: LocalDate): String

    Permalink

    Convert from an ISO Local Date to a ISO Local date formatted string (https://www.iso.org/iso-8601-date-and-time-format.html)

  31. def toIsoOffsetDateTimeStr(dateTime: OffsetDateTime): String

    Permalink

    Convert from an OffsetDateTime to an ISO Offset Date Time formatted string at GMT time

  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped