clockblocks.moment

Module containing Moment, which names a point on a clock’s timeline, and the ResolvableMoment protocol implemented by anything that can be pinned to such a point.

Classes

Moment(value[, units, relative])

Represents a point on a clock's timeline.

ResolvableMoment(*args, **kwargs)

Anything that can name a point on a clock's timeline.

Functions

to_absolute_moment(when, clock, *[, ...])

Coerce a when argument into an absolute Moment on clock.