A moment is a vector which describes a point in time. It uses a calendar definition to translate a vector of numbers into a point in time.

new_moment(x = numeric(), calendar = new_calendar())

Arguments

x

The iterable value of the moment (for example, a value of 1 may indicate the first day).

calendar

The calendar structure over which the moment iterates. This can be created using new_calendar().