class DemoClock : Clock
A Clock that can have the date advanced for use in demos
<init> |
DemoClock(delegateClock: Clock = Clock.systemUTC()) A Clock that can have the date advanced for use in demos |
getZone |
fun getZone(): ZoneId |
instant |
fun instant(): Instant |
updateDate |
fun updateDate(date: LocalDate): Boolean |
withZone |
fun withZone(zone: ZoneId): Clock |