ZonedDateTime to unixtime
ZonedDateTime convert to string with default date formatter.
ZonedDateTime convert to string.
ZonedDateTime convert to string.
customized format: default "yyyy/MM/dd HH:mm:ss"
ZonedDateTime to this day, 23:59:59.99999999
ZonedDateTime to this hour, HH:59:59.99999999
ZonedDateTime to this day, 00:00:00.0
ZonedDateTime to this hour, HH:00:00.0
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)
Period type.
How long to create a period from this date.
FromTo subtype constructor.