Module Daml.Finance.Data.Time.DateClock¶
Templates¶
template DateClock
A
DateClock
is a template used to keep track of the current date. It implements theTime
rule interface to be able to advance and rewind business time. It also implements theTimeObservable
interface. Specifically, each dateD
is mapped toD 00:00:00 UTC
. If your use-case involves working across multiple time zones, you may need to define multipleDateClock
templates with specific time conversions.
Field Type Description providers Parties The clock’s providers. date Unit The clock’s date. id Id The clock’s identifier. description Text The clock’s description. observers Parties Observers.