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