Class

refuel.lang.ScalaTime

ZonedDateTimeBs

Related Doc: package ScalaTime

Permalink

implicit class ZonedDateTimeBs extends AnyRef

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

Instance Constructors

  1. new ZonedDateTimeBs(value: ZonedDateTime)

    Permalink

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def epoch: Long

    Permalink

    ZonedDateTime to unixtime

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def format(): String

    Permalink

    ZonedDateTime convert to string with default date formatter.

  11. def formatTo(format: String = TZ.DEFAULT_FORMAT): String

    Permalink

    ZonedDateTime convert to string.

    ZonedDateTime convert to string.

    format

    customized format: default "yyyy/MM/dd HH:mm:ss"

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

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

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

    Permalink
    Definition Classes
    Any
  15. def maxToday: ZonedDateTime

    Permalink

    ZonedDateTime to this day, 23:59:59.99999999

  16. def maxTohour: ZonedDateTime

    Permalink

    ZonedDateTime to this hour, HH:59:59.99999999

  17. def minToday: ZonedDateTime

    Permalink

    ZonedDateTime to this day, 00:00:00.0

  18. def minTohour: ZonedDateTime

    Permalink

    ZonedDateTime to this hour, HH:00:00.0

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def periodWith[T <: FromTo](anotherTimeApplyment: (ZonedDateTime) ⇒ ZonedDateTime)(contruct: (EpochDateTime, EpochDateTime) ⇒ T): T

    Permalink

    Create period object based on this date.

    Create period object based on this date.

    import refuel.lang.ScalaTime._
    
    "2019-08-05 10:00:00".datetime.periodWith(_.plusDays(6).maxToday)(DeliveryPeriod)
    == DeliveryPeriod("2019-08-05 10:00:00".datetime.epoch, "2019-08-11 23:59:59".datetime.epoch)
    
    "2019-08-05 10:00:00".datetime.periodWith(_.minusDays(6).minToday)(DeliveryPeriod)
    == DeliveryPeriod("2019-07-31 00:00:00".datetime.epoch, "2019-08-05 10:00:00".datetime.epoch)
    T

    Period type.

    anotherTimeApplyment

    How long to create a period from this date.

    contruct

    FromTo subtype constructor.

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped