Class

refuel.lang.ScalaTime

LocalDateTimeBs

Related Doc: package ScalaTime

Permalink

implicit class LocalDateTimeBs extends AnyRef

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

Instance Constructors

  1. new LocalDateTimeBs(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. 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

    Convert to epoch second.

  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. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  14. def maxToday: LocalDateTime

    Permalink

    LocalDateTime to this day, 23:59:59.99999999

  15. def maxTohour: LocalDateTime

    Permalink

    LocalDateTime to this hour, HH:59:59.99999999

  16. def minToday: LocalDateTime

    Permalink

    LocalDateTime to this day, 00:00:00.0

  17. def minTohour: LocalDateTime

    Permalink

    LocalDateTime to this hour, HH:00:00.0

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. 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.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. def toZonedDateTime: ZonedDateTime

    Permalink

    Convert to ZonedDateTime with default zone id.

  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