Expand description
Utility functions
Constantsยง
- DAY ๐MilliSeconds in a day
Functionsยง
- days_
since ๐Calculate the number of days since a given midnight timestamp. - Generate a deterministic genesis event corresponding to the DAGโs configuration.
- midnight_
timestamp ๐Calculate the midnight timestamp given a number of days. Ifdays
is 0, calculate the midnight timestamp of today. - Calculate the time in milliseconds until the next_rotation, given as a timestamp.
next_rotation
here represents a timestamp in UNIX epoch format. - Calculate the timestamp of the next DAG rotation.
- replayer_
log ๐